OpenASIP 2.2
Loading...
Searching...
No Matches
Stratix3DevKitIntegrator.hh
Go to the documentation of this file.
1/*
2 Copyright (c) 2002-2011 Tampere University.
3
4 This file is part of TTA-Based Codesign Environment (TCE).
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23 */
24/**
25 * @file Stratix3DevKitIntegrator.hh
26 *
27 * Declaration of Stratix3DevKitIntegrator class.
28 *
29 * @author Otto Esko 2011 (otto.esko-no.spam-tut.fi)
30 * @note rating: red
31 */
32
33#ifndef TTA_STRATIX3_DEV_KIT_INTEGRATOR_HH
34#define TTA_STRATIX3_DEV_KIT_INTEGRATOR_HH
35
36#include <iostream>
37#include <vector>
38#include <map>
39#include "TCEString.hh"
40#include "AlteraIntegrator.hh"
43
45public:
46
48
52 ProGe::HDL hdl,
53 TCEString progeOutputDir,
55 TCEString outputDir,
57 int targetClockFreq,
58 std::ostream& warningStream,
59 std::ostream& errorStream,
60 const MemInfo& imem,
61 MemType dmemType);
62
64
65 virtual void integrateProcessor(const ProGe::NetlistBlock* ttaCore);
66
67 virtual TCEString deviceFamily() const;
68
69 virtual void setDeviceFamily(TCEString devFamily);
70
71 virtual TCEString devicePackage() const;
72
73 virtual TCEString deviceSpeedClass() const;
74
75 virtual int targetClockFrequency() const;
76
77 virtual void printInfo(std::ostream& stream) const;
78
79protected:
80
81 virtual TCEString pinTag() const;
82
83 virtual bool chopTaggedSignals() const;
84
86
87private:
88
89 void generatePinMap();
90
91 void mapToplevelPorts();
92
93 void addSignalMapping(const TCEString& signal);
94
96
98
100
102
104
106
107 static const TCEString PIN_TAG_;
108
109 static const int DEFAULT_FREQ_;
110
111};
112
113#endif
const TTAMachine::Machine * machine() const
std::ostream & warningStream() const
const IDF::MachineImplementation * idf() const
TCEString programName() const
std::ostream & errorStream() const
TCEString coreEntityName() const
virtual ProjectFileGenerator * projectFileGenerator() const
virtual void integrateProcessor(const ProGe::NetlistBlock *ttaCore)
virtual void setDeviceFamily(TCEString devFamily)
static const TCEString DEVICE_FAMILY_
static const TCEString DEVICE_SPEED_CLASS_
static const TCEString DEVICE_PACKAGE_
virtual void printInfo(std::ostream &stream) const
virtual TCEString deviceSpeedClass() const
virtual TCEString devicePackage() const
QuartusProjectGenerator * quartusGen_
static const TCEString DEVICE_NAME_
virtual TCEString deviceFamily() const
void addSignalMapping(const TCEString &signal)
virtual TCEString pinTag() const
std::map< TCEString, SignalMappingList * > PinMap
HDL
HDLs supported by ProGe.
Definition ProGeTypes.hh:40