From 1cc68f745a0810645cf9dcea51c1266228e66bbc Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 6 Oct 1999 00:39:00 +0000 Subject: [PATCH] == and != connected to the wrong pins of the compare. --- elaborate.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/elaborate.cc b/elaborate.cc index 211f4b0d3..df550ab1e 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: elaborate.cc,v 1.109 1999/10/05 06:19:46 steve Exp $" +#ident "$Id: elaborate.cc,v 1.110 1999/10/06 00:39:00 steve Exp $" #endif /* @@ -723,7 +723,7 @@ NetNet* PEBinary::elaborate_net(Design*des, const string&path, NetLogic::XNOR); connect(gate_t->pin(1), lsig->pin(idx)); connect(gate_t->pin(2), rsig->pin(idx)); - connect(gate_t->pin(0), gate->pin(idx)); + connect(gate_t->pin(0), gate->pin(idx+1)); des->add_node(gate_t); } des->add_signal(osig); @@ -746,7 +746,7 @@ NetNet* PEBinary::elaborate_net(Design*des, const string&path, NetLogic::XOR); connect(gate_t->pin(1), lsig->pin(idx)); connect(gate_t->pin(2), rsig->pin(idx)); - connect(gate_t->pin(0), gate->pin(idx)); + connect(gate_t->pin(0), gate->pin(idx+1)); des->add_node(gate_t); } des->add_signal(osig); @@ -2553,6 +2553,9 @@ Design* elaborate(const map&modules, /* * $Log: elaborate.cc,v $ + * Revision 1.110 1999/10/06 00:39:00 steve + * == and != connected to the wrong pins of the compare. + * * Revision 1.109 1999/10/05 06:19:46 steve * Add support for reduction NOR. *