1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
* /home/fossee/downloads/powercktexamples/hwr6/hwr6.cir .include scr.sub x3 gnd pulse r1 scr v1 in gnd sine(0 100 50 0 0) v2 pulse gnd pulse(0 5 4m 0 0 1m 20m) r1 in r1 100 .tran 40e-06 40e-03 0e-00 * Control Statements .control run print allv > plot_data_v.txt print alli > plot_data_i.txt .endc .end