source: trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_signal_handler.cpp @ 110

Last change on this file since 110 was 110, checked in by rosiere, 15 years ago

1) OOO_egine : add stat to depiste low perf source
2) Commit : add stat
3) LSU_Pointer : retire - always ack (else combinatory loop). insert - max nb_inst_memory
4) TopLevel? : add debug_idle_time to stop combinatory loop.
5) Issue_queue : add reexecute_queue, new implementation (routage after issue_queue)
6) Decod / Predictor : add "can_continue"

  • Property svn:keywords set to Id
File size: 562 bytes
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: Morpheo_signal_handler.cpp 110 2009-02-19 16:31:47Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "TopLevel/include/Morpheo.h"
10
11namespace morpheo {
12
13#undef  FUNCTION
14#define FUNCTION "signal_handler"
15  void signal_handler (int value)
16  {
17    sc_stop();
18
19    switch (value)
20      {
21      case SIGALRM :
22        {
23          throw ERRORMORPHEO(FUNCTION,_("Signal Alarm : can have a combinatory loop.\n"));
24          break;
25        }
26      default :
27        {
28          throw ERRORMORPHEO(FUNCTION,_("Unknow signal.\n"));
29          break;
30        }
31      }
32  };
33
34}; // end namespace morpheo
35#endif
Note: See TracBrowser for help on using the repository browser.