[Libre-soc-bugs] [Bug 636] exceptions, predication and zeroing masks need to be added to Function Unit context

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 5 13:39:19 BST 2021


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

--- Comment #10 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
decided it needed to go onto CompOpSubsetBase after all

--- a/src/soc/fu/base_input_record.py
+++ b/src/soc/fu/base_input_record.py
@@ -1,6 +1,9 @@
 from nmigen.hdl.rec import Record, Layout
 from nmigen import Signal

+# needed for SVP64 information at the pipeline
+from openpower.decoder.power_svp64_rm import sv_input_record_layout
+

 class CompOpSubsetBase(Record):
     """CompOpSubsetBase
@@ -15,6 +18,7 @@ class CompOpSubsetBase(Record):
             assert name.endswith("OpSubset")
             name = name[4:-8].lower() + "_op"

+        layout = list(layout) + sv_input_record_layout
         Record.__init__(self, Layout(layout), name=name)

         # grrr.  Record does not have kwargs

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


More information about the libre-soc-bugs mailing list