Go to the documentation of this file.
51 std::ostream& warningStream,
52 std::ostream& errorStream):
54 integrator, warningStream, errorStream) {
61 std::vector<TCEString>
74 std::vector<TCEString> files;
75 files.push_back(outputFile);
89 addGenerics(integratorBlock, addrwGeneric, datawGeneric, memIndex);
static const TCEString INIT_FILE_G
static const TCEString ADDRW_G
const PlatformIntegrator * platformIntegrator() const
static const TCEString DATAW_G
virtual TCEString instanceName(int coreId, int memIndex) const =0
TCEString initializationFile() const
TCEString ttaCoreName() const
void setParameter(const std::string &name, const std::string &type, const std::string &value)
void instantiateTemplate(const TCEString &inFile, const TCEString &outFile, const TCEString &entity) const
TCEString templatePath() const
static std::string toString(const T &source)
virtual ~AlteraMemGenerator()
virtual void addMemory(const ProGe::NetlistBlock &ttaCore, ProGe::NetlistBlock &integratorBlock, int memIndex, int coreId)
static const TCEString DEV_FAMILY_G
virtual bool hasParameter(const std::string &name) const
const TCEString & name() const
virtual TCEString moduleName() const =0
AlteraMemGenerator(int memMauWidth, int widthInMaus, int addrWidth, TCEString initFile, const PlatformIntegrator *integrator, std::ostream &warningStream, std::ostream &errorStream)
virtual void addGenerics(ProGe::NetlistBlock &topBlock, const TCEString &addrWidth, const TCEString &dataWidth, int memIndex)
static const std::string DIRECTORY_SEPARATOR
virtual void addMemory(const ProGe::NetlistBlock &ttaCore, ProGe::NetlistBlock &integratorBlock, int memIndex, int coreId)
std::vector< TCEString > instantiateAlteraTemplate(const TCEString &templateFile, const TCEString &outputPath) const
void addParameter(const ProGe::Parameter &add)
int memoryTotalWidth() const
int memoryAddrWidth() const