I'm trying to simulate a simple pulse generator that gets activated by a voltage source vs.
vs starts at 0V and switches to 5V at 10us where it remains at 5V for the duration of the simulation.
When I run the simulation and plot v(in), the voltage remains at 0 for the duration of the simulation.
Below is the netlist:
* Pulse Generator - I
* Section 2.2.2 C
* Figure 2.11
* DC bias
vcc 4 0 5V
* input
vs in 0 pulse(0 5 10u)
* Q1
R1 in 1 10k
R2 4 2 1k
Q1 2 1 0 myq1
C1 2 3 10n
* Q2
R3 4 3 10k
R4 4 out 1k
Q2 out 3 0 myq2
.model myq1 npn (bf=100)
.model myq2 npn (bf=100)
.tran 1ns 500us
.end
I figured out my issue. I sourced a circuit file and assumed I didn't need to source it again after I made edits to the file.
Everytime I make changes to the circuit file, I must source it again for the changes to take effect. There must've been an error when I first sourced it, and I wasn't seeing the changes I made until I resourced the file.
Thanks! :-)