OpenASIP  2.0
CostDBTypes.cc
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2009 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 CostDBTypes.cc
26  *
27  * Definitions of CostDBTypes class.
28  *
29  * @author Tommi Rantanen 2004 (tommi.rantanen-no.spam-tut.fi)
30  * @author Jari Mäntyneva 2005 (jari.mantyneva-no.spam-tut.fi)
31  * @note rating: red
32  */
33 
34 #include "CostDBTypes.hh"
35 
36 const std::string CostDBTypes::EK_UNIT = "unit";
37 const std::string CostDBTypes::EK_RFILE = "rfile";
38 const std::string CostDBTypes::EK_MBUS = "mbus";
39 const std::string CostDBTypes::EK_SOCKET = "sock";
40 const std::string CostDBTypes::EK_INPUT_SOCKET = "in sock";
41 const std::string CostDBTypes::EK_OUTPUT_SOCKET = "out sock";
42 const std::string CostDBTypes::EK_INLINE_IMM_SOCKET = "imm sock";
43 const std::string CostDBTypes::EKF_BIT_WIDTH = "data";
44 const std::string CostDBTypes::EKF_OPERATIONS = "oper";
45 const std::string CostDBTypes::EKF_LATENCY = "latency";
46 const std::string CostDBTypes::EKF_NUM_REGISTERS = "size";
47 const std::string CostDBTypes::EKF_READ_PORTS = "rd";
48 const std::string CostDBTypes::EKF_WRITE_PORTS = "wr";
49 const std::string CostDBTypes::EKF_BIDIR_PORTS = "bidir";
50 const std::string CostDBTypes::EKF_MAX_READS = "max reads";
51 const std::string CostDBTypes::EKF_MAX_WRITES = "max writes";
52 const std::string CostDBTypes::EKF_BUS_FANIN = "bus fanin";
53 const std::string CostDBTypes::EKF_BUS_FANOUT = "bus fanout";
54 const std::string CostDBTypes::EKF_INPUT_SOCKET_FANIN = "in sock fanin";
55 const std::string CostDBTypes::EKF_OUTPUT_SOCKET_FANOUT = "out sock fanout";
56 const std::string CostDBTypes::EKF_GUARD_SUPPORT = "guard support";
57 const std::string CostDBTypes::EKF_GUARD_LATENCY = "guard latency";
58 const std::string CostDBTypes::EKF_FUNCTION_UNIT = "function unit";
CostDBTypes::EK_RFILE
static const std::string EK_RFILE
Entry type for register files.
Definition: CostDBTypes.hh:65
CostDBTypes::EKF_GUARD_SUPPORT
static const std::string EKF_GUARD_SUPPORT
Field type for guard support in an entry.
Definition: CostDBTypes.hh:104
CostDBTypes::EKF_BIT_WIDTH
static const std::string EKF_BIT_WIDTH
Field type for bit width of an entry.
Definition: CostDBTypes.hh:78
CostDBTypes.hh
CostDBTypes::EKF_WRITE_PORTS
static const std::string EKF_WRITE_PORTS
Field type for number of write ports in an entry.
Definition: CostDBTypes.hh:88
CostDBTypes::EK_INLINE_IMM_SOCKET
static const std::string EK_INLINE_IMM_SOCKET
Entry type for immediate sockets.
Definition: CostDBTypes.hh:75
CostDBTypes::EK_UNIT
static const std::string EK_UNIT
Entry type for function units.
Definition: CostDBTypes.hh:63
CostDBTypes::EKF_NUM_REGISTERS
static const std::string EKF_NUM_REGISTERS
Field type for number of registers in an entry.
Definition: CostDBTypes.hh:84
CostDBTypes::EKF_BUS_FANIN
static const std::string EKF_BUS_FANIN
Field type for fanin of bus in an entry.
Definition: CostDBTypes.hh:96
CostDBTypes::EKF_OPERATIONS
static const std::string EKF_OPERATIONS
Field type for operations supported by an entry.
Definition: CostDBTypes.hh:80
CostDBTypes::EK_OUTPUT_SOCKET
static const std::string EK_OUTPUT_SOCKET
Entry type for output sockets.
Definition: CostDBTypes.hh:73
CostDBTypes::EK_INPUT_SOCKET
static const std::string EK_INPUT_SOCKET
Entry type for input sockets.
Definition: CostDBTypes.hh:71
CostDBTypes::EKF_OUTPUT_SOCKET_FANOUT
static const std::string EKF_OUTPUT_SOCKET_FANOUT
Field type for fanout of output socket in an entry.
Definition: CostDBTypes.hh:102
CostDBTypes::EKF_BIDIR_PORTS
static const std::string EKF_BIDIR_PORTS
Field type for number of bidirectional ports in an entry.
Definition: CostDBTypes.hh:90
CostDBTypes::EKF_INPUT_SOCKET_FANIN
static const std::string EKF_INPUT_SOCKET_FANIN
Field type for fanin of input socket in an entry.
Definition: CostDBTypes.hh:100
CostDBTypes::EKF_BUS_FANOUT
static const std::string EKF_BUS_FANOUT
Field type for fanout of bus in an entry.
Definition: CostDBTypes.hh:98
CostDBTypes::EKF_MAX_WRITES
static const std::string EKF_MAX_WRITES
Field type for number of max simultaneous writes in an entry.
Definition: CostDBTypes.hh:94
CostDBTypes::EKF_FUNCTION_UNIT
static const std::string EKF_FUNCTION_UNIT
Field type for function unit entry;.
Definition: CostDBTypes.hh:108
CostDBTypes::EKF_READ_PORTS
static const std::string EKF_READ_PORTS
Field type for number of read ports in an entry.
Definition: CostDBTypes.hh:86
CostDBTypes::EKF_MAX_READS
static const std::string EKF_MAX_READS
Field type for number of max simultaneous reads in an entry.
Definition: CostDBTypes.hh:92
CostDBTypes::EKF_GUARD_LATENCY
static const std::string EKF_GUARD_LATENCY
Field type for guard latency in an entry.
Definition: CostDBTypes.hh:106
CostDBTypes::EK_MBUS
static const std::string EK_MBUS
Entry type for move bus.
Definition: CostDBTypes.hh:67
CostDBTypes::EKF_LATENCY
static const std::string EKF_LATENCY
Field type for latency of an entry.
Definition: CostDBTypes.hh:82
CostDBTypes::EK_SOCKET
static const std::string EK_SOCKET
Entry type for sockets.
Definition: CostDBTypes.hh:69