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/bitstream/build/DeviceInfoHelper.hpp $ 00003 // $Id: DeviceInfoHelper.hpp 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 Header for the DeviceInfoHelper class. 00018 00019 #ifndef TORC_BITSTREAM_BUILD_DEVICEINFOHELPER_HPP 00020 #define TORC_BITSTREAM_BUILD_DEVICEINFOHELPER_HPP 00021 00022 #include "torc/bitstream/Bitstream.hpp" 00023 #include "torc/common/Devices.hpp" 00024 00025 namespace torc { 00026 namespace bitstream { 00027 00028 /// \brief Xilinx bitstream base class. 00029 class DeviceInfoHelper { 00030 public: 00031 // functions 00032 /// \brief Build the static device information for the specified family. 00033 static void buildFamilyDeviceInfo(const std::string& inFamilyName, 00034 const std::string& inTemplateName, const std::string& inOutputName, 00035 const torc::common::DeviceVector& inDeviceNames, Bitstream& inBitstream); 00036 }; 00037 00038 } // namespace bitstream 00039 } // namespace torc 00040 00041 #endif // TORC_BITSTREAM_BUILD_DEVICEINFOHELPER_HPP