From cdb3eb7e6be22e706bd807b540b0c991872d8706 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 6 Jul 2000 18:13:24 +0000 Subject: [PATCH] Connect all the l and r bits of a NE expression. --- elab_net.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/elab_net.cc b/elab_net.cc index 7ac617423..f7de93a97 100644 --- a/elab_net.cc +++ b/elab_net.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: elab_net.cc,v 1.39 2000/06/03 02:13:15 steve Exp $" +#ident "$Id: elab_net.cc,v 1.40 2000/07/06 18:13:24 steve Exp $" #endif # include "PExpr.h" @@ -471,7 +471,7 @@ NetNet* PEBinary::elaborate_net_cmp_(Design*des, const string&path, gate = new NetLogic(des->local_symbol(path), 1+dwidth, NetLogic::OR); connect(gate->pin(0), osig->pin(0)); - for (unsigned idx = 0 ; idx < lsig->pin_count() ; idx += 1) { + for (unsigned idx = 0 ; idx < dwidth ; idx += 1) { NetLogic*cmp = new NetLogic(des->local_symbol(path), 3, NetLogic::XOR); if (idx < lsig->pin_count()) @@ -1578,6 +1578,9 @@ NetNet* PEUnary::elaborate_net(Design*des, const string&path, /* * $Log: elab_net.cc,v $ + * Revision 1.40 2000/07/06 18:13:24 steve + * Connect all the l and r bits of a NE expression. + * * Revision 1.39 2000/06/03 02:13:15 steve * Output signal of + is a temporary. *