From b085a3df519debbc99acf4ded7e118a1690d6665 Mon Sep 17 00:00:00 2001 From: nilshah98 Date: Tue, 2 Jul 2019 16:42:20 +0530 Subject: Subcircuit added by ECE fellows 2019 --- .../LOGIC_ADDER/LOGIC_ADDER.cir.out | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/SubcircuitLibrary/LOGIC_ADDER/LOGIC_ADDER.cir.out (limited to 'src/SubcircuitLibrary/LOGIC_ADDER/LOGIC_ADDER.cir.out') diff --git a/src/SubcircuitLibrary/LOGIC_ADDER/LOGIC_ADDER.cir.out b/src/SubcircuitLibrary/LOGIC_ADDER/LOGIC_ADDER.cir.out new file mode 100644 index 00000000..df9bcde6 --- /dev/null +++ b/src/SubcircuitLibrary/LOGIC_ADDER/LOGIC_ADDER.cir.out @@ -0,0 +1,32 @@ +* c:\esim\esim\src\subcircuitlibrary\logic_adder\logic_adder.cir + +* u2 a b net-_u2-pad3_ d_and +* u4 net-_u3-pad3_ cin net-_u4-pad3_ d_and +* u3 a b net-_u3-pad3_ d_xor +* u5 net-_u3-pad3_ cin sum d_xor +* u6 net-_u2-pad3_ net-_u4-pad3_ carry d_or +* u1 a b cin sum carry port +a1 [a b ] net-_u2-pad3_ u2 +a2 [net-_u3-pad3_ cin ] net-_u4-pad3_ u4 +a3 [a b ] net-_u3-pad3_ u3 +a4 [net-_u3-pad3_ cin ] sum u5 +a5 [net-_u2-pad3_ net-_u4-pad3_ ] carry u6 +* Schematic Name: d_and, NgSpice Name: d_and +.model u2 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Schematic Name: d_and, NgSpice Name: d_and +.model u4 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Schematic Name: d_xor, NgSpice Name: d_xor +.model u3 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Schematic Name: d_xor, NgSpice Name: d_xor +.model u5 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Schematic Name: d_or, NgSpice Name: d_or +.model u6 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +.tran 10e-03 100e-03 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end -- cgit