(no commit message)
authorlkcl <lkcl@web>
Tue, 6 Jun 2023 20:30:43 +0000 (21:30 +0100)
committerIkiWiki <ikiwiki.info>
Tue, 6 Jun 2023 20:30:43 +0000 (21:30 +0100)
openpower/sv/po9_encoding/discussion.mdwn

index 681be3442f5be5f8f04dffa12cbb951e20bcdc7a..d9563c17fda2943b401b99f039eb67b92483ea46 100644 (file)
@@ -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
 ```