Vladimir Vesely
04/15/2024, 5:04 AMLuis Henrique Rodovalho
04/15/2024, 7:16 AMVladimir Vesely
04/15/2024, 10:19 PMVladimir Vesely
04/15/2024, 10:32 PMLuis Henrique Rodovalho
04/15/2024, 10:34 PM* ngspice initialization for sky130
* assert BSIM compatibility mode with "nf" vs. "W"
set ngbehavior=hsa
* "nomodcheck" speeds up loading time
set ng_nomodcheck
set num_threads=2
Vladimir Vesely
04/15/2024, 10:38 PM.include spi_parallel.cir
.param V_IO_DIG = 3.3
.param reg_reset_v = 0
.param VPWR = 1.8
.param VGND = 0
.ic v(reg_reset)=0
.option savecurrents
.tran 10n 1.1u uic ; this must be enabled when writing raw file/graph
.save all
.control
save all
write SPI_test.raw ; used to write values to be loaded on graph
.endc
Luis Henrique Rodovalho
04/15/2024, 10:46 PMVladimir Vesely
04/15/2024, 11:26 PMset ngbehavior=hsa
Many thanks @Luis Henrique Rodovalho