Rita
08/30/2022, 6:25 AMStefan Schippers
08/30/2022, 6:46 AMRita
08/30/2022, 6:50 AMRita
08/30/2022, 6:51 AMRita
08/30/2022, 6:52 AMRita
08/30/2022, 6:55 AMStefan Schippers
08/30/2022, 7:14 AMschippes@mazinga:~$ python3.10 <http://spi2xspice.py.in|spi2xspice.py.in> share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib ~/.xschem/simulations/test_stdcells.spice ./test_stdcells.xspice
Reading liberty netlist share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
Reading spice netlist /home/schippes/.xschem/simulations/test_stdcells.spice
Writing xspice netlist ./test_stdcells.xspice
Writing xspice file
Cell sky130_fd_sc_hd__nand2_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__dfrtp_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__nor2b_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__dlrbn_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__nor2b_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__nand2_1 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__a31o_2 does not have SPICE pin order defined!
Cell sky130_fd_sc_hd__inv_2 does not have SPICE pin order defined!
Done.
Rita
08/30/2022, 7:15 AMRita
08/30/2022, 7:15 AMRita
08/30/2022, 7:16 AMRita
08/30/2022, 7:16 AMStefan Schippers
08/30/2022, 7:16 AMRita
08/30/2022, 7:17 AMRita
08/30/2022, 7:20 AMRita
08/30/2022, 7:20 AMStefan Schippers
08/30/2022, 7:21 AMRita
08/30/2022, 7:22 AMRita
08/30/2022, 7:23 AMStefan Schippers
08/30/2022, 7:26 AMRita
08/30/2022, 7:26 AMRita
08/30/2022, 7:27 AMRita
08/30/2022, 7:27 AMStefan Schippers
08/30/2022, 7:33 AMsky130_tests/test_stdcells.sch
for an example schematic with some stdcells, including a flop.
You must create a netlist from it and give that netlist to spi2xspice.py, together with the liberty file of all sky130 gates ($PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib).
Try the attached netllist (from above exampel schematic) and run with:
python <http://spi2xspice.py.in|spi2xspice.py.in> ~/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib test_stdcells.spice ./test_stdcells.xspice
Of course set liberty path to your system installation.Rita
08/30/2022, 7:41 AMRita
08/30/2022, 7:42 AMRita
08/30/2022, 7:42 AMRita
08/30/2022, 7:46 AMRita
08/30/2022, 7:48 AMStefan Schippers
08/30/2022, 8:06 AMStefan Schippers
08/30/2022, 8:26 AM