OpenASIP 2.2
Loading...
Searching...
No Matches
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
36const std::string CostDBTypes::EK_UNIT = "unit";
37const std::string CostDBTypes::EK_RFILE = "rfile";
38const std::string CostDBTypes::EK_MBUS = "mbus";
39const std::string CostDBTypes::EK_SOCKET = "sock";
40const std::string CostDBTypes::EK_INPUT_SOCKET = "in sock";
41const std::string CostDBTypes::EK_OUTPUT_SOCKET = "out sock";
42const std::string CostDBTypes::EK_INLINE_IMM_SOCKET = "imm sock";
43const std::string CostDBTypes::EKF_BIT_WIDTH = "data";
44const std::string CostDBTypes::EKF_OPERATIONS = "oper";
45const std::string CostDBTypes::EKF_LATENCY = "latency";
46const std::string CostDBTypes::EKF_NUM_REGISTERS = "size";
47const std::string CostDBTypes::EKF_READ_PORTS = "rd";
48const std::string CostDBTypes::EKF_WRITE_PORTS = "wr";
49const std::string CostDBTypes::EKF_BIDIR_PORTS = "bidir";
50const std::string CostDBTypes::EKF_MAX_READS = "max reads";
51const std::string CostDBTypes::EKF_MAX_WRITES = "max writes";
52const std::string CostDBTypes::EKF_BUS_FANIN = "bus fanin";
53const std::string CostDBTypes::EKF_BUS_FANOUT = "bus fanout";
54const std::string CostDBTypes::EKF_INPUT_SOCKET_FANIN = "in sock fanin";
55const std::string CostDBTypes::EKF_OUTPUT_SOCKET_FANOUT = "out sock fanout";
56const std::string CostDBTypes::EKF_GUARD_SUPPORT = "guard support";
57const std::string CostDBTypes::EKF_GUARD_LATENCY = "guard latency";
58const std::string CostDBTypes::EKF_FUNCTION_UNIT = "function unit";
static const std::string EKF_READ_PORTS
Field type for number of read ports in an entry.
static const std::string EK_INPUT_SOCKET
Entry type for input sockets.
static const std::string EKF_OPERATIONS
Field type for operations supported by an entry.
static const std::string EKF_INPUT_SOCKET_FANIN
Field type for fanin of input socket in an entry.
static const std::string EKF_OUTPUT_SOCKET_FANOUT
Field type for fanout of output socket in an entry.
static const std::string EKF_MAX_WRITES
Field type for number of max simultaneous writes in an entry.
static const std::string EK_SOCKET
Entry type for sockets.
static const std::string EK_UNIT
Entry type for function units.
static const std::string EKF_BIDIR_PORTS
Field type for number of bidirectional ports in an entry.
static const std::string EK_INLINE_IMM_SOCKET
Entry type for immediate sockets.
static const std::string EKF_GUARD_SUPPORT
Field type for guard support in an entry.
static const std::string EKF_BUS_FANOUT
Field type for fanout of bus in an entry.
static const std::string EKF_LATENCY
Field type for latency of an entry.
static const std::string EK_OUTPUT_SOCKET
Entry type for output sockets.
static const std::string EKF_GUARD_LATENCY
Field type for guard latency in an entry.
static const std::string EKF_FUNCTION_UNIT
Field type for function unit entry;.
static const std::string EKF_MAX_READS
Field type for number of max simultaneous reads in an entry.
static const std::string EKF_WRITE_PORTS
Field type for number of write ports in an entry.
static const std::string EK_RFILE
Entry type for register files.
static const std::string EK_MBUS
Entry type for move bus.
static const std::string EKF_BUS_FANIN
Field type for fanin of bus in an entry.
static const std::string EKF_NUM_REGISTERS
Field type for number of registers in an entry.
static const std::string EKF_BIT_WIDTH
Field type for bit width of an entry.