SPICE Waveperl Sript (digital version)
WaveFormer ships with a Waveperl script for exporting timing information to digital SPICE code.
Below is an example of a SPICE file created using the digital SPICE export script.
Digital SPICE testbench generated by WaveFormer
USIG0 STIM(1,1) $G_DPWR $G_DGND SIG0 IO_STM
+ 0ps 1
+ 50000ps 0
+ 90000ps 1
+ 180000ps 0
+ 240000ps 1
USIG1 STIM(1,1) $G_DPWR $G_DGND SIG1 IO_STM
+ 0ps 1
+ 30000ps 0
+ 53000ps 1
+ 107000ps 0
+ 137000ps 1
+ 168000ps 0
+ 212000ps 1
+ 234000ps 0
UCLK0 STIM(1,1) $G_DPWR $G_DGND CLK0 IO_STM
+ 0ps 0
+ +0ps 1
REPEAT FOREVER
+ +50000ps 0
+ +50000ps 1
ENDREPEAT
UCLK1 STIM(1,1) $G_DPWR $G_DGND CLK1 IO_STM
+ 0ps 1
+ +0ps 0
REPEAT FOREVER
+ +10000ps 1
+ +40000ps 0
ENDREPEAT
|