pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
alu = ALUBasePipe(pspec)
- vl = rtlil.convert(alu, ports=[])
+ vl = rtlil.convert(alu, ports=alu.ports())
with open("pipeline.il", "w") as f:
f.write(vl)
pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
alu = BranchBasePipe(pspec)
- vl = rtlil.convert(alu, ports=[])
+ vl = rtlil.convert(alu, ports=alu.ports())
with open("logical_pipeline.il", "w") as f:
f.write(vl)
pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
alu = CRBasePipe(pspec)
- vl = rtlil.convert(alu, ports=[])
+ ports = alu.ports()
+ vl = rtlil.convert(alu, ports=alu.ports())
with open("logical_pipeline.il", "w") as f:
f.write(vl)
pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
alu = LogicalBasePipe(pspec)
- vl = rtlil.convert(alu, ports=[])
+ vl = rtlil.convert(alu, ports=alu.ports())
with open("logical_pipeline.il", "w") as f:
f.write(vl)
pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
alu = ShiftRotBasePipe(pspec)
- vl = rtlil.convert(alu, ports=[])
+ vl = rtlil.convert(alu, ports=alu.ports())
with open("pipeline.il", "w") as f:
f.write(vl)