openPCells icon indicating copy to clipboard operation
openPCells copied to clipboard

I encounter some bugs during building the program and integration in cadence and wonder if there lack some necessary file or definiton

Open zzhhjj-cpu opened this issue 3 years ago • 2 comments
trafficstars

First , I have made the program and pointed my PATH to the directory, the result is as follows: please see Fig 1 &2 . When I type “opc --technology OPC_BIN --export svg --cell basic/transistor” in the command line, then there will be Fig 3,which gives “error while loading user config”.So I wonder if there lacks some definiton and maybe the program needs updates.

Second, after my friend and I discovered and supplemented the lacked definition above(see Fig 4 ), there still exist the following problem called "core dumped",please see Fig 5. We think the reason is that the corresponding file(home/.opcconfig.lua) is lacked ,which needs to be supplemented with dictionary variables in the form of lua.(see Fig 6) image Fig 1 image Fig 2 image Fig 3 image Fig 4 image Fig 5 image Fig 6.

Thanks for you opc!

zzhhjj-cpu avatar Sep 03 '22 05:09 zzhhjj-cpu

Hi and thank you for this report, this is indeed an error. A non-existing user config should not produce an error. I fixed this in commit https://github.com/patrickschulz/openPCells/commit/4fbf4a0bf5af49ad783d56163d44daee1d8fed48. I did not exactly understand the second part of your issue. You created a config but still get a segmentation fault? I can't reproduce this by using opc --cell basic/cmos --parameters.

patrickschulz avatar Sep 12 '22 07:09 patrickschulz

Thanks a lot, I've confirmed that the first issue is solved. As for the second issue, maybe it's our fault, I‘ll confirm it again later!Thanks for your reply!

zzhhjj-cpu avatar Sep 14 '22 01:09 zzhhjj-cpu