Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xdlrc
model
TileType.cpp
Go to the documentation of this file.
1
6
#include <
xdlrc/model/TileType.hpp
>
7
8
using namespace
bil;
9
10
11
TileType::TileType
():
12
m_name(),
13
m_siteTypes(),
14
m_wires(),
15
m_pips(),
16
m_tag(0)
17
{
18
19
}
20
21
22
std::string&
TileType::name
()
23
{
24
return
m_name;
25
}
26
27
28
const
std::string&
TileType::name
()
const
29
{
30
return
m_name;
31
}
32
33
34
PrimitiveSiteTypes
&
TileType::siteTypes
()
35
{
36
return
m_siteTypes;
37
}
38
39
40
const
PrimitiveSiteTypes
&
TileType::siteTypes
()
const
41
{
42
return
m_siteTypes;
43
}
44
45
46
Wires
&
TileType::wires
()
47
{
48
return
m_wires;
49
}
50
51
52
const
Wires
&
TileType::wires
()
const
53
{
54
return
m_wires;
55
}
56
57
58
PIPs
&
TileType::pips
()
59
{
60
return
m_pips;
61
}
62
63
64
const
PIPs
&
TileType::pips
()
const
65
{
66
return
m_pips;
67
}
68
69
70
void
TileType::tag
(
size_t
t)
71
{
72
m_tag = t;
73
}
74
75
76
size_t
TileType::tag
()
const
77
{
78
return
m_tag;
79
}
80
81
82
void
TileType::clear
()
83
{
84
m_name.clear();
85
m_siteTypes.clear();
86
m_wires.clear();
87
m_pips.clear();
88
m_tag = 0;
89
}
Generated on Wed Aug 8 2012 21:57:41 for Bitstream Interpretation Library (BIL) by
1.8.1.1