Go to the documentation of this file.
35 #ifndef TTA_NETLIST_HH
36 #define TTA_NETLIST_HH
45 #include <boost/graph/adjacency_list.hpp>
56 class NetlistPortGroup;
63 class Netlist :
public boost::adjacency_list<
64 boost::vecS, boost::vecS, boost::bidirectionalS, NetlistPort*,
65 PortConnectionProperty> {
94 std::map<SignalType, SignalType> connectionMap);
116 const std::string& name,
117 const std::string& type,
118 const std::string& value);
125 typedef boost::graph_traits<Netlist>::edge_iterator
iterator;
void removeParameter(const std::string &name)
void unregisterPort(NetlistPort &port)
std::vector< Parameter > ParameterTable
Vector type for parameters.
ParameterTable parameters_
Parameters of the netlist.
bool isPortConnected(const NetlistPort &port) const
#define IGNORE_CLANG_WARNING(X)
void disconnectPorts(const NetlistPort &port1, const NetlistPort &port2)
descriptor_iterator descriptorEnd()
bool connect(const NetlistPort &port1, const NetlistPort &port2, int port1FirstBit, int port2FirstBit, int width=1)
bool connectGroupByName(const NetlistPortGroup &group1, const NetlistPortGroup &group2)
size_t parameterCount() const
bool hasParameter(const std::string &name) const
DescriptorMap::iterator descriptor_iterator
descriptor_iterator descriptorBegin()
DescriptorMap::const_iterator const_descriptor_iterator
static const std::string INVERTER_MODULE
boost::graph_traits< Netlist >::edge_iterator iterator
static void connectClocks(NetlistBlock &block)
size_t descriptor(const NetlistPort &port) const
static void connectResets(NetlistBlock &block)
std::map< const NetlistPort *, size_t > DescriptorMap
Map type for vertex descriptors.
bool isRegistered(const NetlistPort &port) const
size_t registerPort(NetlistPort &port)
bool hasConnections() const
Parameter parameter(size_t index) const
boost::graph_traits< const Netlist >::edge_iterator const_iterator
void setParameter(const std::string &name, const std::string &type, const std::string &value)
DescriptorMap vertexDescriptorMap_
Vertex descriptor map.
TCEString coreEntityName_
This should be set to the entity name of the generate core, if it's not the same as the toplevel modu...
static const std::string INVERTER_INPUT
static const std::string INVERTER_OUTPUT
bool connectBy(SignalType byType, const NetlistPortGroup &group1, const NetlistPortGroup &group2)