Ryan R
04/26/2022, 4:28 PMStefan Schippers
04/26/2022, 4:29 PMStefan Schippers
04/26/2022, 4:30 PMStefan Schippers
04/26/2022, 4:33 PMStarkzz
04/27/2022, 1:43 PMStefan Schippers
04/27/2022, 9:11 PMStarkzz
04/28/2022, 4:36 AMStarkzz
04/28/2022, 4:36 AMStarkzz
04/28/2022, 5:36 AMStarkzz
04/28/2022, 5:39 AMStefan Schippers
04/29/2022, 7:57 AMStarkzz
04/29/2022, 8:09 AMStefan Schippers
04/29/2022, 8:34 AM.save V(out1, out2)
.probe vd(out1, out2)
then run the simulation and at the ngspice type '`display`' i find the differential voltage plus out1 and out2:
Circuit: **.subckt untitled2-5
option SCALE: Scale is set to 1e-06 for instance and model parameters
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Reference value : 1.00000e+00
No. of Data Rows : 331
ngspice 1122 -> display
Here are the vectors currently active:
Title: **.subckt untitled2-5
Name: ac1 (AC Analysis)
Date: Fri Apr 29 10:32:15 2022
frequency : frequency, complex, 331 long, grid = xlog [default scale]
out1 : voltage, complex, 331 long
out2 : voltage, complex, 331 long
vd_out1:out2 : voltage, complex, 331 long
ngspice 1123 ->
ngspice-36+ done
Tim 'mithro' Ansell
Belal Ali
05/04/2022, 4:02 PMEric
05/04/2022, 6:50 PMStefan Schippers
05/05/2022, 8:37 AMStarkzz
05/06/2022, 4:46 AMStefan Schippers
05/06/2022, 3:10 PMsky130_fd_pr/
library called `corner.sym`: this symbol takes a process corner (tt
, ss
, sf
, ...) as a '`corner`' attribute. When netlisting only the includes relevant to the specified corner are dumped into the netlist, this speeds up ngspice pdk parsing considerably (5x). Considering example in below picture the following lines are printed into the netlist (actual paths are generated depending on the SKYWATER_MODELS variable):
.param mc_mm_switch=0
.param mc_pr_switch=0
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/corners/tt.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/r+c/res_typical__cap_typical.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/r+c/res_typical__cap_typical__lin.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/corners/tt/specialized_cells.spice
Belal Ali
05/07/2022, 8:25 AMStefan Schippers
05/07/2022, 8:27 AMRahul Panwar
05/07/2022, 9:31 AMRahul Panwar
05/07/2022, 9:32 AMRahul Panwar
05/07/2022, 9:39 AMRahul Panwar
05/07/2022, 9:39 AMStefan Schippers
05/07/2022, 9:43 AMgvim
and xterm
(sudo apt install gvim xterm) as these are the default apps for editing and command terminal. You can use other editors as you like by modifying the editor
variable in xschemrc (as well as terminal program by setting the terminal
variable accordingly).Rahul Panwar
05/07/2022, 9:56 AMStefan Schippers
05/07/2022, 10:01 AMRahul Panwar
05/07/2022, 10:02 AMRahul Panwar
05/07/2022, 10:04 AM