OpenASIP
2.0
|
#include <AlteraIntegrator.hh>
Protected Member Functions | |
virtual MemoryGenerator & | imemInstance (MemInfo imem, int coreId) |
virtual MemoryGenerator & | dmemInstance (MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts) |
Protected Member Functions inherited from PlatformIntegrator | |
ProGe::NetlistBlock * | integratorBlock () |
virtual void | initPlatformNetlist (const ProGe::NetlistBlock *progeBlock) |
virtual bool | integrateCore (const ProGe::NetlistBlock &cores, int coreId) |
virtual void | exportUnconnectedPorts (int coreId) |
virtual void | connectToplevelPort (const ProGe::NetlistPort &corePort, const TCEString signalPrefix="") |
virtual TCEString | pinTag () const =0 |
virtual bool | chopTaggedSignals () const =0 |
virtual bool | hasPinTag (const TCEString &signal) const |
void | copyProgeBlockToNetlist (const ProGe::NetlistBlock *progeBlock) |
virtual bool | createMemories (int coreId) |
virtual bool | generateMemory (MemoryGenerator &memGen, std::vector< TCEString > &generatedFiles, int memIndex, int coreId) |
virtual void | writeNewToplevel () |
virtual ProjectFileGenerator * | projectFileGenerator () const =0 |
void | addProGeFiles () const |
TCEString | programName () const |
TCEString | progeFilePath (TCEString fileName, bool absolute=false) const |
TCEString | chopSignalToTag (const TCEString &original, const TCEString &tag) const |
void | progeOutputHdlFiles (std::vector< TCEString > &files) const |
std::ostream & | warningStream () const |
std::ostream & | errorStream () const |
TCEString | platformEntityName () const |
void | parseDataMemories () |
void | clearDataMemories () |
MemInfo | readLsuParameters (const TTAMachine::FunctionUnit &lsu) |
Private Attributes | |
MemoryGenerator * | imemGen_ |
std::map< TCEString, MemoryGenerator * > | dmemGen_ |
Additional Inherited Members | |
Static Protected Attributes inherited from PlatformIntegrator | |
static const TCEString | TTA_CORE_CLK = "clk" |
static const TCEString | TTA_CORE_RSTX = "rstx" |
Definition at line 39 of file AlteraIntegrator.hh.
AlteraIntegrator::AlteraIntegrator | ( | ) |
Definition at line 44 of file AlteraIntegrator.cc.
AlteraIntegrator::AlteraIntegrator | ( | const TTAMachine::Machine * | machine, |
const IDF::MachineImplementation * | idf, | ||
ProGe::HDL | hdl, | ||
TCEString | progeOutputDir, | ||
TCEString | entityName, | ||
TCEString | outputDir, | ||
TCEString | programName, | ||
int | targetClockFreq, | ||
std::ostream & | warningStream, | ||
std::ostream & | errorStream, | ||
const MemInfo & | imem, | ||
MemType | dmemType | ||
) |
Definition at line 48 of file AlteraIntegrator.cc.
|
virtual |
Definition at line 68 of file AlteraIntegrator.cc.
|
protectedvirtual |
Implements PlatformIntegrator.
Reimplemented in Stratix2DSPBoardIntegrator, and KoskiIntegrator.
Definition at line 134 of file AlteraIntegrator.cc.
References MemoryGenerator::addLsu(), ProjectFileGenerator::addMemInitFile(), MemInfo::asName, dmemGen_, PlatformIntegrator::errorStream(), MemInfo::mauWidth, ONCHIP, MemInfo::portAddrw, PlatformIntegrator::programName(), PlatformIntegrator::projectFileGenerator(), MemInfo::type, PlatformIntegrator::warningStream(), and MemInfo::widthInMaus.
Referenced by Stratix2DSPBoardIntegrator::dmemInstance().
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 104 of file AlteraIntegrator.cc.
References ProjectFileGenerator::addMemInitFile(), assert, PlatformIntegrator::errorStream(), imemGen_, MemInfo::mauWidth, ONCHIP, MemInfo::portAddrw, PlatformIntegrator::programName(), PlatformIntegrator::projectFileGenerator(), MemInfo::type, UNKNOWN, VHDL_ARRAY, PlatformIntegrator::warningStream(), and MemInfo::widthInMaus.
|
virtual |
Integrates the TTA core(s) generated by ProGe
progeBlock | The toplevel netlist block created by ProGe |
Implements PlatformIntegrator.
Reimplemented in Stratix2DSPBoardIntegrator, and Stratix3DevKitIntegrator.
Definition at line 85 of file AlteraIntegrator.cc.
References PlatformIntegrator::addProGeFiles(), PlatformIntegrator::initPlatformNetlist(), PlatformIntegrator::integrateCore(), PlatformIntegrator::progeBlock(), PlatformIntegrator::projectFileGenerator(), PlatformIntegrator::writeNewToplevel(), and ProjectFileGenerator::writeProjectFiles().
|
private |
Definition at line 74 of file AlteraIntegrator.hh.
Referenced by dmemInstance(), and ~AlteraIntegrator().
|
private |
Definition at line 73 of file AlteraIntegrator.hh.
Referenced by imemInstance(), and ~AlteraIntegrator().