GitHub
02/18/2025, 11:45 PMlibs.ref/sky130_fd_sc_hd/spice/sky130_ef_sc_hd__decap_12.spice
.subckt sky130_ef_sc_hd__decap_12 VGND VPWR VPB VNB
From libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
.subckt sky130_fd_sc_hd__decap_12 VGND VNB VPB VPWR
The xschem symbol for decap_12
has the pins in the sky130_fd_sc_hd
order. This means that when using the symbol in a schematic, switching between the 2 libraries is not as simple as changing the prefix from sky130_fd_sc_hd
to sky130_ef_sc_hd
.
Changing the pin order in the sky130_ef_sc_hd__decap_12.spice
file may be sufficient, but since this file was generated from an extracted layout, changing the pin order in the original mag file might be a good idea too.
The spice file is also referenced from verilog during device level LVS, but since the verilog to spice calls are by port name and not position, changing the port order in the spice subcircuit definition shouldn't cause a problem.
RTimothyEdwards/open_pdks