vks
05/01/2023, 12:31 PMStefan Schippers
05/01/2023, 12:45 PMnmos.sch
and the raw file is saved as nmos2.raw
. Save the simulation data as nmos.raw
.
Alteratively give this comand at the xschem console:
xschem raw_read $netlist_dir/nmos2.raw
vks
05/02/2023, 5:37 AMStefan Schippers
05/02/2023, 8:03 AM.options savecurrents
.control
save all
dc Vd 0 1.8 0.1 Vg 0 1.2 0.01
write nmos.raw
.endc
Stefan Schippers
05/02/2023, 8:09 AMrun
instruction into your .control:
.save all
.dc Vd 0 1.8 0.1 Vg 0 1.2 0.01
.control
run
write nmos.raw
.endc
vks
05/02/2023, 10:01 AMStefan Schippers
05/02/2023, 11:01 AMStefan Schippers
05/02/2023, 11:04 AMngspice -b file.cir -r file.raw
) where .control / .endc is not used at atll.vks
05/02/2023, 11:38 AMStefan Schippers
05/02/2023, 12:24 PM.spiceinit
file is set to:
set ngbehavior=hsa
to read hspice format .lib files.