From: lkcl Date: Tue, 6 Jun 2023 20:30:43 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c83c94d2c0325e5b9321f135687516d75e85c98;p=libreriscv.git --- diff --git a/openpower/sv/po9_encoding/discussion.mdwn b/openpower/sv/po9_encoding/discussion.mdwn index 681be3442..d9563c17f 100644 --- a/openpower/sv/po9_encoding/discussion.mdwn +++ b/openpower/sv/po9_encoding/discussion.mdwn @@ -17,10 +17,10 @@ Length detection: ``` if PO1 return 64 - elif not PO9 return 32 - elif Word[31] = 1 return 64 - elif Word[29:31] = 0b100 return 32 - elif Word[29:31] = 0b000 return 64 - else return 32 + elif not PO9 return 32 + elif Word[31] = 1 return 64 + elif Word[29:30] = 0b10 return 32 + elif Word[29:30] = 0b00 return 64 + else return 32 ```