00001 // Torc - Copyright 2011 University of Southern California. All Rights Reserved. 00002 // $HeadURL: https://svn.east.isi.edu/torc/trunk/src/torc/bitstream/VirtexPacket.cpp $ 00003 // $Id: VirtexPacket.cpp 380 2011-02-23 04:05:26Z 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 VirtexPacket class. 00018 00019 #include "torc/bitstream/VirtexPacket.hpp" 00020 #include <iostream> 00021 #include <iomanip> 00022 00023 namespace torc { 00024 namespace bitstream { 00025 00026 const char* VirtexPacket::sPacketTypeName[ePacketTypeCount] = { 00027 "[UNKNOWN TYPE 0]", "TYPE1", "TYPE2", "[UNKNOWN TYPE 3]", "[UNKNOWN TYPE 4]", 00028 "[UNKNOWN TYPE 5]", "[UNKNOWN TYPE 6]", "[UNKNOWN TYPE 7]" 00029 }; 00030 00031 const char* VirtexPacket::sOpcodeName[eOpcodeCount] = { 00032 "NOP", "READ", "WRITE", "RESERVED" 00033 }; 00034 00035 } // namespace bitstream 00036 } // namespace torc