Changeset 36 for vis_dev/vis-2.3/src/debug/debug.h
- Timestamp:
- Jan 4, 2012, 12:03:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/vis-2.3/src/debug/debug.h
r35 r36 65 65 /* Type declarations */ 66 66 /*---------------------------------------------------------------------------*/ 67 67 typedef struct DbgAbnormalStruct Dbg_Abnormal_t; 68 68 69 69 /*---------------------------------------------------------------------------*/ … … 76 76 /*---------------------------------------------------------------------------*/ 77 77 78 /**Macro*********************************************************************** 79 80 Synopsis [Iterates over the abnormal predicates.] 81 82 Description [This macro iterates over the abnormal predicates. It is an error 83 ] 84 85 SideEffects [This macro instantiates macros from the array package. Hence 86 it is advisable not to nest this macro within array macros.] 87 88 SeeAlso [Ntk_NodeForFreeInputs] 89 90 ******************************************************************************/ 91 #define Dbg_ForEachAbnormal( \ 92 /* Dbg_Abnormal_t * */ abnormal /* abnormal to iterate abn */, \ 93 /* int */ i /* local variable for iterator */, \ 94 /* Ntk_Node_t * */ abn /* abn of node */ \ 95 ) \ 96 arrayForEachItem(Ntk_Node_t *, Dbg_ReadAbn(abnormal), i, abn) 97 /**Macro*********************************************************************** 98 99 Synopsis [Iterates over the abnormal predicates.] 100 101 Description [This macro iterates over the abnormal predicates. It is an error 102 ] 103 104 SideEffects [This macro instantiates macros from the array package. Hence 105 it is advisable not to nest this macro within array macros.] 106 107 SeeAlso [Ntk_NodeForFreeInputs] 108 109 ******************************************************************************/ 110 #define Dbg_ForEachFreeInputs( \ 111 /* Dbg_Abnormal_t * */ abnormal /* abnormal to iterate abn */, \ 112 /* int */ i /* local variable for iterator */, \ 113 /* Ntk_Node_t * */ abn /* abn of node */ \ 114 ) \ 115 arrayForEachItem(Ntk_Node_t *, Dbg_ReadFreeInputs(abnormal), i, abn) 78 116 79 117 /**AutomaticStart*************************************************************/ … … 83 121 /*---------------------------------------------------------------------------*/ 84 122 85 void printLatch(st_table* CoiTable);86 st_table * generateAllLatches(Ntk_Network_t * ntk);87 void mdd_GetState_Values(mdd_manager *mgr, mdd_t * top, FILE * f);88 123 EXTERN void Debug_Init(void); 89 124 EXTERN void Debug_End(void); 90 125 EXTERN Dbg_Abnormal_t * Dbg_DebugAbnormalAlloc(Ntk_Network_t * network); 126 EXTERN void Dbg_DebugAbnormalFree(Dbg_Abnormal_t * abn); 127 EXTERN void Dbg_AddAbnormalPredicatetoNetwork(Dbg_Abnormal_t* abnormal); 128 EXTERN void Dbg_AddAbnormalPredicate(Dbg_Abnormal_t * abn, Ntk_Node_t* abnNode); 129 EXTERN void Dbg_AddFreeInput(Dbg_Abnormal_t * abn, Ntk_Node_t* fNode); 130 EXTERN array_t* Dbg_ReadFreeInputs(Dbg_Abnormal_t *abnormal); 131 EXTERN array_t* Dbg_ReadAbn(Dbg_Abnormal_t *abnormal); 91 132 /**AutomaticEnd***************************************************************/ 92 133
Note: See TracChangeset
for help on using the changeset viewer.