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 --- src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub (limited to 'src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub') diff --git a/src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub b/src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub new file mode 100644 index 00000000..473dc907 --- /dev/null +++ b/src/SubcircuitLibrary/CSLA_BEC1_logic/MUX.sub @@ -0,0 +1,22 @@ +* Subcircuit MUX +.subckt MUX net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ +* c:\esim\esim\src\subcircuitlibrary\mux\mux.cir +* u3 net-_u1-pad2_ net-_u2-pad2_ net-_u3-pad3_ d_and +* u4 net-_u1-pad1_ net-_u1-pad3_ net-_u4-pad3_ d_and +* u5 net-_u3-pad3_ net-_u4-pad3_ net-_u1-pad4_ d_or +* u2 net-_u1-pad1_ net-_u2-pad2_ d_inverter +a1 [net-_u1-pad2_ net-_u2-pad2_ ] net-_u3-pad3_ u3 +a2 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u4-pad3_ u4 +a3 [net-_u3-pad3_ net-_u4-pad3_ ] net-_u1-pad4_ u5 +a4 net-_u1-pad1_ net-_u2-pad2_ u2 +* Schematic Name: d_and, NgSpice Name: d_and +.model u3 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_or, NgSpice Name: d_or +.model u5 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Schematic Name: d_inverter, NgSpice Name: d_inverter +.model u2 d_inverter(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) +* Control Statements + +.ends MUX \ No newline at end of file -- cgit