Skip to content

The sky130_ef_fd_sc spice file for decap_12 is not pin compatible with the sky130_fd_sc_hd version. #475

@d-m-bailey

Description

@d-m-bailey

Version 1.0.493 and later

From libs.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions