Skip to content

Commit

Permalink
add formulat for logical to physical entry translation
Browse files Browse the repository at this point in the history
  • Loading branch information
bcstrongx committed Jun 14, 2024
1 parent 837d7e1 commit 9dbb5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ and software should ignore but preserve any fields that it does not recognize.
[NOTE]
[%unbreakable]
====
_Logical entry 0, accessed via `sireg*` when `siselect`=0x200, is always the physical entry preceding the WRPTR entry ((WRPTR-1) % depth), where depth = 2^(DEPTH+4)^._
_Logical entry 0, accessed via `sireg*` when `siselect`=0x200, is always the physical buffer entry preceding the WRPTR entry. More generally, the physical buffer entry Y associated with logical entry X can be determined using the formula Y = (WRPTR - X - 1) % depth, where depth = 2^(DEPTH+4)^._
====
[NOTE]
[%unbreakable]
Expand Down

0 comments on commit 9dbb5b7

Please sign in to comment.