Home Forums Nazca Questions and Answers PDK Implementation utilising demofab as a base

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6866

    Hello all,

    I have been trying to integrate a silicon photonics pdk, for which I have the gds files, into nazca for ease of layout generation.

    I thought one idea would be to piggy back on the demofab pdk, so a first attempt was to add another gds file into it, and load that gds in the pdk_30_BB_library.py file.  I figured out that for this to work I would need to reinstall the “new” nazca folder, but the zip file no longer functions as a means to install nazca once it has been unzipped in order to modify this file.

    Potentially creating a virtual install is a way around this but I thought I’d ask if there is some better way.

    I realise that one can simply load any gds as a bb within a python script having imported nazca, but I’d rather not have my code bloated with the many Bb definitions a circuit might need, if there is some straight forward way to create a pdk file. I havent found any documentation on pdk implementation within nazca but if such exists I’d be very appreciative to be directed to it!


    Thanks in advance,



    Dear Peter,

    A PDK can be seen as a module under Nazca Design under its original license. Demofab PDK is part of the Nazca installer on the website as this make the demofab distribution a single install.

    To create your separate PDK file that installs as a Python package, you need to make a Python install file as for any Python module/package.

    As for the building blocks, you indeed need to add them to pdk_30_BB_library.py for best practice.


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.