I have a template given by my organization and would like to insert my generated cells into the cell-tree of the layout. I have a specific cell in the template, which I should place my design into (replace given cell).
I have tried loading the layout as a dictionary, but it only loads the topcell I specify, and not the tree. I can load the respective cell as topcell, but later I am not able to insert it back at the specific location in the cell tree. Is there any way I can do this? An example cell tree is given below. As shown in bold font, I want to replace a specific cell in the 3. Hierarchical layer.
— user_design <– to be replaced
Thank you for your answers, and I wish you the best of days,
This should be straightforward. Suppose your template file (containing the Wafer layout etc.) is called template.gds and your design is called user.gds with top cell name “my_design”, then the following Nazca program should do the trick: