Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

debug.h

Go to the documentation of this file.
00001 /**************************************************************************
00002 ***    
00003 *** Copyright (c) 1995-2000 Regents of the University of California,
00004 ***               Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov
00005 *** Copyright (c) 2000-2004 Regents of the University of Michigan,
00006 ***               Saurabh N. Adya, Jarrod A. Roy and Igor L. Markov
00007 ***
00008 ***  Contact author(s): abk@cs.ucsd.edu, imarkov@umich.edu
00009 ***  Original Affiliation:   UCLA, Computer Science Department,
00010 ***                          Los Angeles, CA 90095-1596 USA
00011 ***
00012 ***  Permission is hereby granted, free of charge, to any person obtaining 
00013 ***  a copy of this software and associated documentation files (the
00014 ***  "Software"), to deal in the Software without restriction, including
00015 ***  without limitation 
00016 ***  the rights to use, copy, modify, merge, publish, distribute, sublicense, 
00017 ***  and/or sell copies of the Software, and to permit persons to whom the 
00018 ***  Software is furnished to do so, subject to the following conditions:
00019 ***
00020 ***  The above copyright notice and this permission notice shall be included
00021 ***  in all copies or substantial portions of the Software.
00022 ***
00023 *** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
00024 *** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
00025 *** OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
00026 *** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00027 *** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
00028 *** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
00029 *** THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00030 ***
00031 ***
00032 ***************************************************************************/
00033 
00034 
00035 #ifndef DEBUG_H
00036 #define DEBUG_H
00037 
00038 #include "btree.h"
00039 #include "netlist.h"
00040 
00041 #include <iostream>
00042 #include <fstream>
00043 #include <iomanip>
00044 #include <string>
00045 using namespace std;
00046 
00047 const int FIELD_WIDTH = 10;
00048 
00049 void OutputHardBlockInfoType(ostream& outs,
00050                              const HardBlockInfoType& blockinfo);
00051 void OutputBTree(ostream& outs,
00052                  const BTree& bt);
00053 void OutputBTree(ostream& outs,
00054                  const vector<BTree::BTreeNode>& tree);
00055 void OutputPacking(ostream& outs,
00056                    const OrientedPacking& pk);
00057 
00058 void OutputMixedBlockInfoType(ostream& outs,
00059                               const MixedBlockInfoType& blockinfo);
00060    
00061 void OutputDouble(ostream& outs, double d);
00062 void OutputIndex(ostream& outs, int i);
00063 
00064 void DebugBits2Tree(int argc, char *argv[]);
00065 void DebugEvaluate(int argc, char *argv[]);
00066 void DebugSwap(int argc, char *argv[]);
00067 void DebugMove(int argc, char *argv[]);
00068 
00069 void DebugParseBlocks(int argc, char *argv[]);
00070 void DebugParseNets(int argc, char *argv[]);
00071 void DebugHPWL(int argc, char *argv[]);
00072 
00073 void DebugCopy(int argc, char *argv[]);
00074 void DebugCompact(int argc, char *argv[]);
00075 
00076 void DebugAnneal(int argc, char *argv[]);
00077 void DebugWireAnneal(int argc, char *argv[]);
00078 
00079 void DebugSSTreeToBTree(int argc, char *argv[]);
00080 
00081 void DebugParquetBTree(int argc, char *argv[]);
00082 void DebugBTreeSlack(int argc, char *argv[]);
00083 void DebugMixedPacking(int argc, char *argv[]);
00084 void DebugSoftPacking(int argc, char *argv[]);
00085 void DebugPltoSP(int argc, char *argv[]);
00086 void DebugPltoBTree(int argc, char *argv[]);
00087 void DebugPlSPtoBTree(int argc, char *argv[]);
00088 void DebugShiftBlock(int argc, char *argv[]);
00089 void DebugShiftLegalizer(int argc, char *argv[]);
00090 void DebugMixedBlockInfoTypeFromDB(int argc, char *argv[]);
00091 void DebugBTreeAnnealerFromDB(int argc, char *argv[]);
00092 
00093 #endif
00094 

Generated on Mon Apr 25 01:09:24 2005 for Parquete by doxygen 1.3.2