remove unneeded code
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 May 2020 10:15:17 +0000 (11:15 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 May 2020 10:15:17 +0000 (11:15 +0100)
src/soc/fu/shift_rot/test/test_pipe_caller.py

index 713ebd6181931e5e6ff7ab3c5dfcaf734610c5c5..bddda2194532d2cbc20a71927d3172717a139dd0 100644 (file)
@@ -24,13 +24,6 @@ class TestCase:
         self.sprs = sprs
         self.name = name
 
-def get_rec_width(rec):
-    recwidth = 0
-    # Setup random inputs for dut.op
-    for p in rec.ports():
-        width = p.width
-        recwidth += width
-    return recwidth
 
 def set_alu_inputs(alu, dec2, sim):
     inputs = []
@@ -260,6 +253,7 @@ class TestRunner(FHDLTestCase):
         with sim.write_vcd("simulator.vcd", "simulator.gtkw",
                             traces=[]):
             sim.run()
+
     def check_extra_alu_outputs(self, alu, dec2, sim):
         rc = yield dec2.e.rc.data
         if rc: