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

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

1) compatible gcc 4.4.3
2) Translation file in MORPHEO_PREFIX directory

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Signal_dealloc.cpp 144 2010-09-28 11:19:10Z 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
20#warning "FIXME : Signal::dealloc"
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.