Method to get the type_ member
This commit is contained in:
parent
73283768a5
commit
6fc556cefc
10
PGate.cc
10
PGate.cc
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT) && !defined(macintosh)
|
#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
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -178,8 +178,16 @@ void PGModule::set_range(PExpr*msb, PExpr*lsb)
|
||||||
lsb_ = lsb;
|
lsb_ = lsb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const string PGModule::get_type()
|
||||||
|
{
|
||||||
|
return type_;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: PGate.cc,v $
|
* $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
|
* Revision 1.10 2001/07/25 03:10:48 steve
|
||||||
* Create a config.h.in file to hold all the config
|
* Create a config.h.in file to hold all the config
|
||||||
* junk, and support gcc 3.0. (Stephan Boettcher)
|
* junk, and support gcc 3.0. (Stephan Boettcher)
|
||||||
|
|
|
||||||
7
PGate.h
7
PGate.h
|
|
@ -19,7 +19,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT) && !defined(macintosh)
|
#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
|
#endif
|
||||||
|
|
||||||
# include "svector.h"
|
# include "svector.h"
|
||||||
|
|
@ -196,6 +196,8 @@ class PGModule : public PGate {
|
||||||
virtual void elaborate_scope(Design*des, NetScope*sc) const;
|
virtual void elaborate_scope(Design*des, NetScope*sc) const;
|
||||||
virtual bool elaborate_sig(Design*des, NetScope*scope) const;
|
virtual bool elaborate_sig(Design*des, NetScope*scope) const;
|
||||||
|
|
||||||
|
const string get_type();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string type_;
|
string type_;
|
||||||
svector<PExpr*>*overrides_;
|
svector<PExpr*>*overrides_;
|
||||||
|
|
@ -218,6 +220,9 @@ class PGModule : public PGate {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: PGate.h,v $
|
* $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
|
* Revision 1.19 2001/04/22 23:09:45 steve
|
||||||
* More UDP consolidation from Stephan Boettcher.
|
* More UDP consolidation from Stephan Boettcher.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue