Stefan Schippers
05/06/2022, 8:59 AM.spiceinit
file in the directory where ngspice is running, the second line speeds up model loading.
set ngbehavior=hsa
set ng_nomodcheck
Tim Edwards
05/06/2022, 12:45 PMgit push
away from delivering the continuous models to everyone through open_pdks. But SkyWater did not give me, specifically, permission to post the models, they gave Google permission to post the models, so only Tim Ansell can initiate the process.Zeeshan Rafique
05/06/2022, 2:27 PMTim 'mithro' Ansell
Saul Rodriguez
05/08/2022, 6:21 AMaquiles viza
05/09/2022, 5:54 PMLuis Henrique Rodovalho
05/12/2022, 8:51 PMLeonardo Gomes
05/12/2022, 11:31 PMJorge Marin
05/13/2022, 4:16 AMTim 'mithro' Ansell
Matt Venn
05/16/2022, 11:38 AMPepijn de Vos
05/16/2022, 1:49 PMJorge Marin
05/17/2022, 1:49 AMStefan Schippers
05/17/2022, 7:33 AMmake
and (sudo) make install
. For ngspice make and make install must be done in the separate build directory (see file INSTALL in the ngspice source dir). If make and make install fails with open_pdks, then do a make distclean
followed by the ./configure --enable-sky130-pdk --prefix....
, followed by make
and (sudo) make install
Simon Waid
05/18/2022, 1:09 PMNet: Clk_out0 |Net: clk_out0
sky130_fd_sc_hs__dfrbp_1/2 = 1 | sky130_fd_sc_hs__dfrbp_1/D = 1
sky130_fd_sc_hs__dfrbp_1/8 = 1 | sky130_fd_sc_hs__dfrbp_1/Q = 1
On the left is the netlist generated by xschen on the right the one generated by magic. One can see that that in the layout the ports of the digital cell have names while xschem outputs numbers.
What is the best way to make them match? One option is probably to change the labels in the layout. Can netgen be configured to match labels and numbers?Matt Venn
05/18/2022, 2:52 PMJorge Marin
05/20/2022, 2:35 AMSaul Rodriguez
05/22/2022, 11:43 PMAmro Tork
05/23/2022, 6:30 AMAmro Tork
05/23/2022, 6:31 AMAmro Tork
05/23/2022, 6:31 AMAmro Tork
05/23/2022, 6:31 AMAmro Tork
05/23/2022, 6:32 AMAmro Tork
05/23/2022, 6:33 AMAmro Tork
05/23/2022, 6:33 AMAmro Tork
05/23/2022, 6:33 AMAmro Tork
05/23/2022, 6:33 AMMatt Venn
05/27/2022, 1:01 PMRana Muhammad Shahid Jamil
05/27/2022, 4:52 PMmake setup
from the caravel_user_project make file. The problem was that ngspice complained about missing a corners/tt.spice
file when I ran the example tes_nmos schematic in xschem. I checked the sky130A/libs.tech/ngspice
directory and I was indeed missing the corners/tt.spice
file and the tt
section of sky130.lib.spice
was including this file. I manually reinstalled the PDK with the make command make pdk-with-sram
. The sky130A/libs.tech/ngspice
directory now contains corners folder along with some other directories. The simulation works fine in this case. The original make pdk-with-valore
command in the make setup did not create the corners and other directories in the sky130A/libs.tech/ngspice
folder? Did I miss some configuration during the installation?Luis Henrique Rodovalho
05/28/2022, 8:36 AM* resistor tb
r0 a 0 1k
va a 0 0
.control
dc va -1 1 0.2
wrdata res.txt v(a) i(va)
shell sed 's/^/ /; s/ /,/g; s/ /,/g; s/^,//g' res.txt > res.csv
.endc
.end
This outputs this text file, res.txt
-1.00000000e+00 -1.00000000e+00 -1.00000000e+00 1.00000000e-03
-8.00000000e-01 -8.00000000e-01 -8.00000000e-01 8.00000000e-04
-6.00000000e-01 -6.00000000e-01 -6.00000000e-01 6.00000000e-04
-4.00000000e-01 -4.00000000e-01 -4.00000000e-01 4.00000000e-04
-2.00000000e-01 -2.00000000e-01 -2.00000000e-01 2.00000000e-04
-5.55111512e-17 -5.55111512e-17 -5.55111512e-17 5.55111512e-20
2.00000000e-01 2.00000000e-01 2.00000000e-01 -2.00000000e-04
4.00000000e-01 4.00000000e-01 4.00000000e-01 -4.00000000e-04
6.00000000e-01 6.00000000e-01 6.00000000e-01 -6.00000000e-04
8.00000000e-01 8.00000000e-01 8.00000000e-01 -8.00000000e-04
1.00000000e+00 1.00000000e+00 1.00000000e+00 -1.00000000e-03
It well aligned, but I really wanted this:
-1.00000000e+00,-1.00000000e+00,-1.00000000e+00,1.00000000e-03,
-8.00000000e-01,-8.00000000e-01,-8.00000000e-01,8.00000000e-04,
-6.00000000e-01,-6.00000000e-01,-6.00000000e-01,6.00000000e-04,
-4.00000000e-01,-4.00000000e-01,-4.00000000e-01,4.00000000e-04,
-2.00000000e-01,-2.00000000e-01,-2.00000000e-01,2.00000000e-04,
-5.55111512e-17,-5.55111512e-17,-5.55111512e-17,5.55111512e-20,
2.00000000e-01,2.00000000e-01,2.00000000e-01,-2.00000000e-04,
4.00000000e-01,4.00000000e-01,4.00000000e-01,-4.00000000e-04,
6.00000000e-01,6.00000000e-01,6.00000000e-01,-6.00000000e-04,
8.00000000e-01,8.00000000e-01,8.00000000e-01,-8.00000000e-04,
1.00000000e+00,1.00000000e+00,1.00000000e+00,-1.00000000e-03,
This can be done by using the bash shell command shell sed 's/^/ /; s/ /,/g; s/ /,/g; s/^,//g' res.txt > res.csv
. I've tried to do that using the ngspice shell command but it gives me an error: `sed: -e expression #1, char 4: unterminated s' command
. Can someone explain me this? @Jorge Marin