torc-master
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
XilinxDatabaseTypes.cpp
Go to the documentation of this file.
1
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2
// $HeadURL$
3
// $Id$
4
5
// This program is free software: you can redistribute it and/or modify it under the terms of the
6
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
7
// License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11
// the GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License along with this program. If
14
// not, see <http://www.gnu.org/licenses/>.
15
16
/// \file
17
/// \brief Device database types for Xilinx architectures.
18
19
#include "
torc/architecture/XilinxDatabaseTypes.hpp
"
20
21
namespace
torc {
22
namespace
architecture {
23
namespace
xilinx {
24
25
TileIndex
operator +
(
const
TileOffset
& inTileOffset,
const
TileIndex
& inTileIndex) {
26
return
TileIndex
(
TileIndex::pod
(inTileOffset) +
TileIndex::pod
(inTileIndex));
27
}
28
29
}
// namespace xilinx
30
}
// namespace architecture
31
}
// namespace torc
torc::architecture::xilinx::TileIndex
Encapsulation of a tile index in an unsigned 32-bit integer.
Definition:
XilinxDatabaseTypes.hpp:68
torc::architecture::xilinx::TileOffset
Encapsulation of a tile offset in an unsigned 32-bit integer.
Definition:
XilinxDatabaseTypes.hpp:77
torc::architecture::xilinx::operator+
TileIndex operator+(const TileOffset &inTileOffset, const TileIndex &inTileIndex)
Addition operator to add an anchor tile index to a relative tile offset.
Definition:
XilinxDatabaseTypes.cpp:25
torc::common::EncapsulatedInteger< boost::uint32_t >::pod
boost::uint32_t pod
Alias for the encapsulated Plain-Old-Data type.
Definition:
EncapsulatedInteger.hpp:35
XilinxDatabaseTypes.hpp
Device database types for Xilinx architectures.
src
torc
architecture
XilinxDatabaseTypes.cpp
Generated on Thu Dec 18 2014 16:30:42 for torc-master by
1.8.6