From e6cdd32c190f1a91bd6e049c97364b7c680b9cb6 Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 30 Jan 2005 01:43:48 +0000 Subject: [PATCH] Clarify width argument to NetNet constructor. --- netlist.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/netlist.h b/netlist.h index ca3c48be5..e9156ad00 100644 --- a/netlist.h +++ b/netlist.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: netlist.h,v 1.330 2005/01/28 05:39:33 steve Exp $" +#ident "$Id: netlist.h,v 1.331 2005/01/30 01:43:48 steve Exp $" #endif /* @@ -372,7 +372,10 @@ class NetNet : public NetObj { enum PortType { NOT_A_PORT, PIMPLICIT, PINPUT, POUTPUT, PINOUT }; - explicit NetNet(NetScope*s, perm_string n, Type t, unsigned npins =1); + // The width in this case is a shorthand for ms=width-1 and + // ls=0. Only one pin is created, the width is of the vector + // that passed through. + explicit NetNet(NetScope*s, perm_string n, Type t, unsigned width =1); explicit NetNet(NetScope*s, perm_string n, Type t, long ms, long ls); @@ -3367,6 +3370,9 @@ extern ostream& operator << (ostream&, NetNet::Type); /* * $Log: netlist.h,v $ + * Revision 1.331 2005/01/30 01:43:48 steve + * Clarify width argument to NetNet constructor. + * * Revision 1.330 2005/01/28 05:39:33 steve * Simplified NetMult and IVL_LPM_MULT. *