Tim Edwards
05/16/2021, 8:44 PMopen_pdks commit 99a5cf99862a2d49a0fea77b0b40a828a8765a16 on opencircuitdesign.com fixes this issue.yrrapt
05/17/2021, 5:45 PMsky130_fd_sc_hd__diode_2 diode uses the parameters a and p which don't match the extracted area and perimeter parameters
2. The sky130_fd_sc_hd__conb_1 library cell uses subcircuit (X prefix) sky130_fd_pr__res_generic_po devices while the extracted devices are resistors (R prefix)
I've modified my sky130_fd_sc_hd.spice file to match the extracted versions.
Is this the best approach to take? If so I can raise an issue and/or pull request detailing itTim Edwards
05/17/2021, 6:11 PMR instead of X. The area and perimeter difference I have to look into to make sure that the change is the intended one. I just coded it up in python as a regexp string substitution, so fixing the installation to match your changes should be easy enough (plus, it applies them to all the digital standard cell libraries, since I found that the problems occur in all of them).Tim Edwards
05/17/2021, 7:50 PMarea and pj as parameters (it can also use l and w which is probably preferable). I have not checked that this works.