[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Aug 31 00:53:59 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=671

--- Comment #51 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
-    EA <- b + EXTS(D)
-    RT <- [0]*56 || MEM(EA, 1)
+    EA <- b + EXTSREG(D)
+    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)

nope, sorry dmitry, i said we musn't add new
helper functions, unless there is an absolute
critical need that there is absolutely no other
way.

in this case EXTS already does the job due to
already having been designed to do "dynamic"
bitlength (setting bits to 256).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list