[Libre-soc-bugs] [Bug 855] add libre-soc to kestrel

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Jul 5 14:21:12 BST 2022


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

--- Comment #23 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
oh ha ha very funny, the output from the multiply had been
truncated to 64-bit.

i'll need to re-run some of the other unit tests before pushing
because Div uses the same data structure


--- a/src/soc/fu/mul/pipe_data.py
+++ b/src/soc/fu/mul/pipe_data.py
@@ -25,7 +25,7 @@ class MulOutputData(FUBaseData):

     @property
     def regspec(self):
-        return [('INT', 'o', "0:%d" % (self.pspec.XLEN)),
+        return [('INT', 'o', "0:%d" % (self.pspec.XLEN*2)), # 2xXLEN
                ('XER', 'xer_so', '32')] # XER bit 32: SO

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


More information about the libre-soc-bugs mailing list