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
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
def eq_from_execute1(self, other):
""" use this to copy in from Decode2Execute1Type
"""
- return self.eq_from(other.do)
+ return self.eq_from(other)
def ports(self):
res = []