-
Notifications
You must be signed in to change notification settings - Fork 121
Description
Is your feature request related to a problem? Please describe.
Currently, if one wants to export a netlist from xschem for use in klayout LVS, one needs to:
- Enable "LVS netlist + Top level is a .subckt"
- Disable "Use 'spiceprefix' attribute"
As the options are only kept during runtime, it can make first contacts with LVS quite confusing.
Describe the solution you'd like
The proper options can be enabled if the following is added to the xschemrc file
###########################################################################
#### IHP-Open-PDK klayout LVS export settings
###########################################################################
#### Set "LVS netlist + Top level is a .subckt".
set lvs_netlist 1
#### Do not "Use 'spiceprefix' attribute"
set spiceprefix 0
This could be added as a patch on top of /foss/pdks/ihp-sg13g2/libs.tech/xschem/xschemrc. It might also make sense to add it instead to /headless/.xschem/xschemrc before the import if it would also be useful for sky130 or GF180.
Describe alternatives you've considered
I considered submitting a PR to upstream IHP-Open-PDK, but I think that these options might affect LVS export for other tools like netgen, which is not necessarily a clear win. Maybe you could confirm this is the case. There is more information about the spiceprefix in IHP-GmbH/IHP-Open-PDK#607.
However, I think it might make sense for a container geared towards open technologies and teaching to support open software first and proprietary, out-of-container second.