Open David-Durst opened 5 years ago
This doesn't sound good... Definitely possible there are memory leaks with regards to the python api. Or possibly internal coreir memory leak bugs.
Could you do a test and just serialize it to json first, then in a separate process generate the verilog for the json?
coreir -i circuit.json -o circuit.v
My travis build fails because CoreIR's json to verilog compiler causes the VM to run out of memory on https://github.com/David-Durst/aetherling/blob/master/tests/haskell/convolution_32x32Im_2x2Win_1px_in_per_clk.py.
This doesn't seem like a large file.
Need to investigate why it's taking so much RAM.