From: Luke Kenneth Casson Leighton Date: Sat, 3 Aug 2019 01:10:04 +0000 (+0100) Subject: generate mask il X-Git-Tag: ls180-24jan2020~560 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ae030c42275fef87dcfaf8dee942d9363ea681f;p=ieee754fpu.git generate mask il --- 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],