From: lkcl Date: Mon, 11 Jul 2022 10:53:06 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1220 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbfd99668dea0bd85c9740c237c637022be18324;p=libreriscv.git --- diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 0b6f1af11..09b5e334c 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -352,17 +352,20 @@ Rough algorithmic form: When `mm=1`: -* bits 0-2 of `rmm` indicate an index selecting mi0-mo1 -* bits 3-4 of `rmm` indicate which SVSHAPE 0-3 shall be updated +* bits 0-2 (MSB0 numbering) of `rmm` indicate an index selecting mi0-mo1 +* bits 3-4 (MSB0 numbering) of `rmm` indicate which SVSHAPE 0-3 shall + be updated * only the selected SVSHAPE is overwritten * only the relevant bits in the REMAP area of SVSTATE are updated * REMAP persistence bit is set. -Example 1: if `rmm`=0b10011 then mo0 is selected and SVSHAPE2 +Example 1: if `rmm`=0b01110 then bits 0-2 (MSB0) are 0b011 and +bits 3-4 are 0b10. thus, mo0 is selected and SVSHAPE2 to be updated. REMAP.SVme[3] will be set high and REMAP.mo0 set to 2 (SVSHAPE2). -Example 2: if `rmm`=0b11100 then mo1 is selected and SVSHAPE3 +Example 2: if `rmm`=0b10011 then bits 0-2 (MSB0) are 0b100 and +bits 3-4 are 0b11. thus, mo1 is selected and SVSHAPE3 to be updated. REMAP.SVme[4] will be set high and REMAP.mo1 set to 3 (SVSHAPE3).