diff --git a/elab_net.cc b/elab_net.cc index 7687bdb66..2fd5a6ced 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 */ #ifdef HAVE_CVS_IDENT -#ident "$Id: elab_net.cc,v 1.138.2.2 2005/02/19 16:39:30 steve Exp $" +#ident "$Id: elab_net.cc,v 1.138.2.3 2005/09/11 02:56:37 steve Exp $" #endif # include "config.h" @@ -1439,6 +1439,7 @@ NetNet* PEIdent::elaborate_net_bitmux_(Design*des, NetScope*scope, NetMux*mux = new NetMux(scope, scope->local_symbol(), 1, sig_width, sel->pin_count()); + mux->set_line(*this); /* Connect the signal bits to the mux. Account for the direction of the numbering (lsb to msb vs. msb to lsb) by @@ -2272,6 +2273,7 @@ NetNet* PETernary::elaborate_net(Design*des, NetScope*scope, (true) connected to tru_sig. */ NetMux*mux = new NetMux(scope, scope->local_symbol(), dwidth, 2, 1); + mux->set_line(*this); connect(mux->pin_Sel(0), expr_sig->pin(0)); /* Connect the data inputs. */ @@ -2517,6 +2519,9 @@ NetNet* PEUnary::elaborate_net(Design*des, NetScope*scope, /* * $Log: elab_net.cc,v $ + * Revision 1.138.2.3 2005/09/11 02:56:37 steve + * Attach line numbers to NetMux devices. + * * Revision 1.138.2.2 2005/02/19 16:39:30 steve * Spellig fixes. * diff --git a/expr_synth.cc b/expr_synth.cc index d234c3da7..5f6671cff 100644 --- a/expr_synth.cc +++ b/expr_synth.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: expr_synth.cc,v 1.59.2.1 2005/02/19 16:39:31 steve Exp $" +#ident "$Id: expr_synth.cc,v 1.59.2.2 2005/09/11 02:56:37 steve Exp $" #endif # include "config.h" @@ -811,6 +811,7 @@ NetNet* NetETernary::synthesize(Design *des) perm_string oname = csig->scope()->local_symbol(); NetMux *mux = new NetMux(csig->scope(), oname, width, 2, 1); + mux->set_line(*this); for (unsigned idx = 0 ; idx < width; idx += 1) { connect(tsig->pin(idx), mux->pin_Data(idx, 1)); connect(fsig->pin(idx), mux->pin_Data(idx, 0)); @@ -875,6 +876,9 @@ NetNet* NetESignal::synthesize(Design*des) /* * $Log: expr_synth.cc,v $ + * Revision 1.59.2.2 2005/09/11 02:56:37 steve + * Attach line numbers to NetMux devices. + * * Revision 1.59.2.1 2005/02/19 16:39:31 steve * Spellig fixes. * diff --git a/synth2.cc b/synth2.cc index be7bc2d5f..8ef8eaaf9 100644 --- a/synth2.cc +++ b/synth2.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: synth2.cc,v 1.39.2.2 2005/08/22 01:00:42 steve Exp $" +#ident "$Id: synth2.cc,v 1.39.2.3 2005/09/11 02:56:38 steve Exp $" #endif # include "config.h" @@ -293,6 +293,7 @@ bool NetCase::synth_async(Design*des, NetScope*scope, NetMux*mux = new NetMux(scope, scope->local_symbol(), nex_out->pin_count(), 1U << sel_pins, sel_pins); + mux->set_line(*this); /* Connect the non-constant select bits to the select input of the mux device. */ @@ -484,6 +485,7 @@ bool NetCondit::synth_async(Design*des, NetScope*scope, NetMux*mux = new NetMux(scope, scope->local_symbol(), nex_out->pin_count(), 2, 1); + mux->set_line(*this); connect(mux->pin_Sel(0), ssig->pin(0)); @@ -1107,6 +1109,9 @@ void synth2(Design*des) /* * $Log: synth2.cc,v $ + * Revision 1.39.2.3 2005/09/11 02:56:38 steve + * Attach line numbers to NetMux devices. + * * Revision 1.39.2.2 2005/08/22 01:00:42 steve * Add support for implicit defaults in case and conditions. *