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
ModuleTransformer.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 Source for the ModuleTransformer class.
18
19
#include "
torc/physical/ModuleTransformer.hpp
"
20
21
namespace
torc {
22
namespace
physical {
23
24
/// \brief Hierarchy separator
25
const
std::string
ModuleTransformer::sHierarchySeparator
=
"/"
;
26
27
/// \brief Port index separator
28
const
std::string
ModuleTransformer::sPortIndexSeparator
=
"_"
;
29
30
/// \brief Valid characters in a pin name.
31
const
boost::regex
ModuleTransformer::sValidPinNameCharactersRegEx
(
"[a-zA-Z0-9_.]"
);
32
33
/// \brief Invalid first characters in a pin name.
34
const
boost::regex
ModuleTransformer::sInvalidPinNameFirstCharactersRegEx
(
"[0-9_.]"
);
35
36
}
// namespace utils
37
}
// namespace torc
torc::physical::ModuleTransformer::sValidPinNameCharactersRegEx
static const boost::regex sValidPinNameCharactersRegEx
Valid characters in a pin name.
Definition:
ModuleTransformer.hpp:62
ModuleTransformer.hpp
ModuleTransformer class to modularize/flatten designs.
torc::bitstream::string
std::string string
Definition:
LibGenFactory.hpp:35
torc::physical::ModuleTransformer::sPortIndexSeparator
static const string sPortIndexSeparator
Port index separator.
Definition:
ModuleTransformer.hpp:60
torc::physical::ModuleTransformer::sHierarchySeparator
static const string sHierarchySeparator
Hierarchy separator.
Definition:
ModuleTransformer.hpp:58
torc::physical::ModuleTransformer::sInvalidPinNameFirstCharactersRegEx
static const boost::regex sInvalidPinNameFirstCharactersRegEx
Invalid first characters in a pin name.
Definition:
ModuleTransformer.hpp:64
src
torc
physical
ModuleTransformer.cpp
Generated on Thu Dec 18 2014 16:30:37 for torc-master by
1.8.6