Files
ngspice/paranoia_parallel/examples/xspice/original-examples/arbitrary_phase.deck
T
Brian Taylor 6fce461984 Paranoia_Parallel: a test suite for more than 100 test circuits,
running in parallel on a multi-core machine (12 min execution time
on a i9 9900, ngspice compiled with gcc, debug mode enabled.
Linux with Valgrind and Parallel are required.
2026-07-08 22:47:22 +02:00

18 lines
358 B
Plaintext

Arbitrary Phase SIN and PULSE Sources
*
* This circuit generates two cycles of sine and square waves
* beginning at +45 degrees.
*
* Phase shift is specified after Berkeley defined parameters
* on the independent source cards.
*
.tran 2e-5 2e-3
*
v1 1 0 0.0 sin(0 1 1k 0 0 45.0)
r1 1 0 1k
*
v2 2 0 0.0 pulse(-1 1 0 1e-5 1e-5 5e-4 1e-3 45.0)
r2 2 0 1k
*
.end