HELP NEEDED FOR A ngSPICE Simulation
Hey everyone, I am very new to simulating circuits on ngspice. We have veen given a project assignment by our professor to simulate a Dickson Charge Pumps in ngspice Netlist. To be specific I am trying to create a ngspice netlist for simulating the Dickson Charge Pump with different input voltages while keeping the frequency constant at 500 MHz and the stop time at 2000 ns. I am using the 180nm_bsim3 model parameters.
I have tried creating this code... but it seems to give an error saying (unimplemented control card)
*THIS IS THE CODE
* Dickson Charge Pump Simulation
* Include MOSFET model file
.include 180nm_bsim3.txt
* Define MOSFETs for the Charge Pump
mp m1 Vdd Vmid GND P1 W=10u L=2u
mn m2 Vmid Vout GND N1 W=10u L=2u
* Define Power Supplies
vdd Vdd GND DC 1.8
vgnd GND 0 DC 0
* Define Capacitor
cload Vout GND 100f
* Define Input Pulse for Charge Pump
vin Vmid 0 PULSE(0 1.8 0 0.1ns 0.1ns 10ns 20ns)
* Transient Simulation
.tran 0 2000ns
.backanno
.end
I have attached the model parameter file.
l
Luis Henrique Rodovalho
08/16/2023, 6:57 AM
There is no .backanno command in ngspice, it seems. Remove it. The simulation should work this way.
j
Jash Rupani
08/16/2023, 10:06 AM
Tried doing that, but there is no output visible. Is that because I haven't added a plot function in the code?
h
Hadir Khan
08/25/2023, 4:12 AM
Yes, you can either add it in the code block or just type “run” and then “plot node_name” on the interpreter to see the plot
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.