source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_dealloc.cpp @ 145

Last change on this file since 145 was 145, checked in by rosiere, 14 years ago

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Signal_dealloc.cpp 145 2010-10-13 18:15:51Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Signal.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13#undef  FUNCTION
14#define FUNCTION "Signal::alloc"
15  void Signal::dealloc (void)
16  {
17    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
18
19#warning "FIXME : Signal::dealloc"
20
21
22    // switch (_direction)
23    //   {
24    //   case INTERNAL :
25    //     switch (_type_info)
26    //       {
27    //       case BOOL     : delete (static_cast<sc_signal <bool    > *>(_sc_signal)); break;
28    //       case UINT8_T  : delete (static_cast<sc_signal <uint8_t > *>(_sc_signal)); break;
29    //       case UINT16_T : delete (static_cast<sc_signal <uint16_t> *>(_sc_signal)); break;
30    //       case UINT32_T : delete (static_cast<sc_signal <uint32_t> *>(_sc_signal)); break;
31    //       case UINT64_T : delete (static_cast<sc_signal <uint64_t> *>(_sc_signal)); break;
32    //       default       : throw (ErrorMorpheo ("Signal \""+_name+"\" : type unknow.\n"));
33    //       }
34    //   default : throw (ErrorMorpheo ("Signal \""+_name+"\" : invalid direction.\n"));
35    //   }
36   
37    log_printf(FUNC,Behavioural,FUNCTION,"End");
38  }
39
40}; // end namespace behavioural         
41}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.