)]}'
{
  "commit": "3e19bde3c8f623da5f2ee7a96203419eac4a400a",
  "tree": "2a961748bc614b864091b62d8dfcf123c710e8b0",
  "parents": [
    "bef0c8c3168a67265ee7ab1a9f36b7105fe4134b"
  ],
  "author": {
    "name": "Philipp Wagner",
    "email": "phw@lowrisc.org",
    "time": "Thu Jul 22 19:05:01 2021 +0100"
  },
  "committer": {
    "name": "Philipp Wagner",
    "email": "mail@philipp-wagner.com",
    "time": "Fri Aug 27 11:44:27 2021 +0200"
  },
  "message": "[otbn] Operational states and commands\n\nSpecify the operational states OTBN can be in.\n\n- Consolidate all user (host-software) initiated actions into the CMD\n  register. To keep things simple, I resorted to allowing only a single\n  command being executed at any time, and in consequence encoding the\n  command as number, not as bitfield. This also means that performing a\n  secure wipe of IMEM and DMEM now requires two host-initiated actions.\n  (Nobody ever asked explicitly for them being a single operation.)\n\n  The CMD register is 8 bit wide to make multi-bit encodings and\n  extensions of the commands easier going forward.\n\n- Expand the STATUS register to show what\u0027s currently going on within\n  OTBN: mirror all CMDs in the status register.\n\n  The STATUS register is 8 bit wide to make it easier to extend going\n  forward. We already plan to have a LOCKED status.\n\nUpdate all users of the registers:\n\n- Update all software to make use of the new CMD and STATUS registers.\n\n- Update otbnsim to make use of the new registers. Refactor the err_bits\n  module to hold other constants as well.\n\n- Update DV to make use of the new registers.\n\nFixes #7434\n\nSigned-off-by: Philipp Wagner \u003cphw@lowrisc.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "234ce5267f504b09d1c9eb77164ed30fe37b6d50",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/data/otbn.hjson",
      "new_id": "0a02f45fb0ecffe3af9d4ad954f5104484b04ac3",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/data/otbn.hjson"
    },
    {
      "type": "modify",
      "old_id": "82c1641bd57a3b471d964a212175c066f75a6c9c",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/doc/_index.md",
      "new_id": "f9aa1e22816e8458ef598cbccb5f224b729afb48",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/doc/_index.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8b576f66151ab11b159096653516a0e11490e79",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/constants.py"
    },
    {
      "type": "modify",
      "old_id": "a2ba015a080e710870331cfd9b5b572c39cf4c55",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/decode.py",
      "new_id": "124ecd2a7a12e95583acdbb0ea39f220ead5cc82",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/decode.py"
    },
    {
      "type": "delete",
      "old_id": "6772f9d9b20e23cbd8628ccaa46e56843eadf8d2",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/err_bits.py",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "e2058c2effb40a3c3a94e7e2b30ef39c9cf981ab",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/gpr.py",
      "new_id": "2e359bc3da4342a9f51c375aabc9d53d9863246a",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/gpr.py"
    },
    {
      "type": "modify",
      "old_id": "91c30c65fe0b1422c6e78c1615129f6496c932c6",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/insn.py",
      "new_id": "63c9ae2f0604f0247a2f9788a05687ddddc93b8e",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/insn.py"
    },
    {
      "type": "modify",
      "old_id": "217bf8242e29e3a3f9c6dfc6c1742966215cfdf0",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/loop.py",
      "new_id": "b584a7f0a7b5f8df4dd6dabceed6f20bf674db79",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/loop.py"
    },
    {
      "type": "modify",
      "old_id": "43586ecf445ca248c968041793253b18981228a9",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/sim/state.py",
      "new_id": "33d77886e61e903fa64b6f560b76ebd88f5ef6d6",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/sim/state.py"
    },
    {
      "type": "modify",
      "old_id": "6186f782af35d6d087d1e8309466733a46f6b6e9",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/otbnsim/test/state_test.py",
      "new_id": "890897118c1094b8e5b8b0c2ac64b3b8581dc719",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/otbnsim/test/state_test.py"
    },
    {
      "type": "modify",
      "old_id": "f72299d9919ee9b19d82c4ae75924fd9026e5d51",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/uvm/env/otbn_scoreboard.sv",
      "new_id": "dea33659b38f41ae3255791daee2285eb47ea9e0",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/uvm/env/otbn_scoreboard.sv"
    },
    {
      "type": "modify",
      "old_id": "aab914b6e061d632a67a29ffcff2171caeb8e5b3",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/uvm/env/seq_lib/otbn_base_vseq.sv",
      "new_id": "24d7dd8ad8dc45957e1eb8989ef66e2245c97dae",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/uvm/env/seq_lib/otbn_base_vseq.sv"
    },
    {
      "type": "modify",
      "old_id": "b7cceaf848078d52c7b499644e8e042468cd7895",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/rtl/otbn.sv",
      "new_id": "6c8a58c4fec82b39a7f95936590da2168da924af",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/rtl/otbn.sv"
    },
    {
      "type": "modify",
      "old_id": "6707749be7e7646e609094c19582adb4283f5540",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/rtl/otbn_pkg.sv",
      "new_id": "c17fc85c16ae4f8a444fb0d3fee401b7afa3d233",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/rtl/otbn_pkg.sv"
    },
    {
      "type": "modify",
      "old_id": "cca1fc149125736af6c2f228b83888b83aa0afd1",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/rtl/otbn_reg_pkg.sv",
      "new_id": "de8fab8117d6b3faab04405d59626309574a9167",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/rtl/otbn_reg_pkg.sv"
    },
    {
      "type": "modify",
      "old_id": "3e0010e2c8c3dc183880d2d8b6025bfad8b77ed2",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/rtl/otbn_reg_top.sv",
      "new_id": "c6cd125638beb8818e96eda515d0307d20c6dd3e",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/rtl/otbn_reg_top.sv"
    },
    {
      "type": "modify",
      "old_id": "bef2a7604b09e96cd29636c4bdbadc211c4e5eca",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_otbn.c",
      "new_id": "44d0e21239499f6494114f6a3224aa31bc2aed37",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_otbn.c"
    },
    {
      "type": "modify",
      "old_id": "ff6dc54fc9a680ac80fc2aa952108d0680757310",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_otbn.h",
      "new_id": "5868e8d961bed13ee49c03ee64e744e3d05b3843",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_otbn.h"
    },
    {
      "type": "modify",
      "old_id": "f059c1a6883d7b94ab0ccad3c91654e1e3f9295e",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_otbn_unittest.cc",
      "new_id": "ec54df1d4addd6085b4c03809e3c7d53ccfac8b7",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_otbn_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "2e721c467c9bd9ae6bd594d0ccc810ca1bd4c196",
      "old_mode": 33188,
      "old_path": "sw/device/lib/runtime/otbn.c",
      "new_id": "8fa424684ef749e3346e585b8323166b62d7f7e8",
      "new_mode": 33188,
      "new_path": "sw/device/lib/runtime/otbn.c"
    },
    {
      "type": "modify",
      "old_id": "0082681c6f9d0e88145ab3ead98364ca129a5f4f",
      "old_mode": 33188,
      "old_path": "sw/device/lib/runtime/otbn.h",
      "new_id": "0017ca33ad7c1308b144d6e9edfdb61da2387cfb",
      "new_mode": 33188,
      "new_path": "sw/device/lib/runtime/otbn.h"
    },
    {
      "type": "modify",
      "old_id": "be2babe1f0ba6ed6fdff6c8d3b38877e7eabc31d",
      "old_mode": 33188,
      "old_path": "sw/device/silicon_creator/lib/drivers/otbn.c",
      "new_id": "d1c21a2a092820406c9a2f751fd1330b0acb22ac",
      "new_mode": 33188,
      "new_path": "sw/device/silicon_creator/lib/drivers/otbn.c"
    },
    {
      "type": "modify",
      "old_id": "9f3c8db746cfd8d42619f2188d2b97bab110ff42",
      "old_mode": 33188,
      "old_path": "sw/device/silicon_creator/lib/drivers/otbn.h",
      "new_id": "0d24d494eaf9dede3d00a640c531b6952fbda116",
      "new_mode": 33188,
      "new_path": "sw/device/silicon_creator/lib/drivers/otbn.h"
    },
    {
      "type": "modify",
      "old_id": "1089bf14879b8763917448fb34305c50e743e901",
      "old_mode": 33188,
      "old_path": "sw/device/silicon_creator/lib/drivers/otbn_unittest.cc",
      "new_id": "50da2c1d7e85c07616ead652da4c9d431740a47d",
      "new_mode": 33188,
      "new_path": "sw/device/silicon_creator/lib/drivers/otbn_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "f02cc5243649579b5d3e71ace0d9e4b34398e5c1",
      "old_mode": 33188,
      "old_path": "sw/device/tests/dif/dif_otbn_smoketest.c",
      "new_id": "112e6b4396b37b417089c20f90bb336856da11aa",
      "new_mode": 33188,
      "new_path": "sw/device/tests/dif/dif_otbn_smoketest.c"
    }
  ]
}
