Examples: gpdk built-in examples
The examples folder in gpdk is used to store examples generated by related components and contains many functional design templates and examples from PhotoCAD. For example (not fully listed):
Full PCell scripting examples:
example_pcell_dataclass.py,example_pcell_ dataclass_oversimplified.py,example_pcell_ dataclass _with_final.pyFlattening design script example:
example_flatten.pyHierachical design script example:
example_hierarchical.pyGraphical Boolean example:
example_merged.pyCreate netlist example:
example_ringMod_transceiver.pyLayout unit rotation and placement example:
example_transform.pyAutomatic routing by calling device and port connection example:
example_linked.py
Users can run the python source code and go to the local folder in examples to see its results.