Go to the documentation of this file.
77 std::ostream& warningStream,
78 std::ostream& errorStream,
82 outputDir, programName, targetClockFreq, warningStream,
83 errorStream, imem, dmemType),
94 if (iter->second != NULL) {
95 for (
unsigned int i = 0; i < iter->second->size(); i++) {
96 delete iter->second->at(i);
136 std::vector<std::string> lsuPorts) {
148 warningStream() <<
"Warning: Data memory is not initialized "
149 <<
"during FPGA programming." << endl;
153 TCEString msg =
"Unsupported data memory type";
154 throw InvalidData(__FILE__, __LINE__,
"Stratix2DSPBoardIntegrator",
163 for (
size_t i = 0; i < tl.
portCount(); i++) {
172 warningStream() <<
"Warning: didn't find mapping for signal name "
178 for (
unsigned int i = 0; i < mappings->size(); i++) {
218 <<
"Warning: Refusing to change device family!" << endl
220 <<
"- New device family: " << devFamily << endl;
252 <<
"Integrator name: Stratix2DSP" << std::endl
253 <<
"-----------------------------" << std::endl
254 <<
"Integrates the processor core to Altera Stratix II DSP board "
255 <<
"with EP2S180F1020C3 device." << std::endl
256 <<
"Creates project files for QuartusII v8.0 program." << std::endl
257 <<
"Supported instruction memory types are 'onchip' and 'vhdl_array."
259 <<
"Supported data memory types are 'onchip' and 'sram'." << std::endl
260 <<
"Default clock frequency is 100 MHz." << std::endl
261 <<
"Active low reset is connected to CPU RESET button." << std::endl
282 ledMapping->push_back(
new SignalMapping(
"PIN_B4",
"STRATIXII_LED[0]"));
283 ledMapping->push_back(
new SignalMapping(
"PIN_D5",
"STRATIXII_LED[1]"));
284 ledMapping->push_back(
new SignalMapping(
"PIN_E5",
"STRATIXII_LED[2]"));
285 ledMapping->push_back(
new SignalMapping(
"PIN_A4",
"STRATIXII_LED[3]"));
286 ledMapping->push_back(
new SignalMapping(
"PIN_A5",
"STRATIXII_LED[4]"));
287 ledMapping->push_back(
new SignalMapping(
"PIN_D6",
"STRATIXII_LED[5]"));
288 ledMapping->push_back(
new SignalMapping(
"PIN_C6",
"STRATIXII_LED[6]"));
289 ledMapping->push_back(
new SignalMapping(
"PIN_A6",
"STRATIXII_LED[7]"));
294 sramData->push_back(
new SignalMapping(
"PIN_AD18",
"STRATIXII_SRAM_DQ[0]"));
295 sramData->push_back(
new SignalMapping(
"PIN_AB18",
"STRATIXII_SRAM_DQ[1]"));
296 sramData->push_back(
new SignalMapping(
"PIN_AB19",
"STRATIXII_SRAM_DQ[2]"));
297 sramData->push_back(
new SignalMapping(
"PIN_AC20",
"STRATIXII_SRAM_DQ[3]"));
298 sramData->push_back(
new SignalMapping(
"PIN_AD20",
"STRATIXII_SRAM_DQ[4]"));
299 sramData->push_back(
new SignalMapping(
"PIN_AE20",
"STRATIXII_SRAM_DQ[5]"));
300 sramData->push_back(
new SignalMapping(
"PIN_AB20",
"STRATIXII_SRAM_DQ[6]"));
301 sramData->push_back(
new SignalMapping(
"PIN_AF20",
"STRATIXII_SRAM_DQ[7]"));
302 sramData->push_back(
new SignalMapping(
"PIN_AC21",
"STRATIXII_SRAM_DQ[8]"));
303 sramData->push_back(
new SignalMapping(
"PIN_AD21",
"STRATIXII_SRAM_DQ[9]"));
392 sramWe->push_back(
new SignalMapping(
"PIN_AH14",
"STRATIXII_SRAM_WE_N"));
396 sramOe->push_back(
new SignalMapping(
"PIN_AG14",
"STRATIXII_SRAM_OE_N"));
400 sramCs->push_back(
new SignalMapping(
"PIN_AL12",
"STRATIXII_SRAM_CS_N"));
407 sramB0->push_back(
new SignalMapping(
"PIN_AG11",
"STRATIXII_SRAM_BE_N0"));
408 sramB1->push_back(
new SignalMapping(
"PIN_AK10",
"STRATIXII_SRAM_BE_N1"));
409 sramB2->push_back(
new SignalMapping(
"PIN_AK11",
"STRATIXII_SRAM_BE_N2"));
410 sramB3->push_back(
new SignalMapping(
"PIN_AL11",
"STRATIXII_SRAM_BE_N3"));
virtual MemoryGenerator & dmemInstance(MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts)
TTAMachine::Machine * machine
the architecture definition of the estimated processor
virtual TCEString deviceSpeedClass() const
static const TCEString DEVICE_PACKAGE_
std::vector< SignalMapping * > SignalMappingList
QuartusProjectGenerator * quartusGen_
virtual void writeProjectFiles()=0
std::pair< TCEString, TCEString > SignalMapping
virtual size_t portCount() const
virtual TCEString deviceFamily() const
static const TCEString PIN_TAG_
virtual TCEString devicePackage() const
virtual MemoryGenerator & dmemInstance(MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts)
static const TCEString DEVICE_FAMILY_
virtual void integrateProcessor(const ProGe::NetlistBlock *ttaCore)
static const TCEString DEVICE_NAME_
void addSignalMapping(const TCEString &signal)
virtual ProjectFileGenerator * projectFileGenerator() const
void addLsu(TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts)
virtual void setDeviceFamily(TCEString devFamily)
virtual void printInfo(std::ostream &stream) const
virtual ~Stratix2DSPBoardIntegrator()
MemoryGenerator * dmemGen_
Stratix2DSPBoardIntegrator()
PlatInt::PinMap stratix2Pins_
static const TCEString DEVICE_SPEED_CLASS_
virtual int targetClockFrequency() const
virtual bool chopTaggedSignals() const
HDL
HDLs supported by ProGe.
virtual TCEString pinTag() const
virtual NetlistPort * port(const std::string &portName, bool partialMatch=true)
static const int DEFAULT_FREQ_
void addSignalMapping(const PlatInt::SignalMapping &mapping)