Changeset 21
- Timestamp:
- Jul 19, 2011, 4:51:20 PM (13 years ago)
- Location:
- vis_dev
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/glu-2.3/src/cuPort/cuPort.c
r20 r21 706 706 ******************************************************************************/ 707 707 bdd_t * 708 dd_and_smooth(708 bdd_and_smooth( 709 709 bdd_t *f, 710 710 bdd_t *g, -
vis_dev/vis-2.3/src/bmc/bmc.h
r14 r21 61 61 EXTERN MvfAig_Function_t * Bmc_NodeBuildMVF(Ntk_Network_t *network, Ntk_Node_t *node); 62 62 EXTERN MvfAig_Function_t * Bmc_ReadMvfAig(Ntk_Node_t * node, st_table * nodeToMvfAigTable); 63 63 BmcOption_t * ParseBmcOptions(int argc, char **argv); 64 64 /**AutomaticEnd***************************************************************/ 65 65 -
vis_dev/vis-2.3/src/fsm/fsm.h
r14 r21 330 330 EXTERN void Fsm_ImageInfoConjoinWithWinningStrategy( Fsm_Fsm_t *modelFsm, Img_DirectionType directionType, mdd_t *winningStrategy); 331 331 EXTERN void Fsm_ImageInfoRecoverFromWinningStrategy( Fsm_Fsm_t *modelFsm, Img_DirectionType directionType); 332 332 int ComputeNumberOfBinaryStateVariables(mdd_manager *mddManager, array_t *mddIdArray); 333 333 334 334 /**AutomaticEnd***************************************************************/ -
vis_dev/vis-2.3/src/rob/Robust.c
r19 r21 147 147 mvar_type mVar = array_fetch(mvar_type, 148 148 mdd_ret_mvar_list(mddManager),mddId); 149 int protect ed= 0, j;149 int protect = 0, j; 150 150 for ( j = 0 ; j < array_n( wordArray ) ; j++ ) { 151 151 char* w = array_fetch( char*, wordArray, j ); … … 154 154 if (l > 0 && w[l-1] == '*') { 155 155 if (strncmp(mVar.name, w, l-1) == 0) { 156 protect ed= 1;156 protect = 1; 157 157 break; 158 158 } 159 159 } 160 160 else if (strcmp(mVar.name, w) == 0) { 161 protect ed= 1;161 protect = 1; 162 162 break; 163 163 } 164 164 } 165 165 (void) fprintf(vis_stdout, "%-20s%10d", mVar.name, mVar.values); 166 if (protect ed) {166 if (protect) { 167 167 (void) fprintf(vis_stdout, " protected\n"); 168 168 } … … 187 187 int verbosityLevel, 188 188 int printStep, 189 FILE* protect ed) {189 FILE* protect) { 190 190 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 191 191 array_t *nonProtectedIdArray; … … 195 195 // construction du vecteur des registres non protégés 196 196 nonProtectedIdArray = 197 determine_non_protected_registers(fsm,protect ed);197 determine_non_protected_registers(fsm,protect); 198 198 199 199 if (array_n(nonProtectedIdArray) == … … 483 483 mdd_t* error_states_us_ut(Fsm_Fsm_t *fsm, 484 484 mdd_t* S, 485 FILE* protect ed) {485 FILE* protect) { 486 486 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 487 487 array_t *nonProtectedIdArray, *bdd_vars; … … 490 490 // construction du vecteur des registres non protégés 491 491 nonProtectedIdArray = 492 determine_non_protected_registers(fsm,protect ed);492 determine_non_protected_registers(fsm,protect); 493 493 494 494 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); … … 503 503 mdd_t* error_states_ms_ut(Fsm_Fsm_t *fsm, 504 504 mdd_t* S, 505 FILE* protect ed) {505 FILE* protect) { 506 506 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 507 507 array_t *nonProtectedIdArray, *bdd_vars; … … 510 510 // construction du vecteur des registres non protégés 511 511 nonProtectedIdArray = 512 determine_non_protected_registers(fsm,protect ed);512 determine_non_protected_registers(fsm,protect); 513 513 514 514 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); … … 525 525 mdd_t* S0, 526 526 mdd_t* S, 527 FILE* protect ed) {527 FILE* protect) { 528 528 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 529 529 array_t *nonProtectedIdArray, *bdd_vars; … … 536 536 537 537 nonProtectedIdArray = 538 determine_non_protected_registers(fsm,protect ed);538 determine_non_protected_registers(fsm,protect); 539 539 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); 540 540 … … 632 632 mdd_t* error_states_us_mt(Fsm_Fsm_t *fsm, 633 633 mdd_t *S, 634 FILE *protect ed) {634 FILE *protect) { 635 635 636 636 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 637 637 638 638 // construction du vecteur des registres non protégés 639 array_t *nonProtectedIdArray = determine_non_protected_registers(fsm, protect ed);639 array_t *nonProtectedIdArray = determine_non_protected_registers(fsm, protect); 640 640 array_t *bdd_vars = getbddvars(mddManager, nonProtectedIdArray); 641 641 // sauvegarde des états initiaux et accessibles courants -
vis_dev/vis-2.3/src/rob/Robust.h
r19 r21 55 55 array_t* determine_non_protected_registers(Fsm_Fsm_t *fsm, FILE *f); 56 56 mdd_t* compute_error_states (Fsm_Fsm_t *fsm, mdd_t* reachable, 57 int verbosityLevel, int printStep, 58 FILE* protected); 59 mdd_t* error_states_us_ut(Fsm_Fsm_t *fsm, mdd_t* reachable, 60 FILE* protected); 57 int verbosityLevel, int printStep, FILE* protect); 58 mdd_t* error_states_us_ut(Fsm_Fsm_t *fsm, mdd_t* reachable,FILE* protect); 59 mdd_t* error_states_us_mt(Fsm_Fsm_t *fsm, mdd_t *S, FILE *protect); 60 mdd_t* error_states_ms_ut(Fsm_Fsm_t *fsm, mdd_t *S, FILE *protect); 61 mdd_t* error_states_ms_mt(Fsm_Fsm_t *fsm, mdd_t* S0,mdd_t *S, FILE *protect) 62 ; 61 63 void compute_fair (Fsm_Fsm_t *fsm,int verbosityLevel); 62 64 Hrc_Node_t * build_golden_faulty_compo(Hrc_Manager_t * hmgr,Hrc_Node_t * rootNode, Hrc_Model_t * newRootModel); -
vis_dev/vis-2.3/src/rob/robCmd.c
r19 r21 170 170 int argc, char ** argv){ 171 171 char* fichier="./test"; 172 int k= main_Count_test_(fichier);172 int k= 0;//main_Count_test_(fichier); 173 173 printf("res= %d \n",k); 174 174 return 0;
Note: See TracChangeset
for help on using the changeset viewer.