OpenASIP  2.0
IPXactHibiInterface.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 IPXactHibiInterface.hh
26  *
27  * Declaration of IPXactHibiInterface class.
28  *
29  * @author Otto Esko 2011 (otto.esko-no.spam-tut.fi)
30  * @note rating: red
31  */
32 #ifndef TTA_IP_XACT_HIBI_INTERFACE_HH
33 #define TTA_IP_XACT_HIBI_INTERFACE_HH
34 
35 #include "IPXactInterface.hh"
36 #include "TCEString.hh"
37 
39 public:
40 
42 
43  virtual ~IPXactHibiInterface();
44 
45  virtual bool mapPortsToInterface(const ProGe::NetlistBlock& toplevel);
46 
47 private:
48  void createInstanceName(
49  const TCEString& fullName,
50  const TCEString& portName);
51 
52  /// Mapping of known port names and interface port names
54 
56  static const TCEString VENDOR;
57  static const TCEString LIBRARY;
58  static const TCEString NAME;
59  static const TCEString BUS_VERSION;
60  static const TCEString ABS_VENDOR;
61  static const TCEString ABS_LIBRARY;
62  static const TCEString ABS_NAME;
63  static const TCEString ABS_VERSION;
64 
66 };
67 
68 #endif
IPXactHibiInterface::ABS_LIBRARY
static const TCEString ABS_LIBRARY
Definition: IPXactHibiInterface.hh:61
IPXactHibiInterface::BUS_VERSION
static const TCEString BUS_VERSION
Definition: IPXactHibiInterface.hh:59
ProGe::NetlistBlock
Definition: NetlistBlock.hh:61
IPXactHibiInterface::LIBRARY
static const TCEString LIBRARY
Definition: IPXactHibiInterface.hh:57
IPXactHibiInterface::NAME
static const TCEString NAME
Definition: IPXactHibiInterface.hh:58
PlatInt::SignalMappingList
std::vector< SignalMapping * > SignalMappingList
Definition: PlatformIntegratorTypes.hh:44
IPXactHibiInterface::interfaceSearch_
PlatInt::SignalMappingList interfaceSearch_
Mapping of known port names and interface port names.
Definition: IPXactHibiInterface.hh:53
IPXactHibiInterface::DEFAULT_INSTANCE_NAME
static const TCEString DEFAULT_INSTANCE_NAME
Definition: IPXactHibiInterface.hh:55
IPXactHibiInterface::DEFAULT_BUS_MODE
static const IPXactModel::BusMode DEFAULT_BUS_MODE
Definition: IPXactHibiInterface.hh:65
IPXactHibiInterface::VENDOR
static const TCEString VENDOR
Definition: IPXactHibiInterface.hh:56
IPXactHibiInterface
Definition: IPXactHibiInterface.hh:38
TCEString.hh
IPXactInterface
Definition: IPXactInterface.hh:41
IPXactModel::BusMode
BusMode
Definition: IPXactModel.hh:50
IPXactHibiInterface::mapPortsToInterface
virtual bool mapPortsToInterface(const ProGe::NetlistBlock &toplevel)
Definition: IPXactHibiInterface.cc:94
IPXactHibiInterface::createInstanceName
void createInstanceName(const TCEString &fullName, const TCEString &portName)
Definition: IPXactHibiInterface.cc:125
IPXactHibiInterface::IPXactHibiInterface
IPXactHibiInterface()
Definition: IPXactHibiInterface.cc:55
TCEString
Definition: TCEString.hh:53
IPXactHibiInterface::~IPXactHibiInterface
virtual ~IPXactHibiInterface()
Definition: IPXactHibiInterface.cc:86
IPXactHibiInterface::ABS_NAME
static const TCEString ABS_NAME
Definition: IPXactHibiInterface.hh:62
IPXactHibiInterface::ABS_VERSION
static const TCEString ABS_VERSION
Definition: IPXactHibiInterface.hh:63
IPXactHibiInterface::ABS_VENDOR
static const TCEString ABS_VENDOR
Definition: IPXactHibiInterface.hh:60
IPXactInterface.hh