Go to the documentation of this file.
28 #ifndef __DEV_INTPIN_HH__
29 #define __DEV_INTPIN_HH__
74 template <
class Device>
108 template <
class Device>
113 bool def_state=
false) :
118 #endif //__DEV_INTPIN_HH__
IntSinkPin(const std::string &_name, PortID _id, Device *dev, int num)
void unbind() override
Dettach from a peer port.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
void unbind() override
Dettach from a peer port.
void lowerOnDevice() override
IntSinkPinBase(const std::string &_name, PortID _id, int num)
void raiseOnDevice() override
IntSourcePinBase * source
Ports are used to interface objects to each other.
virtual void lowerOnDevice()=0
virtual void raiseOnDevice()=0
IntSourcePinBase(const std::string &_name, PortID _id, bool def_state)
void bind(Port &peer) override
Attach to a peer port.
IntSourcePin(const std::string &_name, PortID _id, Device *owner, bool def_state=false)
IntSinkPin(const std::string &_name, PortID _id, Device *dev)
void bind(Port &peer) override
Attach to a peer port.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17