Changeset 110 for trunk/IPs/systemC/processor/Morpheo/TopLevel
- Timestamp:
- Feb 19, 2009, 5:31:47 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/TopLevel
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/TopLevel/include/Morpheo.h
r97 r110 32 32 #include "Common/include/Debug.h" 33 33 34 35 34 #include <iostream> 35 #include <csignal> 36 #include <unistd.h> 36 37 37 38 namespace morpheo { … … 184 185 #ifdef SYSTEMC 185 186 public : bool simulation_end (void); 187 private : void signal_init (void); 188 //private : void signal_handler (int value); 186 189 #endif 187 190 }; 191 192 void signal_handler (int value); 188 193 189 194 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo.cpp
r97 r110 80 80 #endif 81 81 } 82 83 #ifdef SYSTEMC 84 // Stop alarm 85 signal_init(); 86 #endif 87 82 88 log_end(Morpheo,FUNCTION); 83 89 }; … … 88 94 { 89 95 log_begin(Morpheo,FUNCTION); 96 97 #ifdef SYSTEMC 98 // Stop alarm 99 alarm(0); 100 #endif 90 101 91 102 #ifdef STATISTICS -
trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_transition.cpp
r88 r110 20 20 { 21 21 log_begin(Morpheo,FUNCTION); 22 23 // Re init the alarm 24 alarm(debug_idle_time); 22 25 23 26 #if defined(STATISTICS) or defined(VHDL_TESTBENCH)
Note: See TracChangeset
for help on using the changeset viewer.