)]}'
{
  "commit": "ac7ee0d723b8ea99d7e5c3a6db067a42482f0e5e",
  "tree": "94b463faa5c06d63ec9f51eed82f4f01690e342a",
  "parents": [
    "f6039ed1913a710b07940c4d0b7e43acd8ae63f8"
  ],
  "author": {
    "name": "Rupert Swarbrick",
    "email": "rswarbrick@lowrisc.org",
    "time": "Mon Jan 04 12:52:48 2021 +0000"
  },
  "committer": {
    "name": "Rupert Swarbrick",
    "email": "rswarbrick@gmail.com",
    "time": "Tue Jan 05 19:21:27 2021 +0000"
  },
  "message": "[otbn] Fix instructions that both read and write x1\n\nThe code was writing to the wrong address (one too high). This patch\nfixes things by defining stack_wr_idx to be the address to which we\nshould write. It\u0027s normally equal to stack_wr_ptr_q (one above the top\nof the stack), but gets decremented by one if we\u0027re popping too.\n\nThe patch also renames stack_rd_ptr to stack_rd_idx so that things of\nlength StackDepthW are called \"idx\" and things of length StackDepthW+1\nare called \"ptr\": hopefully this will make things a bit easier to\nunderstand.\n\nSigned-off-by: Rupert Swarbrick \u003crswarbrick@lowrisc.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "255fd0cb8efde942bfc785be64f01ed8cc53599c",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/rtl/otbn_stack.sv",
      "new_id": "0fd55fe02ad7deb389167c7cfaf93277fdeac1e2",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/rtl/otbn_stack.sv"
    }
  ]
}
