Go to the documentation of this file.
35 #ifndef TTA_NETLIST_BLOCK_HH
36 #define TTA_NETLIST_BLOCK_HH
49 class HWBlockImplementationParameter;
70 const std::string&
name,
71 const std::string& type,
72 const std::string& value);
85 const std::string& portName,
86 bool partialMatch =
true);
105 const Path& targetBaseDir,
HDL targetLang =
VHDL)
const override;
NetlistPort * addPort(NetlistPort *port)
const std::string name() const
virtual void write(const Path &targetBaseDir, HDL targetLang=VHDL) const override
void addSubBlock(BaseNetlistBlock *subBlock, const std::string &instanceName="")
void setParameter(const Parameter ¶m)
void removePort(NetlistPort *port)
void addParameter(const Parameter ¶m)
const std::string & instanceName() const
void setParameter(const std::string &name, const std::string &type, const std::string &value)
virtual const std::string & package(size_t idx) const
virtual const NetlistBlock & parentBlock() const override
virtual const Netlist & netlist() const
void addPortGroup(NetlistPortGroup *portGroup)
virtual const Parameter & parameter(const std::string &name) const
virtual size_t portCount() const
virtual size_t packageCount() const
void addPackage(const std::string &packageName)
NetlistBlock * shallowCopy(const std::string &instanceName) const
void removePort(NetlistPort &port)
HDL
HDLs supported by ProGe.
const std::string & moduleName() const
NetlistBlock & subBlock(size_t index) override
NetlistBlock(const std::string &moduleName, const std::string &instanceName, BaseNetlistBlock *parent=NULL)
virtual NetlistPort * port(const std::string &portName, bool partialMatch=true)
virtual size_t subBlockCount() const
virtual const NetlistPort & port(size_t index) const