From: Luke Kenneth Casson Leighton Date: Sat, 25 Jun 2022 20:08:06 +0000 (+0100) Subject: whoops wrong example value X-Git-Tag: opf_rfc_ls005_v1~1520 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc8084be2742ef2d0e0b9df76cd4a42e28ca4bc9;p=libreriscv.git whoops wrong example value --- diff --git a/openpower/sv/sof.py b/openpower/sv/sof.py index 66f4b86af..6ad0fb5d5 100644 --- a/openpower/sv/sof.py +++ b/openpower/sv/sof.py @@ -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))