Hi, Marcel, Thank you so so ... much for your advice. I will try it now! Best, An
Hi, Marcel, Thank you so much. I am thinking about how to save data like "v(1)[n-1] = 1.0453e+00" instead of "v(1)[n-1] = 0.10453e+01". I have to read in the data from ngspice to another program to do some calcuation, so that I hope the output format be consistant. Thank you again, An
Hi, I am using ngspice to simulate ciruict behaviors and save the voltage to documents using "wrdata Voltage1 V(1000002001)" The data saved in the documents are sometimes "0.9 V" and sometimes "9.0e-1 V". Does someone know how to save the data using the format of "0.9 V". Thank you so much, An Zou
Hi, I am sorry for the late reply. Thank you so much for your help, Holger Vogt, marcel hendrix, Robert Larice. I will try it now. Best, An
May I know if it is available to change the resistor value in transient simulation?
Hi, I met a small problem. I need to use alter to change the value of a resistor in the circuit, but it sees that this the "alter" command does not work but no error reported. For example, The .cir file *change_res test change res VIN 100 0 DC 1 r1 100 200 1 r2 200 0 1 .control stop when time = 0.5US .endc .option trtol=1 .tran 14PS 1US .END** The command I used, ngspice 417 -> alter r2 = 0.01 The but the value of r2 are not changed.
Hi, Marcel, Thank you so much. The problem is solved. I am doing a power delievery network analysis using ngspice. Auctually, I wrote a c problem to call the ngspice shared library and change the current load very 10ns. Thank you again, An
I am sorry. The circuit is a little large.