00001 // Torc - Copyright 2011 University of Southern California. All Rights Reserved. 00002 // $HeadURL: https://torc-isi.svn.sourceforge.net/svnroot/torc-isi/branches/staging/0.9/src/torc/physical/ModuleTransformer.cpp $ 00003 // $Id: ModuleTransformer.cpp 10 2011-10-12 18:40:16Z nsteiner $ 00004 00005 // This program is free software: you can redistribute it and/or modify it under the terms of the 00006 // GNU General Public License as published by the Free Software Foundation, either version 3 of the 00007 // License, or (at your option) any later version. 00008 // 00009 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00010 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 00011 // the GNU General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License along with this program. If 00014 // not, see <http://www.gnu.org/licenses/>. 00015 00016 /// \file 00017 /// \brief Source for the ModuleTransformer class. 00018 00019 #include "torc/physical/ModuleTransformer.hpp" 00020 00021 namespace torc { 00022 namespace physical { 00023 00024 /// \brief Hierarchy separator 00025 const std::string ModuleTransformer::sHierarchySeparator = "/"; 00026 00027 /// \brief Port index separator 00028 const std::string ModuleTransformer::sPortIndexSeparator = "_"; 00029 00030 /// \brief Valid characters in a pin name. 00031 const boost::regex ModuleTransformer::sValidPinNameCharactersRegEx("[a-zA-Z0-9_.]"); 00032 00033 /// \brief Invalid first characters in a pin name. 00034 const boost::regex ModuleTransformer::sInvalidPinNameFirstCharactersRegEx("[0-9_.]"); 00035 00036 } // namespace utils 00037 } // namespace torc