Amro Tork
11/23/2022, 10:26 AMStefan Schippers
11/23/2022, 11:01 AMAmro Tork
11/23/2022, 11:06 AMAmro Tork
11/23/2022, 11:07 AMAmro Tork
11/23/2022, 11:08 AMAmro Tork
11/23/2022, 11:08 AMStefan Schippers
11/23/2022, 11:14 AMAmro Tork
11/23/2022, 12:21 PMAmro Tork
11/23/2022, 12:22 PMAmro Tork
11/23/2022, 12:22 PMAmro Tork
11/23/2022, 12:27 PMStefan Schippers
11/23/2022, 12:59 PMlvs_format
attribute could define the format of the netlist line of the component for LVS.
If the Simulation -> LVS netlist
is enabled this attribute should be used (if existing) instead of the default format
attribute that generates the spice netlist for the component.Amro Tork
11/23/2022, 1:46 PMStefan Schippers
11/23/2022, 1:57 PMxschem set format lvs_format
at the xschem prompt before generating a netlist a lvs_format
will be used as the netlisting rule instead of the default '`format`' (or verilog_format
is using verilog or vhdl_format
if using VHDL). If such an attribute is not found in the symbol then the fallback default is used (format
for spice). WIll investigate the issue of computing expressions and outputting the result in the lvs netlist...Stefan Schippers
11/23/2022, 3:28 PMAmro Tork
11/24/2022, 2:16 PMAmro Tork
11/24/2022, 2:16 PMStefan Schippers
11/24/2022, 5:23 PMStefan Schippers
11/24/2022, 6:53 PMlvs_format
attribute to all pfet
, nfet
, npn
and pnp
devices) and xschem (switch to lvs_format
attribute for netlisting if Simulation->LVS netlist
is enabled).
What i get now is:
Simulation:
** pnp
XQ1 net6 net2 PLUS sky130_fd_pr__pnp_05v5_W0p68L0p68 m=1
** pfet
XM4 net7 EN_N VCC VCC sky130_fd_pr__pfet_01v8 L=6 W=2 nf=1 ad='W * 0.29' as='W * 0.29' pd='W + 2 * 0.29'
+ ps='W + 2 * 0.29' nrd=0 nrs=0 sa=0 sb=0 sd=0 mult=1 m=1
** nfet
XM18 G2 G1 VSS VSS sky130_fd_pr__nfet_01v8_lvt L=4 W=6 nf=1 ad='W * 0.29' as='W * 0.29' pd='2*(W + 0.29)'
+ ps='2*(W + 0.29)' nrd=0 nrs=0 sa=0 sb=0 sd=0 mult=1 m=1
Lvs:
**pno
Q1 net6 net2 PLUS sky130_fd_pr__pnp_05v5_W0p68L0p68 NE=1 m=1
** pfet
M4 net7 EN_N VCC VCC sky130_fd_pr__pfet_01v8 L=6 W=2 nf=1 m=1
** nfet
M18 G2 G1 VSS VSS sky130_fd_pr__nfet_01v8_lvt L=4 W=6 nf=1 m=1
Using a dedicated attribute for LVS netlists allows complete flexibility (or just use the existing '`format`' attribute used for spice netlists if no change is required).
To do next: add this attribute to all other devices that need special syntax for LVS.Amro Tork
11/24/2022, 7:16 PMAmro Tork
11/24/2022, 7:17 PMAmro Tork
11/24/2022, 7:17 PMStefan Schippers
11/24/2022, 8:34 PMSimulation->LVS netlist
For gf180mcu the set of symbol is yet to be done. I started doing that work, but stopped since got no feedback and no answer to any simple questions.Stefan Schippers
11/24/2022, 8:36 PMAmro Tork
11/24/2022, 8:44 PMStefan Schippers
11/25/2022, 12:03 AM