ehn? moo? CR test_pipe_caller locks up 100% CPU on writing ilang file
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 May 2020 17:31:51 +0000 (18:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 May 2020 17:31:51 +0000 (18:31 +0100)
src/soc/fu/cr/test/test_pipe_caller.py

index 0ee5977dc343669c34f3fae72b3a80ef031d52bd..415ce48e746e68e3a853299ae3e007974b089f2f 100644 (file)
@@ -121,9 +121,8 @@ class CRTestCase(FHDLTestCase):
 
         pspec = ALUPipeSpec(id_wid=2, op_wid=get_rec_width(rec))
         alu = CRBasePipe(pspec)
-        ports = alu.ports()
         vl = rtlil.convert(alu, ports=alu.ports())
-        with open("logical_pipeline.il", "w") as f:
+        with open("cr_pipeline.il", "w") as f:
             f.write(vl)