RTimothyEdwards / qflow

Qflow full end-to-end digital synthesis flow for ASIC designs
192 stars 36 forks source link

Handle sky130_fd_sc_hd__conb_1 for pullup/pulldown #52

Closed ajccr closed 5 months ago

ajccr commented 7 months ago

When creating the xspice file, this script currently doesn't handle the case where a cell like sky130_fd_sc_hd__conb_1 that has BOTH pullup and pulldown in one cell. It fails to create a .model and the resulting xspice file doesn't simulate.

This update changes the way this script handles cells with zero input and multiple outputs, and converts pullups to d_pullup (done), and pulldowns to d_pulldown (dzero).

RTimothyEdwards commented 5 months ago

Pulled and merged.