• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. P-Cell installation (FreePDK45)

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 15880
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

P-Cell installation (FreePDK45)

ahmed589
ahmed589 over 9 years ago

Hi All,

I am trying to make this instructions work (http://www.eda.ncsu.edu/wiki/FreePDK45:Using_P-Cells) 
I am having some difficulties along the way, it would be of great help if you could point me to the right direction!

I have tried to follow the instructions in the web site. I did not quite understood the step 2 and 3. 
"add the Python path to the first line of each script in this directory" - I amnot sure which python path is this. Is this $PDK_DIR/ncsu_basekit/gentech/sshaft/bin ? And after trying a while, it seemed have created a "bin" folder : $PDK_DIR/ncsu_basekit/gentech/bin and copied all *.py files here. 

While updating the icoa_setup.csh, I have found that, I also needed to source the setup.csh file as well, otherwise the NCSU_TechLib_FreePDK45 or NCSU_Devices_FreePDK45 library do not load in virtuoso. 

Finally, when I run the command gentech.py -log gen.log from $PDK_DIR/ncsu_basekit/gentech, I am getting the following error: 
/home/class/ahmed589/NCSU-FreePDK45-1.4/FreePDK45/ncsu_basekit/gentech/sshaft/bin/gentech.py: Permission denied

Probably because: the first line of the gentech.py is not an executable file, rather a folder
(#!/home/class/ahmed589/NCSU-FreePDK45-1.4/FreePDK45/ncsu_basekit/gentech/sshaft/src/py/) 

if the line is changed to 
#!/home/class/ahmed589/NCSU-FreePDK45-1.4/FreePDK45/ncsu_basekit/gentech/sshaft/src/py/gentech.py
then the following error message is found:

import: Command not found.
Badly placed ()'s.

May be the following info would be helpful:

Operating system: Linux 2.6.32-573.3.1.el6.x86_64 
virtuoso version 6.1.5 

oaGetVersion : 22.41.004


Pycell studio version : 2014.09-L4 of PyCell Studio.

PyCell Studio build with Python version: 2.6.2 (r262:71600, Apr 7 2011, 14:30:04) 
[GCC 4.4.3]


I would be eagerly waiting for your reply. Thanks in advance for your time !

  • Cancel
  • Quek
    Quek over 9 years ago

    Hi Ibrahim

    Actually it is not advisable to use python cells in Virtuoso platform because it is not fully supported. It would be better if you download Cadence generic pdk 45nm (gpdk45) from COS website. It contains SKILL pcells which can be used for practice purposes.

    Perhaps you can try changing the 1st line to "#!/bin/python" to see if it works.


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information