From 3ae030c42275fef87dcfaf8dee942d9363ea681f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 3 Aug 2019 02:10:04 +0100 Subject: [PATCH] generate mask il --- src/nmutil/test/test_buf_pipe.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nmutil/test/test_buf_pipe.py b/src/nmutil/test/test_buf_pipe.py index 450852be..dcd2b458 100644 --- a/src/nmutil/test/test_buf_pipe.py +++ b/src/nmutil/test/test_buf_pipe.py @@ -1166,10 +1166,10 @@ def test0(): dut = MaskCancellablePipe() ports = [dut.p.valid_i, dut.n.ready_i, dut.n.valid_o, dut.p.ready_o] + \ - [dut.p.data_i] + [dut.n.data_o] - #vl = rtlil.convert(dut, ports=ports) - #with open("test_bufpipe14.il", "w") as f: - # f.write(vl) + dut.p.data_i.ports() + dut.n.data_o.ports() + vl = rtlil.convert(dut, ports=ports) + with open("test_maskchain0.il", "w") as f: + f.write(vl) data = data_chain0() test = TestMask(dut, resultfn_0, 16, data=data) run_simulation(dut, [test.send, test.rcv], -- 2.30.2