source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Comparator/src/Comparator_deallocation.cpp @ 113

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

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

  • Property svn:keywords set to Id
File size: 952 bytes
Line 
1/*
2 * $Id: Comparator_deallocation.cpp 113 2009-04-14 18:39:12Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Comparator/include/Comparator.h"
9#include "Behavioural/include/Allocation.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace comparator {
15
16
17#undef  FUNCTION
18#define FUNCTION "Comparator::deallocation"
19  void Comparator::deallocation (void)
20  {
21    log_begin(Comparator,FUNCTION);
22
23    if (usage_is_set(_usage,USE_SYSTEMC))
24      {
25        delete    in_CLOCK ;
26        delete    in_NRESET;
27
28        DELETE0_SIGNAL( in_COMPARE_DATA_0,_param->_size_data);
29        DELETE0_SIGNAL( in_COMPARE_DATA_1,_param->_size_data);
30        DELETE0_SIGNAL(out_COMPARE_TEST  ,1);
31      }
32    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
33
34    delete _component;
35
36    log_end(Comparator,FUNCTION);
37  };
38
39}; // end namespace comparator
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.