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.
PDN.cir *On-Chip-1st-Plane R1000000001_1000001001 1000000001 1000001001 2.500000e-02 L1000001001_1000002001 1000001001 1000002001 2.911707e-15 R1000002001_1000003001 1000002001 1000003001 2.500000e-02 L1000003001_1000004001 1000003001 1000004001 2.911707e-15 R1000000001_1001000001 1000000001 1001000001 2.500000e-02 L1001000001_1002000001 1001000001 1002000001 2.911707e-15 R1000002001_1001002001 1000002001 1001002001 2.500000e-02 L1001002001_1002002001 1001002001 1002002001 2.911707e-15 R1000004001_1001004001...
Hi, When I am doing transient simulation. It always report an error: stderr doAnalyses: TRAN: Timestep too small; time = 4.76563e-14, timestep = 2.5e-23: trouble with node "1000000004" Does someone know how to solve it? Thank you, An
Hi, all, I am using ngspice to do transient simulation. However, it seems that the transient simulation get stuck in a time point, just like the following shows. Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference value : 4.25000e-06 Reference...
Hi, All, Current, I am using ngspice as a shared library. May I know if there is...
Thank you Marcel, It really works. Acutually, I added thousands of "stop". That's...
Hi, All, May I know can I measure the time in simulation? For example, I use "stop"...
Hi, Robert, Thank you so much. I understand it now. A capacitor in series with a...
Hi, Marcel, Thank you very much. I think this is a good method. I am thinking if...
Hi, Robert, Thank you very much. I tried your method and it really works. But I have...
Hi, everyone, In transient simulation, I can stop the simulation using "step when...
Thank you so much for help. I think you are right. I "configure"ed with "xspice"....
When I want to load the ngspice shared lib. It reports an error: /lib/libngspice.so:...
Hi, I came across the same problem with you. May I know how you solved this prob...