OpenASIP
2.0
|
#include <Stratix2DSPBoardIntegrator.hh>
Protected Member Functions | |
virtual MemoryGenerator & | dmemInstance (MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts) |
virtual TCEString | pinTag () const |
virtual bool | chopTaggedSignals () const |
virtual ProjectFileGenerator * | projectFileGenerator () const |
Protected Member Functions inherited from AlteraIntegrator | |
virtual MemoryGenerator & | imemInstance (MemInfo imem, int coreId) |
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 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_ |
MemoryGenerator * | dmemGen_ |
PlatInt::PinMap | stratix2Pins_ |
Static Private Attributes | |
static const TCEString | DEVICE_FAMILY_ = "Stratix II" |
static const TCEString | DEVICE_NAME_ |
static const TCEString | DEVICE_PACKAGE_ = "F1020" |
static const TCEString | DEVICE_SPEED_CLASS_ = "3" |
static const TCEString | PIN_TAG_ = "STRATIXII" |
static const int | DEFAULT_FREQ_ = 100 |
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 52 of file Stratix2DSPBoardIntegrator.hh.
Stratix2DSPBoardIntegrator::Stratix2DSPBoardIntegrator | ( | ) |
Definition at line 63 of file Stratix2DSPBoardIntegrator.cc.
Stratix2DSPBoardIntegrator::Stratix2DSPBoardIntegrator | ( | 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 68 of file Stratix2DSPBoardIntegrator.cc.
References DEVICE_NAME_, and PlatformIntegrator::setDeviceName().
|
virtual |
Definition at line 90 of file Stratix2DSPBoardIntegrator.cc.
References dmemGen_, quartusGen_, and stratix2Pins_.
|
private |
Definition at line 169 of file Stratix2DSPBoardIntegrator.cc.
References ProjectFileGenerator::addSignalMapping(), quartusGen_, stratix2Pins_, and PlatformIntegrator::warningStream().
Referenced by mapToplevelPorts().
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 192 of file Stratix2DSPBoardIntegrator.cc.
|
virtual |
Returns the FPGA device family
Implements PlatformIntegrator.
Definition at line 207 of file Stratix2DSPBoardIntegrator.cc.
References DEVICE_FAMILY_.
|
virtual |
Returns the device package name
Implements PlatformIntegrator.
Definition at line 225 of file Stratix2DSPBoardIntegrator.cc.
References DEVICE_PACKAGE_.
|
virtual |
Returns the device speed class
Implements PlatformIntegrator.
Definition at line 232 of file Stratix2DSPBoardIntegrator.cc.
References DEVICE_SPEED_CLASS_.
|
protectedvirtual |
Reimplemented from AlteraIntegrator.
Definition at line 134 of file Stratix2DSPBoardIntegrator.cc.
References MemoryGenerator::addLsu(), MemInfo::asName, dmemGen_, AlteraIntegrator::dmemInstance(), PlatformIntegrator::errorStream(), MemInfo::mauWidth, ONCHIP, MemInfo::portAddrw, PlatformIntegrator::programName(), SRAM, MemInfo::type, PlatformIntegrator::warningStream(), and MemInfo::widthInMaus.
|
private |
Definition at line 268 of file Stratix2DSPBoardIntegrator.cc.
References stratix2Pins_.
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 111 of file Stratix2DSPBoardIntegrator.cc.
References PlatformIntegrator::addProGeFiles(), generatePinMap(), PlatformIntegrator::initPlatformNetlist(), PlatformIntegrator::integrateCore(), mapToplevelPorts(), PlatformIntegrator::progeBlock(), projectFileGenerator(), PlatformIntegrator::writeNewToplevel(), and ProjectFileGenerator::writeProjectFiles().
|
private |
Definition at line 161 of file Stratix2DSPBoardIntegrator.cc.
References addSignalMapping(), PlatformIntegrator::integratorBlock(), ProGe::NetlistPort::name(), ProGe::NetlistBlock::port(), and ProGe::NetlistBlock::portCount().
Referenced by integrateProcessor().
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 185 of file Stratix2DSPBoardIntegrator.cc.
References PIN_TAG_.
|
virtual |
Prints information about the platform
Implements PlatformIntegrator.
Definition at line 249 of file Stratix2DSPBoardIntegrator.cc.
|
protectedvirtual |
Implements PlatformIntegrator.
Definition at line 199 of file Stratix2DSPBoardIntegrator.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 214 of file Stratix2DSPBoardIntegrator.cc.
References DEVICE_FAMILY_, and PlatformIntegrator::warningStream().
|
virtual |
Returns the target clock frequency in MHz
Reimplemented from PlatformIntegrator.
Definition at line 238 of file Stratix2DSPBoardIntegrator.cc.
References DEFAULT_FREQ_, and PlatformIntegrator::targetClockFrequency().
|
staticprivate |
Definition at line 124 of file Stratix2DSPBoardIntegrator.hh.
Referenced by targetClockFrequency().
|
staticprivate |
Definition at line 114 of file Stratix2DSPBoardIntegrator.hh.
Referenced by deviceFamily(), and setDeviceFamily().
|
staticprivate |
Definition at line 116 of file Stratix2DSPBoardIntegrator.hh.
Referenced by Stratix2DSPBoardIntegrator().
|
staticprivate |
Definition at line 118 of file Stratix2DSPBoardIntegrator.hh.
Referenced by devicePackage().
|
staticprivate |
Definition at line 120 of file Stratix2DSPBoardIntegrator.hh.
Referenced by deviceSpeedClass().
|
private |
Definition at line 110 of file Stratix2DSPBoardIntegrator.hh.
Referenced by dmemInstance(), and ~Stratix2DSPBoardIntegrator().
|
staticprivate |
Definition at line 122 of file Stratix2DSPBoardIntegrator.hh.
Referenced by pinTag().
|
private |
Definition at line 108 of file Stratix2DSPBoardIntegrator.hh.
Referenced by addSignalMapping(), projectFileGenerator(), and ~Stratix2DSPBoardIntegrator().
|
private |
Definition at line 112 of file Stratix2DSPBoardIntegrator.hh.
Referenced by addSignalMapping(), generatePinMap(), and ~Stratix2DSPBoardIntegrator().