SPICE Waveperl Sript (analog version)
WaveFormer ships with a Waveperl script for exporting timing information to analog SPICE code. Signals
are modeled using piecewise linear (PWL) voltage sources. Clocks are modelled using PULSE voltage sources.
You can also create and view analog waveforms.
Below is an example of a SPICE file created using the analog SPICE export script.
Analog SPICE testbench generated by WaveFormer
*Spice signals generated by WaveFormer 32
*Spice signals generated by The Timing Diagrammer
VSIG0 $SIG0 0 PWL(
+ 0ps 2.5V
+ 0ps 5V
+ 50000ps 5V
+ 50100ps 0V
+ 90000ps 0V
+ 90100ps 5V
+ 180000ps 5V
+ 180100ps 0V
+ 240000ps 0V
+ 240100ps 5V
)
VSIG1 $SIG1 0 PWL(
+ 0ps 2.5V
+ 0ps 5V
+ 30000ps 5V
+ 30100ps 0V
+ 53000ps 0V
+ 53100ps 5V
+ 107000ps 5V
+ 107100ps 0V
+ 137000ps 0V
+ 137100ps 5V
+ 168000ps 5V
+ 168100ps 0V
+ 212000ps 0V
+ 212100ps 5V
+ 234000ps 5V
+ 234100ps 0V
)
VCLK0 $CLK0 0 PULSE(
0V 5V0ps 100ps 100ps 50000ps 100000ps
)
VCLK1 $CLK1 0 PULSE(
5V 0V0ps 100ps 100ps 10000ps 50000ps
)
|