whoops wrong example value
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Jun 2022 20:08:06 +0000 (21:08 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Jun 2022 20:08:06 +0000 (21:08 +0100)
openpower/sv/sof.py

index 66f4b86afbe3a8ae4c94a947389a2cc9c5b222fb..6ad0fb5d594e5455c5fb16bb7934b061d3c5afe2 100644 (file)
@@ -20,7 +20,7 @@ def sof(RA, mask=None, zero=False):
 
 if __name__ == '__main__':
      m  = 0b11000011
-     v3 = 0b10010100 # vmsof.m v2, v3
+     v3 = 0b11010100 # vmsof.m v2, v3
      v2 = 0b01000000 # v2
      RT = sof(v3, m, True)
      print(bin(v3), bin(v2), bin(RT))