Go to the documentation of this file.
36 #ifndef NETLISTFACTORIES_HH
37 #define NETLISTFACTORIES_HH
87 typedef std::map<SignalType, const NetlistPort*>
89 typedef std::map<SignalGroupType, const NetlistPortGroup*>
TTAMachine::Machine * machine
the architecture definition of the estimated processor
static NetlistPort * resetPort(Direction direction=IN)
NetlistPort * createPort(SignalType type, Direction direction=IN) const
void registerPortGroups()
std::map< SignalGroupType, const NetlistPortGroup * > PortGroupPrototypeContainer
static void initializeContext(const TTAMachine::Machine &machine, const IDF::MachineImplementation &impl)
static const TTAMachine::Machine * staticMachine_
The creation context for singleton instance.
PortPrototypeContainer portPrototypes_
The creation context.
static PortFactory * instance()
static const IDF::MachineImplementation * staticImplementation_
The creation context for singleton instance.
void registerPortGroup(SignalGroupType type, const NetlistPortGroup *portGroup)
static NetlistPort * clockPort(Direction direction=IN)
static PortFactory * instance_
Singleton instance of the factory.
NetlistPortGroup * createPortGroup(SignalGroupType type) const
static NetlistPort * create(SignalType type, Direction direction=IN)
PortGroupPrototypeContainer portGroupPrototypes_
Registered NetlistPortGroup prototypes.
std::map< SignalType, const NetlistPort * > PortPrototypeContainer
Direction
Direction of the port.
void registerPort(SignalType, const NetlistPort *port)