OpenASIP  2.0
KoskiIntegrator.hh
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2010 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 KoskiIntegrator.hh
26  *
27  * Declaration of KoskiIntegrator class.
28  *
29  * @author Otto Esko 2010 (otto.esko-no.spam-tut.fi)
30  * @note rating: red
31  */
32 
33 #ifndef TTA_KOSKI_INTEGRATOR_HH
34 #define TTA_KOSKI_INTEGRATOR_HH
35 
36 #include <map>
37 #include "AlteraIntegrator.hh"
38 
39 
41 public:
43 
47  ProGe::HDL hdl,
48  TCEString progeOutputDir,
50  TCEString outputDir,
52  int targetClockFreq,
53  std::ostream& warningStream,
54  std::ostream& errorStream,
55  const MemInfo& imem,
56  MemType dmemType);
57 
58  virtual ~KoskiIntegrator();
59 
60  virtual TCEString deviceFamily() const;
61 
62  virtual void setDeviceFamily(TCEString devFamily);
63 
64  virtual TCEString devicePackage() const;
65 
66  virtual TCEString deviceSpeedClass() const;
67 
68  virtual int targetClockFrequency() const;
69 
70  virtual void printInfo(std::ostream& stream) const;
71 
72 protected:
73 
74  virtual TCEString pinTag() const;
75 
76  virtual bool chopTaggedSignals() const;
77 
79 
81  MemInfo dmem,
82  TTAMachine::FunctionUnit& lsuArch,
83  std::vector<std::string> lsuPorts);
84 
85 private:
86 
88 
90 
92 
93  static const TCEString PIN_TAG_;
95 };
96 
97 
98 #endif
PlatformIntegrator::coreEntityName
TCEString coreEntityName() const
Definition: PlatformIntegrator.cc:126
AlteraIntegrator.hh
KoskiIntegrator::projectFileGenerator
virtual ProjectFileGenerator * projectFileGenerator() const
Definition: KoskiIntegrator.cc:99
MemInfo
Definition: MemoryGenerator.hh:67
KoskiIntegrator::deviceFamily_
TCEString deviceFamily_
Definition: KoskiIntegrator.hh:89
KoskiIntegrator
Definition: KoskiIntegrator.hh:40
KoskiIntegrator::DEFAULT_DEVICE_FAMILY_
static const TCEString DEFAULT_DEVICE_FAMILY_
Definition: KoskiIntegrator.hh:94
TTAMachine::FunctionUnit
Definition: FunctionUnit.hh:55
KoskiIntegrator::dmemGen_
MemoryGenerator * dmemGen_
Definition: KoskiIntegrator.hh:91
ProjectFileGenerator
Definition: ProjectFileGenerator.hh:41
KoskiIntegrator::deviceFamily
virtual TCEString deviceFamily() const
Definition: KoskiIntegrator.cc:147
PlatformIntegrator::idf
const IDF::MachineImplementation * idf() const
Definition: PlatformIntegrator.cc:304
KoskiIntegrator::dmemInstance
virtual MemoryGenerator & dmemInstance(MemInfo dmem, TTAMachine::FunctionUnit &lsuArch, std::vector< std::string > lsuPorts)
Definition: KoskiIntegrator.cc:105
KoskiIntegrator::pinTag
virtual TCEString pinTag() const
Definition: KoskiIntegrator.cc:85
KoskiIntegrator::targetClockFrequency
virtual int targetClockFrequency() const
Definition: KoskiIntegrator.cc:169
PlatformIntegrator::machine
const TTAMachine::Machine * machine() const
Definition: PlatformIntegrator.cc:297
KoskiIntegrator::deviceSpeedClass
virtual TCEString deviceSpeedClass() const
Definition: KoskiIntegrator.cc:164
KoskiIntegrator::setDeviceFamily
virtual void setDeviceFamily(TCEString devFamily)
Definition: KoskiIntegrator.cc:153
PlatformIntegrator::programName
TCEString programName() const
Definition: PlatformIntegrator.cc:133
MemType
MemType
Definition: MemoryGenerator.hh:57
KoskiIntegrator::printInfo
virtual void printInfo(std::ostream &stream) const
Definition: KoskiIntegrator.cc:131
KoskiIntegrator::devicePackage
virtual TCEString devicePackage() const
Definition: KoskiIntegrator.cc:159
TCEString
Definition: TCEString.hh:53
PlatformIntegrator::warningStream
std::ostream & warningStream() const
Definition: PlatformIntegrator.cc:271
AlteraIntegrator
Definition: AlteraIntegrator.hh:39
KoskiIntegrator::KoskiIntegrator
KoskiIntegrator()
Definition: KoskiIntegrator.cc:47
ProGe::HDL
HDL
HDLs supported by ProGe.
Definition: ProGeTypes.hh:40
KoskiIntegrator::PIN_TAG_
static const TCEString PIN_TAG_
Definition: KoskiIntegrator.hh:93
PlatformIntegrator::errorStream
std::ostream & errorStream() const
Definition: PlatformIntegrator.cc:278
KoskiIntegrator::ipXactGen_
ProjectFileGenerator * ipXactGen_
Definition: KoskiIntegrator.hh:87
IDF::MachineImplementation
Definition: MachineImplementation.hh:54
KoskiIntegrator::~KoskiIntegrator
virtual ~KoskiIntegrator()
Definition: KoskiIntegrator.cc:74
TTAMachine::Machine
Definition: Machine.hh:73
MemoryGenerator
Definition: MemoryGenerator.hh:85
KoskiIntegrator::chopTaggedSignals
virtual bool chopTaggedSignals() const
Definition: KoskiIntegrator.cc:92