Open sheiny opened 5 years ago
I had the same problem as sheiny mentioned above. I fixed it by adding the follow code in rsyn-x/rsyn/src/rsyn/phy/obj/impl/PhysicalDesign.cpp file before line 917 .
if (!net) { return; }
Actually, the special nets defined in SPECIALNETS section in .def file, cannot be found and null pointer is returned causing segmentation fault.
Thank you for the help. It fixes the problem. I will keep the issue open, just to make sure the mainteiners are aware of that.
If the design is defined only using a def file, this error doesn't happen, because both normal and special nets are defined in the def file.
The error actually happens when a Reader (in your case the ICCAD15Reader, but it also happens for GenericReader) is populating the design with nets from the verilog file, and only the cells from the def file. The special nets in the def file are skipped, and when the design tries to retrieve one of them it's not found and the program crashes.
I copied the section creating the special nets from the Reader which uses only def file.
Relative pull request: https://github.com/RsynTeam/rsyn-x/pull/23#issue-341917984
Hello, I also use the example of superblue18 on gui. But I face a different erro below:
Loading library into Rsyn... Loading library into Rsyn... Done (runtime: 0.038373 seconds memory: +2 MB) Loading design into Rsyn... Killed
Had anyone met the same problem ?
It's probably the same issue. You can try applying the patch I have provided here: https://github.com/RsynTeam/rsyn-x/pull/23 Recompile, rerun and report your results.
Hello, I also use the example of superblue18 on gui. But I face a different erro below:
Loading library into Rsyn... Loading library into Rsyn... Done (runtime: 0.038373 seconds memory: +2 MB) Loading design into Rsyn... Killed
Had anyone met the same problem ?
It's probably the same issue. You can try applying the patch I have provided here: #23 Recompile, rerun and report your results.
Hello, I also use the example of superblue18 on gui. But I face a different erro below: Loading library into Rsyn... Loading library into Rsyn... Done (runtime: 0.038373 seconds memory: +2 MB) Loading design into Rsyn... Killed Had anyone met the same problem ?
Thanks, I find the problem now. When I use example of rsyn-x/x/demo/simple, it doesn't produce error. I use command "dmesg" , it report below : Out of memory: Kill process 17324 (Rsyn::WorkerThr) score 685 or sacrifice child So it is cused by Out of memory.
Hello, I'm having some problems when opening superblue18 using GUI. Thats what a I did:
So, when I open the script superblue18-long.rsyn I got a segmentation fault.
here is the log error:
And here is the stack trace:
The seg fault was in file: rsyn/src/rsyn/phy/obj/impl/PhysicalDesign.cpp:917 on method: