| 1 | /**CHeaderFile***************************************************************** |
|---|
| 2 | |
|---|
| 3 | FileName [debugInt.h] |
|---|
| 4 | |
|---|
| 5 | PackageName [Debug] |
|---|
| 6 | |
|---|
| 7 | Synopsis [Internal declarations.] |
|---|
| 8 | |
|---|
| 9 | Author [Originated from SIS.] |
|---|
| 10 | |
|---|
| 11 | Copyright [Copyright (c) 1994-1996 The Regents of the Univ. of California. |
|---|
| 12 | All rights reserved. |
|---|
| 13 | |
|---|
| 14 | Permission is hereby granted, without written agreement and without license |
|---|
| 15 | or royalty fees, to use, copy, modify, and distribute this software and its |
|---|
| 16 | documentation for any purpose, provided that the above copyright notice and |
|---|
| 17 | the following two paragraphs appear in all copies of this software. |
|---|
| 18 | |
|---|
| 19 | IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR |
|---|
| 20 | DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT |
|---|
| 21 | OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF |
|---|
| 22 | CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 23 | |
|---|
| 24 | THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, |
|---|
| 25 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
|---|
| 26 | FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN |
|---|
| 27 | "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE |
|---|
| 28 | MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.] |
|---|
| 29 | |
|---|
| 30 | Revision [$Id: debugInt.h,v 1.2 2011/04/12 22:28:37 Braunstein Exp $] |
|---|
| 31 | |
|---|
| 32 | ******************************************************************************/ |
|---|
| 33 | |
|---|
| 34 | #ifndef _DBGINT |
|---|
| 35 | #define _DBGINT |
|---|
| 36 | |
|---|
| 37 | /*---------------------------------------------------------------------------*/ |
|---|
| 38 | /* Nested includes */ |
|---|
| 39 | /*---------------------------------------------------------------------------*/ |
|---|
| 40 | #include "debug.h" |
|---|
| 41 | #include "cmd.h" |
|---|
| 42 | #include <string.h> |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | /*---------------------------------------------------------------------------*/ |
|---|
| 46 | /* Constant declarations */ |
|---|
| 47 | /*---------------------------------------------------------------------------*/ |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | /*---------------------------------------------------------------------------*/ |
|---|
| 51 | /* Structure declarations */ |
|---|
| 52 | /*---------------------------------------------------------------------------*/ |
|---|
| 53 | struct DbgAbnormalStruct{ |
|---|
| 54 | Ntk_Network_t * network; |
|---|
| 55 | array_t * abnormal; /* Array of Ntk_Node_t* */ |
|---|
| 56 | array_t * freeInputs; /* Array of Ntk_Node_t* */ |
|---|
| 57 | array_t * abnAigArray; /* Array of bAigEdge_t* as many entries as possible value */ |
|---|
| 58 | array_t * abnCnfIndexArray; /* Array of int */ |
|---|
| 59 | int verbose; |
|---|
| 60 | }; |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | /*---------------------------------------------------------------------------*/ |
|---|
| 64 | /* Type declarations */ |
|---|
| 65 | /*---------------------------------------------------------------------------*/ |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | /*---------------------------------------------------------------------------*/ |
|---|
| 69 | /* Variable declarations */ |
|---|
| 70 | /*---------------------------------------------------------------------------*/ |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | /*---------------------------------------------------------------------------*/ |
|---|
| 74 | /* Macro declarations */ |
|---|
| 75 | /*---------------------------------------------------------------------------*/ |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | /**AutomaticStart*************************************************************/ |
|---|
| 79 | |
|---|
| 80 | /*---------------------------------------------------------------------------*/ |
|---|
| 81 | /* Function prototypes */ |
|---|
| 82 | /*---------------------------------------------------------------------------*/ |
|---|
| 83 | |
|---|
| 84 | void printLatch(st_table* CoiTable); |
|---|
| 85 | st_table * generateAllLatches(Ntk_Network_t * ntk); |
|---|
| 86 | void mdd_GetState_Values(mdd_manager *mgr, mdd_t * top, FILE * f); |
|---|
| 87 | void printNodeArray(array_t * nodeArray); |
|---|
| 88 | |
|---|
| 89 | /**AutomaticEnd***************************************************************/ |
|---|
| 90 | |
|---|
| 91 | #endif /* _DBGINT */ |
|---|
| 92 | |
|---|
| 93 | |
|---|