From: Luke Kenneth Casson Leighton Date: Thu, 2 May 2019 13:17:56 +0000 (+0100) Subject: rename testbench to tbench, avoid nose3 issue X-Git-Tag: ls180-24jan2020~1078 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc4e2f8f164f336f43e9a9235aefb12c271a4006;p=ieee754fpu.git rename testbench to tbench, avoid nose3 issue --- diff --git a/src/nmutil/test/test_prioritymux_pipe.py b/src/nmutil/test/test_prioritymux_pipe.py index ca7181d0..dac0f141 100644 --- a/src/nmutil/test/test_prioritymux_pipe.py +++ b/src/nmutil/test/test_prioritymux_pipe.py @@ -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),