Skip to content

Commit

Permalink
[otbn] Make WSR numbers match the implementation
Browse files Browse the repository at this point in the history
In 19afa99 we swapped the ACC and URND
WSRs, but ultimately the documentation wasn't updated to reflect that.
(I'm sure I had those changes at some point, seems like they got lost
during a rebase.)

Signed-off-by: Philipp Wagner <[email protected]>
  • Loading branch information
imphil committed Jul 20, 2021
1 parent cc906c0 commit 0f1a9f2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions hw/ip/otbn/doc/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,6 @@ Reads when the cache is empty will cause OTBN to be stalled until a new random n
</tr>
<tr>
<td>0x2</td>
<td>RW</td>
<td>ACC</td>
<td>
The accumulator register used by the {{< otbnInsnRef "BN.MULQACC" >}} instruction.
</td>
</tr>
<tr>
<td>0x3</td>
<td>URND</td>
<td>R</td>
<td>
Expand All @@ -374,6 +366,14 @@ The number is sourced from an LFSR.
Reads never stall.
</td>
</tr>
<tr>
<td>0x3</td>
<td>RW</td>
<td>ACC</td>
<td>
The accumulator register used by the {{< otbnInsnRef "BN.MULQACC" >}} instruction.
</td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit 0f1a9f2

Please sign in to comment.