#61 Discrepancy in pin order of stdcell spice models vs. xschem symbols
Issue created by bmurmann
I am not sure of this was brought up here already. The spice pin order between these two stdcell representations do not match up:
libs.tech/xschem/sg13g2_stdcells
libs.ref/sg13g2_stdcell/spice/sg13g2_stdcell.spice
The spice file pins are in alphabetical order, but the xschem pins are not.
The following sed applied to the xschem symbols fixes the problem (courtesy Mitch Bailey):
sed -i .bak
-e 's/@vgnd@vnb@vpb @VPWR/@VDD @VSS/'
-e 's/VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR/VDD=VDD VSS=VSS/'
-e 's/VGND VNB VPB VPWR/VDD VSS/'
-e 's/@VDD@vss @@q @@Q_N/@@q @@Q_N @VDD @VSS/'
-e 's/(@@reset.*)@@q @@Q_N /@@q @@Q_N \1/' *.sym
IHP-GmbH/IHP-Open-PDK
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.