Home › Forums › Nazca › How to customize the top cell name
Tagged: topcells
Hi, anyone could please help to tell me how to change the top cell name “nazca” to a different cell name? A default “nazca” cell name will be automatically created after “import nazca as nd” is executed. Thank you very much!
Best regards,
David
Dear David,
The advised way to export an explicit topcell is to specify it in export_gds() like
import nazca as nd with nd.Cell("mycellname") as MYCELL: #stuff nd.export_gds(topcells=MYCELL)
The keyword “topcells” can also take a list of cells, in such case effectively creating a gds library.
It is possible to change the default “nazca” name, but there is no real need for that: nd.cfg.defaultcellname = "NAZCA"
nd.cfg.defaultcellname = "NAZCA"
Ronald
Ronald,
Thank you very much for the clarification.