covert ALU FU to CommonInputStage
[soc.git] / src / soc / fu / alu / formal / proof_main_stage.py
index 6e6b1c8540f3a8c7a0d141eaae0342f1de4d0936..0534de4cc379ac4b14edb500010b3e6a1a097cab 100644 (file)
@@ -26,14 +26,12 @@ class Driver(Elaboratable):
         comb = m.d.comb
 
         rec = CompALUOpSubset()
-        recwidth = 0
         # Setup random inputs for dut.op
         for p in rec.ports():
             width = p.width
-            recwidth += width
             comb += p.eq(AnyConst(width))
 
-        pspec = ALUPipeSpec(id_wid=2, op_wid=recwidth)
+        pspec = ALUPipeSpec(id_wid=2)
         m.submodules.dut = dut = ALUMainStage(pspec)
 
         # convenience variables