diff options
author | Sunil Shetye | 2019-07-01 18:12:34 +0530 |
---|---|---|
committer | GitHub | 2019-07-01 18:12:34 +0530 |
commit | 29dc2de214a60216e62d80dfa3e5cbd998c2d6ee (patch) | |
tree | 6d3b2a1ba2c92ba6bfb898f534576a2331cf9f9d /Examples/HalfAdder/HalfAdder.cir.out | |
parent | 6b410587b3101af7c6378c8e816e7d357beb1929 (diff) | |
parent | aec27ddec95f30c155ad356da24eb7e3ce2247cd (diff) | |
download | eSim-29dc2de214a60216e62d80dfa3e5cbd998c2d6ee.tar.gz eSim-29dc2de214a60216e62d80dfa3e5cbd998c2d6ee.tar.bz2 eSim-29dc2de214a60216e62d80dfa3e5cbd998c2d6ee.zip |
Merge pull request #114 from sunilshetye/masterfixes
Master fixes
Diffstat (limited to 'Examples/HalfAdder/HalfAdder.cir.out')
-rw-r--r-- | Examples/HalfAdder/HalfAdder.cir.out | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Examples/HalfAdder/HalfAdder.cir.out b/Examples/HalfAdder/HalfAdder.cir.out new file mode 100644 index 00000000..96066fff --- /dev/null +++ b/Examples/HalfAdder/HalfAdder.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 |