Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_deallocation.cpp

    r81 r88  
    1 #ifdef SYSTEMC
    21/*
    32 * $Id$
     
    1918    log_printf(FUNC,Counter,"deallocation","Begin");
    2019
    21     delete     in_CLOCK;
    22     delete     in_NRESET;
    23    
    24     delete []  in_COUNTER_DATA  ;
    25     delete []  in_COUNTER_ADDSUB;
    26     delete [] out_COUNTER_DATA  ;
    27    
     20    if (usage_is_set(_usage,USE_SYSTEMC))
     21      {
     22        delete     in_CLOCK;
     23        delete     in_NRESET;
     24       
     25        delete []  in_COUNTER_DATA  ;
     26        delete []  in_COUNTER_ADDSUB;
     27        delete [] out_COUNTER_DATA  ;
     28      }
     29
    2830    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    2931
     
    3840}; // end namespace behavioural
    3941}; // end namespace morpheo             
    40 #endif
Note: See TracChangeset for help on using the changeset viewer.