Go to the documentation of this file.
33 #ifndef TTA_CENTRALIZED_CONTROL_IC_GENERATOR_HH
34 #define TTA_CENTRALIZED_CONTROL_IC_GENERATOR_HH
60 const std::string& socketName)
const;
62 const std::string& socketName)
const;
82 const std::string& socketName,
85 const std::string& socketName,
ProGe::NetlistPort & busCntrlPortOfSocket(const std::string &socketName) const
NetlistPortMap simmCntrlPortMap_
Maps the short immediate control ports for buses.
NetlistPortMap simmDataPortMap_
Maps the short immediate data ports for buses.
ProGe::NetlistPort * glockPort_
(optional) Glock port
CentralizedControlICGenerator()
std::map< std::string, ProGe::NetlistPort * > NetlistPortMap
ProGe::NetlistPort & simmCntrlPort(const std::string &busName) const
void mapDataCntrlPortOfSocket(const std::string &socketName, ProGe::NetlistPort &port)
NetlistPortMap socketDataPortMap_
Maps the data ports of sockets.
virtual ~CentralizedControlICGenerator()
ProGe::NetlistPort & simmDataPort(const std::string &busName) const
void mapBusCntrlPortOfSocket(const std::string &socketName, ProGe::NetlistPort &port)
NetlistPortMap dataCntrlPortMap_
Maps the data control ports of sockets.
virtual int outputSocketDataControlValue(const TTAMachine::Socket &socket, const TTAMachine::Port &port) const =0
virtual int outputSocketCntrlPinForSegment(const TTAMachine::Socket &socket, const TTAMachine::Segment &segment) const =0
NetlistPortMap busCntrlPortMap_
Maps the bus control ports of sockets.
void setGlockPort(ProGe::NetlistPort &glockPort)
void mapSImmDataPort(const std::string &busName, ProGe::NetlistPort &port)
ProGe::NetlistPort & glockPort() const
void mapSImmCntrlPort(const std::string &busName, ProGe::NetlistPort &port)
bool hasGlockPort() const
ProGe::NetlistPort & dataCntrlPortOfSocket(const std::string &socketName) const
virtual int inputSocketControlValue(const TTAMachine::Socket &socket, const TTAMachine::Segment &segment) const =0