Method to get the type_ member

This commit is contained in:
steve 2001-10-19 01:55:32 +00:00
parent 73283768a5
commit 6fc556cefc
2 changed files with 15 additions and 2 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PGate.cc,v 1.10 2001/07/25 03:10:48 steve Exp $"
#ident "$Id: PGate.cc,v 1.11 2001/10/19 01:55:32 steve Exp $"
#endif
# include "config.h"
@ -178,8 +178,16 @@ void PGModule::set_range(PExpr*msb, PExpr*lsb)
lsb_ = lsb;
}
const string PGModule::get_type()
{
return type_;
}
/*
* $Log: PGate.cc,v $
* Revision 1.11 2001/10/19 01:55:32 steve
* Method to get the type_ member
*
* Revision 1.10 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PGate.h,v 1.19 2001/04/22 23:09:45 steve Exp $"
#ident "$Id: PGate.h,v 1.20 2001/10/19 01:55:32 steve Exp $"
#endif
# include "svector.h"
@ -196,6 +196,8 @@ class PGModule : public PGate {
virtual void elaborate_scope(Design*des, NetScope*sc) const;
virtual bool elaborate_sig(Design*des, NetScope*scope) const;
const string get_type();
private:
string type_;
svector<PExpr*>*overrides_;
@ -218,6 +220,9 @@ class PGModule : public PGate {
/*
* $Log: PGate.h,v $
* Revision 1.20 2001/10/19 01:55:32 steve
* Method to get the type_ member
*
* Revision 1.19 2001/04/22 23:09:45 steve
* More UDP consolidation from Stephan Boettcher.
*