diff options
author | rahulp13 | 2020-02-14 15:16:35 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-14 15:16:35 +0530 |
commit | cb55e59de7ee4383c04edfae7c39ad9ae9552b36 (patch) | |
tree | de1b292a10e8196689bf1a208fe6fe32f4618846 /Examples/Half_Adder/Half_Adder.cir.out | |
parent | 08d4a0336550a0e610709970a0c5d366e109fe82 (diff) | |
download | eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.gz eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.bz2 eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.zip |
common code for Win and Linux, merged py2 changes
Diffstat (limited to 'Examples/Half_Adder/Half_Adder.cir.out')
-rw-r--r-- | Examples/Half_Adder/Half_Adder.cir.out | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Examples/Half_Adder/Half_Adder.cir.out b/Examples/Half_Adder/Half_Adder.cir.out new file mode 100644 index 00000000..96066fff --- /dev/null +++ b/Examples/Half_Adder/Half_Adder.cir.out @@ -0,0 +1,33 @@ +* /home/fossee/updatedexamples/half_adder/half_adder.cir + +.include half_adder.sub +x1 net-_u1-pad3_ net-_u1-pad4_ net-_u2-pad1_ net-_u2-pad2_ half_adder +* u1 in1 in2 net-_u1-pad3_ net-_u1-pad4_ adc_bridge_2 +* u2 net-_u2-pad1_ net-_u2-pad2_ sum cout dac_bridge_2 +v1 in1 gnd dc 5 +v2 in2 gnd dc 0 +r1 sum gnd 1k +r2 cout gnd 1k +* u3 in1 plot_v1 +* u4 in2 plot_v1 +* u5 sum plot_v1 +* u6 cout plot_v1 +a1 [in1 in2 ] [net-_u1-pad3_ net-_u1-pad4_ ] u1 +a2 [net-_u2-pad1_ net-_u2-pad2_ ] [sum cout ] u2 +* Schematic Name: adc_bridge_2, NgSpice Name: adc_bridge +.model u1 adc_bridge(fall_delay=1.0e-9 in_high=2.0 rise_delay=1.0e-9 in_low=1.0 ) +* Schematic Name: dac_bridge_2, NgSpice Name: dac_bridge +.model u2 dac_bridge(out_undef=0.5 out_low=0.0 out_high=5.0 t_rise=1.0e-9 t_fall=1.0e-9 input_load=1.0e-12 ) +.tran 10e-03 100e-03 0e-03 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +plot v(in1) +plot v(in2) +plot v(sum) +plot v(cout) +.endc +.end |