rename testbench to tbench, avoid nose3 issue
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 May 2019 13:17:56 +0000 (14:17 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 May 2019 13:17:56 +0000 (14:17 +0100)
src/nmutil/test/test_prioritymux_pipe.py

index ca7181d0df4d99567873998d09dc444cb57f740c..dac0f141bf64f721832a614a9d9b8c5727098e29 100644 (file)
@@ -21,7 +21,7 @@ class PassData:
         return [self.mid, self.idx, self.data]
 
 
-def testbench(dut):
+def tbench(dut):
     stb = yield dut.out_op.stb
     assert stb == 0
     ack = yield dut.out_op.ack
@@ -208,7 +208,7 @@ if __name__ == '__main__':
     vl = rtlil.convert(dut, ports=dut.ports())
     with open("test_inputgroup_multi.il", "w") as f:
         f.write(vl)
-    #run_simulation(dut, testbench(dut), vcd_name="test_inputgroup.vcd")
+    #run_simulation(dut, tbench(dut), vcd_name="test_inputgroup.vcd")
 
     test = InputTest(dut)
     run_simulation(dut, [test.send(1), test.send(0),