<@U01CHL4UY1Z> these are the correct syntaxes for resistors: ```XR1 M net1 B sky130_fd_pr__res_iso_p...
s

Stefan Schippers

almost 5 years ago
@User these are the correct syntaxes for resistors:
XR1 M net1 B sky130_fd_pr__res_iso_pw W=2.65 L=2.65 mult=1 m=1
XR2 M net2 B sky130_fd_pr__res_generic_nd W=1 L=1 mult=1 m=1
XR3 M net3 B sky130_fd_pr__res_generic_pd W=1 L=1 mult=1 m=1
XR5 M net5 B sky130_fd_pr__res_high_po W=1 L=1 mult=1 m=1
XR6 M net6 B sky130_fd_pr__res_high_po_0p35 W=0.35 L=1 mult=1 m=1
XR7 M net7 B sky130_fd_pr__res_high_po_0p69 W=0.69 L=0.69 mult=1 m=1
XR8 M net8 B sky130_fd_pr__res_high_po_1p41 W=1.41 L=1.41 mult=1 m=1
XR9 M net9 B sky130_fd_pr__res_xhigh_po W=1 L=1 mult=1 m=1
XR10 M net10 B sky130_fd_pr__res_xhigh_po_0p35 W=0.35 L=0.35 mult=1 m=1
XR11 M net11 B sky130_fd_pr__res_xhigh_po_0p69 W=0.69 L=0.69 mult=1 m=1
XR12 M net12 B sky130_fd_pr__res_xhigh_po_1p41 W=1.41 L=1.41 mult=1 m=1
Resistors with _0pnn or_1pnn suffixes can be used only with specified width. For capacitors here is a sample for vertical metal capacitors:
XC2 G 0 0 0 sky130_fd_pr__cap_vpp_11p5x11p7_l1m1m2m3m4_shieldm5 W=1 L=1 mult=1 m=1
and these are mim (Metal-Insulator-Metal) capacitors:
XC6 c0 c1 sky130_fd_pr__cap_mim_m3_1 W=1 L=1 MF=1
XC7 c0 c1 sky130_fd_pr__cap_mim_m3_2 W=1 L=1 MF=1
Values for resistances must be calculated from process parameters: Rho for resistors and capacitance per unit area for caps. As an experimental feature xschem on some resistors is displaying the nominal value (keep in mind that silicon resistors are not perfectly constant, they vary with biasing conditions and temperature). If people like that i can add this for capacitors and remaining resistors.
Hello, this is an issue related to <#C0750383B2M|> I am having trouble with parametric noise runs. T...
c

Colin Weltin-Wu

7 months ago
Hello, this is an issue related to #C0750383B2M I am having trouble with parametric noise runs. The core problem is this bit of code:
alter vvgs_ctrl 0.8
  op
  print Vp1p8hvt#branch
  noise v(src_n1p8lvt) Vvgs_ctrl dec 1000 100 10e9
  print onoise_total
  ; reset
  alter vvgs_ctrl 1.2
  op
  print Vp1p8hvt#branch
  noise v(src_n1p8lvt) Vvgs_ctrl dec 1000 100 10e9
  print onoise_total
This is the core of my loop, I alter a parameter and then re-run the simulation. I have included the
op
command just to verify the
alter
command is doing something. This is what it returns:
Using SPARSE 1.3 as Direct Linear Solver
 Reference value :  0.00000e+00
No. of Data Rows : 1
vp1p8hvt#branch = 5.9080065507013344e-07
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Using SPARSE 1.3 as Direct Linear Solver

No. of Data Rows : 8001

No. of Data Rows : 1
onoise_total = 1.2877645416968548e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Using SPARSE 1.3 as Direct Linear Solver

No. of Data Rows : 1
vp1p8hvt#branch = 2.3014385629361719e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Using SPARSE 1.3 as Direct Linear Solver

No. of Data Rows : 8001

No. of Data Rows : 1
onoise_total = 1.2879064884219959e-05
The branch current increases, however the output noise seems to return the original value. When I simulate at
vctrl=1.2
directly, I get the (expected) noise increase. I saw this: https://sourceforge.net/p/ngspice/discussion/133842/thread/fcd70adf/ So I tried adding the
reset
command, but it kills the sim:
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Using SPARSE 1.3 as Direct Linear Solver

No. of Data Rows : 1
vp1p8hvt#branch = 2.3014385629361719e-05
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Using SPARSE 1.3 as Direct Linear Solver
Error: no data saved for Noise analysis; analysis not run
doAnalyses: not found

noise simulation(s) aborted
Warning from checkvalid: vector onoise_total is not available or has zero length.
Any ideas? Thank you.