Changeset 37 for vis_dev/vis-2.3/src/debug
- Timestamp:
- Jan 5, 2012, 4:33:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/vis-2.3/src/debug/debug.c
r36 r37 598 598 return 1; 599 599 } 600 if (verbose) 601 mdd_FunctionPrintMain (mddManager ,rel,"REL",vis_stdout); 602 600 603 601 604 /** Get image_info **/ … … 634 637 Part_VertexSetFunction(vertex, newMvf); 635 638 // printf("vertex %s changed % d\n",PartVertexReadName(vertex)); 636 Mvf_FunctionFree(mvf); 637 } 638 639 /** Change the fsm **/ 640 fsm = Fsm_FsmCreateFromNetworkWithPartition(network, partition); 639 } 640 641 /** Change the fsm and the network with a new partition and the new fsm **/ 642 Ntk_NetworkSetApplInfo(network, PART_NETWORK_APPL_KEY, 643 (Ntk_ApplInfoFreeFn) Part_PartitionFreeCallback, 644 (void *) partition); 645 fsm = Fsm_FsmCreateFromNetworkWithPartition(network, NIL(graph_t)); 641 646 mdd_t * init = Fsm_FsmComputeInitialStates(fsm); 642 Fsm_FsmComputeReachableStates(fsm,0,verbose,647 mdd_t * reach = Fsm_FsmComputeReachableStates(fsm,0,verbose, 643 648 0,0, 0, 644 649 0, 0, Fsm_Rch_Default_c, 645 650 0,1, NIL(array_t), 646 651 (verbose > 0), NIL(array_t)); 652 fsm->reachabilityInfo.initialStates = init; 653 fsm->reachabilityInfo.reachableStates = reach; 647 654 if(verbose) 648 655 Fsm_FsmReachabilityPrintResults(fsm,3, 0); 649 /** Change Image Info **/ 650 Ntk_NetworkSetApplInfo(network, PART_NETWORK_APPL_KEY, 651 (Ntk_ApplInfoFreeFn) Part_PartitionFreeCallback, 652 (void *) partition); 653 656 657 Ntk_NetworkSetApplInfo(network, FSM_NETWORK_APPL_KEY, 658 (Ntk_ApplInfoFreeFn) Fsm_FsmFreeCallback, 659 (void *) fsm); 654 660 655 661 return 0; /* normal exit */
Note: See TracChangeset
for help on using the changeset viewer.