Go to the documentation of this file.
28 #ifndef __DEV_INTPIN_HH__
29 #define __DEV_INTPIN_HH__
31 #include <type_traits>
45 template <
class Device>
50 onChange([dev, num](
const bool &new_val) {
52 dev->raiseInterruptPin(num);
54 dev->lowerInterruptPin(num);
58 template <
class Device>
74 template <
class Compat>
80 template <
class Device>
89 void raise() {
set(
true); }
93 template <
class Compat>
98 #endif //__DEV_INTPIN_HH__
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
IntSinkPinBase(const std::string &_name, PortID _id, Device *dev, int num)
IntSourcePinBase(const std::string &_name, PortID _id)
IntSinkPinBase(const std::string &_name, PortID _id, int num)
void onChange(OnChangeFunc func)
void set(const bool &new_state)
IntSinkPinBase(const std::string &_name, PortID _id)
IntSinkPinBase(const std::string &_name, PortID _id, Device *dev)
IntSourcePinBase(const std::string &_name, PortID _id, Device *owner)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:55 for gem5 by doxygen 1.8.17