From 086a07cc828d4b425183d56cff42d3f1412fd0d1 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sun, 22 Nov 2015 21:53:03 +0100 Subject: [PATCH] MUX41 added --- mux41.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mux41.txt diff --git a/mux41.txt b/mux41.txt new file mode 100644 index 0000000..e26e46d --- /dev/null +++ b/mux41.txt @@ -0,0 +1,40 @@ +#/\---Insert mux21 --- +DEF MUX41 + PORT IN I0 + PORT IN I1 + PORT IN I2 + PORT IN I3 + PORT IN S<1:0> + PORT OUT Z + + NET A1 + NET B1 + NET C1 + NET Z1 + + NET B2 + NET C2 + NET Z2 + + NET A3 + NET B3 + NET C3 + + #/\---INST MUX0 MUX21 I0 I1 S<0> A + INST NAND11 NAND S<0> S<0> A1 + INST NAND12 NAND S<0> I1 B1 + INST NAND13 NAND I0 A1 C1 + INST NAND14 NAND B1 C1 Z1 + + #/\---INST MUX1 MUX21 I2 I3 S<0> B + #/\---INST NAND1 NAND S<0> S<0> A2 kommt von MUX0 + INST NAND22 NAND S<0> I3 B2 + INST NAND23 NAND I2 A1 C2 + INST NAND24 NAND B2 C2 Z2 + + #/\---INST MUX2 MUX21 A B S<1> Z + INST NAND31 NAND S<1> S<1> A3 + INST NAND32 NAND S<1> Z2 B3 + INST NAND33 NAND Z1 A3 C3 + INST NAND34 NAND B3 C3 Z +ENDDEF