"operator". instance must have an "eq"
function.
"""
- self.id_wid = pspec.id_width
- self.op_wid = pspec.get('op_wid', 0)
+ self.id_wid = pspec.id_wid
+ self.op_wid = pspec.op_wid
self.muxid = Signal(self.id_wid, reset_less=True) # RS multiplex ID
- opkls = pspec.get('opkls', None)
+ opkls = pspec.opkls
if opkls is None:
self.op = Signal(self.op_wid, reset_less=True)
else:
""" Pipeline Specification base class.
:attribute width: FIXME: document
- :attribute id_width: FIXME: document
- :attribute opcode_width: FIXME: document
+ :attribute id_wid: FIXME: document
+ :attribute op_wid: FIXME: document
"""
def __init__(self, width, id_width, opcode_width):
""" Create a PipelineSpec. """
self.width = width
- self.id_width = id_width
- self.opcode_width = opcode_width
+ self.id_wid = id_width
+ self.op_wid = opcode_width
+ self.opkls = None