Go to the documentation of this file.
54 std::ostream& warningStream,
55 std::ostream& errorStream) :
57 integrator, warningStream, errorStream) {
67 new HDLPort(
"STRATIXII_SRAM_ADDR",
"sram_addrw",
120 integratorBlock, *memPort, *corePort,
134 std::vector<TCEString>
137 vector<TCEString> noFileToGenerate;
138 return noFileToGenerate;
145 return "stratixII_sram_comp";
const HDLPort * port(int index) const
virtual TCEString instanceName(int coreId, int memIndex) const
void addPort(const TCEString &name, HDLPort *port)
@ BIT_VECTOR
Several bits.
const TCEString & type() const
void setParameter(const std::string &name, const std::string &type, const std::string &value)
@ BIDIR
Bidirectional port.
TCEString memoryIndexString(int coreId, int memIndex) const
ProGe::NetlistPort * convertToNetlistPort(ProGe::NetlistBlock &block) const
virtual ~Stratix2SramGenerator()
#define assert(condition)
const ProGe::Parameter & parameter(int index) const
const TCEString & name() const
const TCEString & value() const
virtual std::vector< TCEString > generateComponentFile(TCEString outputPath)
Stratix2SramGenerator(int memMauWidth, int widthInMaus, int addrWidth, TCEString initFile, const PlatformIntegrator *integrator, std::ostream &warningStream, std::ostream &errorStream)
TCEString corePortName(const TCEString &portBaseName, int coreId) const
virtual void connectPorts(ProGe::NetlistBlock &netlistBlock, const ProGe::NetlistPort &memPort, const ProGe::NetlistPort &corePort, bool inverted, int coreId)
void addParameter(const ProGe::Parameter &add)
TCEString portKeyName(const HDLPort *port) const
virtual void addMemory(const ProGe::NetlistBlock &ttaCore, ProGe::NetlistBlock &integratorBlock, int memIndex, int coreId)
virtual TCEString moduleName() const
int parameterCount() const
virtual NetlistPort * port(const std::string &portName, bool partialMatch=true)
virtual bool generatesComponentHdlFile() const
bool needsInversion() const