vks
04/15/2024, 1:12 PMStefan Schippers
04/15/2024, 1:36 PMStefan Schippers
04/15/2024, 2:02 PMvks
04/15/2024, 3:05 PMvks
04/16/2024, 6:52 AMTRAN
simulation the ouput .raw
file data does not get overwritten everytime I run transient simulation but the data for new simulation get appended to last simulation and that reflects in the waveform.
How to ensure that for every new TRAN simulation run the output .raw
gets overwritten and not appended ?Stefan Schippers
04/16/2024, 7:19 AMset appendwrite
before write
in your spice commands.vks
04/16/2024, 7:21 AMvks
04/16/2024, 7:21 AMOP
and TRAN
?Stefan Schippers
04/16/2024, 7:23 AMset appendwrite
after the OP write
it will create a new raw file, then tran write
will append data.vks
04/16/2024, 7:26 AMOP
and T`RAN` and save their data in same .raw
file for below code .
.control
reset
op
write pfd_cp.raw
set appendwrite
tran 0.1n 6u uic
step param R1 R1_start R1_stop R1_step
remzerovec
write pfd_cp.raw
set appendwrite
.endc
Stefan Schippers
04/16/2024, 7:31 AMstep
line, so remove that line, the reset line also has no function here.
The sequence:
op
write pfd_cp.raw
set appendwrite
tran ...
remzerovec
write pfd_cp.raw
is correct. If it does not create a new raw file then file the bug to ngspice developers.