add ilang generation of ltbufpipe
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Mar 2019 10:16:38 +0000 (10:16 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Mar 2019 10:16:38 +0000 (10:16 +0000)
src/add/test_buf_pipe.py

index be472c4311853a189ce8ba154360d6ca867b6cd0..665da43f228f1987410f41615e772cd6fa4f717a 100644 (file)
@@ -572,4 +572,8 @@ if __name__ == '__main__':
     dut = ExampleLTBufferedPipeDerived()
     test = Test5(dut, test6_resultfn)
     run_simulation(dut, [test.send, test.rcv], vcd_name="test_ltbufpipe10.vcd")
+    vl = rtlil.convert(dut, ports=ports)
+    with open("test_ltbufpipe10.il", "w") as f:
+        f.write(vl)
+