The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Spectre pwl help
https://designers-guide.org/forum/YaBB.pl?num=1470784448

Message started by temp12 on Aug 9th, 2016, 4:14pm

Title: Spectre pwl help
Post by temp12 on Aug 9th, 2016, 4:14pm

Hi,
I need a syntax to write a pwl statement and repeat in spectre
e.g.
0n 0 1n v1 2n v1 3n 0 4n v2 5n v2 6n 0 10n 0 and then repeat from t=0

Title: Re: Spectre pwl help
Post by Ken Kundert on Aug 10th, 2016, 3:42pm

Run 'spectre -h vsource' for such information.

Bascially, use something like ...


Code:
Vin (p n) vsource type=pwl wave=[0n 0 1n v1 2n v1 3n 0 4n v2 5n v2 6n 0 10n 0] pwlperiod=10ns


-Ken

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.