OpenASIP
2.0
|
#include <Stratix3DevKitIntegrator.hh>
Protected Member Functions | |
virtual TCEString | pinTag () const |
virtual bool | chopTaggedSignals () const |
virtual ProjectFileGenerator * | projectFileGenerator () const |
![]() | |
virtual MemoryGenerator & | imemInstance (MemInfo imem, int coreId) |
virtual MemoryGenerator & | dmemInstance (MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts) |
![]() | |
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 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 () |
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 Member Functions | |
void | generatePinMap () |
void | mapToplevelPorts () |
void | addSignalMapping (const TCEString &signal) |
Private Attributes | |
QuartusProjectGenerator * | quartusGen_ |
PlatInt::PinMap | stratix3Pins_ |
Static Private Attributes | |
static const TCEString | DEVICE_FAMILY_ = "Stratix III" |
static const TCEString | DEVICE_NAME_ = "EP3SL150F1152C2" |
static const TCEString | DEVICE_PACKAGE_ = "F1152" |
static const TCEString | DEVICE_SPEED_CLASS_ = "2" |
static const TCEString | PIN_TAG_ = "STRATIXIII" |
static const int | DEFAULT_FREQ_ = 125 |
Additional Inherited Members | |
![]() | |
static const TCEString | TTA_CORE_CLK = "clk" |
static const TCEString | TTA_CORE_RSTX = "rstx" |
Definition at line 44 of file Stratix3DevKitIntegrator.hh.
Stratix3DevKitIntegrator::Stratix3DevKitIntegrator | ( | ) |
Definition at line 59 of file Stratix3DevKitIntegrator.cc.
Stratix3DevKitIntegrator::Stratix3DevKitIntegrator | ( | const TTAMachine::Machine * | machine, |
const IDF::MachineImplementation * | idf, | ||
ProGe::HDL | hdl, | ||
TCEString | progeOutputDir, | ||
TCEString | coreEntityName, | ||
TCEString | outputDir, | ||
TCEString | programName, | ||
int | targetClockFreq, | ||
std::ostream & | warningStream, | ||
std::ostream & | errorStream, | ||
const MemInfo & | imem, | ||
MemType | dmemType | ||
) |
Definition at line 64 of file Stratix3DevKitIntegrator.cc.
References DEVICE_NAME_, and PlatformIntegrator::setDeviceName().
|
virtual |
Definition at line 85 of file Stratix3DevKitIntegrator.cc.
References quartusGen_, and stratix3Pins_.
|
private |
Definition at line 221 of file Stratix3DevKitIntegrator.cc.
References ProjectFileGenerator::addSignalMapping(), quartusGen_, stratix3Pins_, and PlatformIntegrator::warningStream().
Referenced by mapToplevelPorts().
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 198 of file Stratix3DevKitIntegrator.cc.
|
virtual |
Returns the FPGA device family
Implements PlatformIntegrator.
Definition at line 127 of file Stratix3DevKitIntegrator.cc.
References DEVICE_FAMILY_.
|
virtual |
Returns the device package name
Implements PlatformIntegrator.
Definition at line 146 of file Stratix3DevKitIntegrator.cc.
References DEVICE_PACKAGE_.
|
virtual |
Returns the device speed class
Implements PlatformIntegrator.
Definition at line 153 of file Stratix3DevKitIntegrator.cc.
References DEVICE_SPEED_CLASS_.
|
private |
Definition at line 237 of file Stratix3DevKitIntegrator.cc.
References PIN_TAG_, and stratix3Pins_.
Referenced by integrateProcessor().
|
virtual |
Integrates the TTA core(s) generated by ProGe
progeBlock | The toplevel netlist block created by ProGe |
Reimplemented from AlteraIntegrator.
Definition at line 103 of file Stratix3DevKitIntegrator.cc.
References PlatformIntegrator::addProGeFiles(), generatePinMap(), PlatformIntegrator::initPlatformNetlist(), PlatformIntegrator::integrateCore(), mapToplevelPorts(), PlatformIntegrator::progeBlock(), projectFileGenerator(), PlatformIntegrator::writeNewToplevel(), and ProjectFileGenerator::writeProjectFiles().
|
private |
Definition at line 212 of file Stratix3DevKitIntegrator.cc.
References addSignalMapping(), PlatformIntegrator::integratorBlock(), ProGe::NetlistPort::name(), ProGe::NetlistBlock::port(), and ProGe::NetlistBlock::portCount().
Referenced by integrateProcessor().
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 191 of file Stratix3DevKitIntegrator.cc.
References PIN_TAG_.
|
virtual |
Prints information about the platform
Implements PlatformIntegrator.
Definition at line 172 of file Stratix3DevKitIntegrator.cc.
References DEVICE_NAME_.
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 205 of file Stratix3DevKitIntegrator.cc.
References quartusGen_.
Referenced by integrateProcessor().
|
virtual |
Set the FPGA device family.
Intended for TTA IP integration. Integrator can device whether this overrides the default device family.
Implements PlatformIntegrator.
Definition at line 134 of file Stratix3DevKitIntegrator.cc.
References DEVICE_FAMILY_, and PlatformIntegrator::warningStream().
|
virtual |
Returns the target clock frequency in MHz
Reimplemented from PlatformIntegrator.
Definition at line 160 of file Stratix3DevKitIntegrator.cc.
References DEFAULT_FREQ_, and PlatformIntegrator::targetClockFrequency().
|
staticprivate |
Definition at line 109 of file Stratix3DevKitIntegrator.hh.
Referenced by targetClockFrequency().
|
staticprivate |
Definition at line 99 of file Stratix3DevKitIntegrator.hh.
Referenced by deviceFamily(), and setDeviceFamily().
|
staticprivate |
Definition at line 101 of file Stratix3DevKitIntegrator.hh.
Referenced by printInfo(), and Stratix3DevKitIntegrator().
|
staticprivate |
Definition at line 103 of file Stratix3DevKitIntegrator.hh.
Referenced by devicePackage().
|
staticprivate |
Definition at line 105 of file Stratix3DevKitIntegrator.hh.
Referenced by deviceSpeedClass().
|
staticprivate |
Definition at line 107 of file Stratix3DevKitIntegrator.hh.
Referenced by generatePinMap(), and pinTag().
|
private |
Definition at line 95 of file Stratix3DevKitIntegrator.hh.
Referenced by addSignalMapping(), projectFileGenerator(), and ~Stratix3DevKitIntegrator().
|
private |
Definition at line 97 of file Stratix3DevKitIntegrator.hh.
Referenced by addSignalMapping(), generatePinMap(), and ~Stratix3DevKitIntegrator().