Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 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_allocation.cpp

    r82 r88  
    1 #ifdef SYSTEMC
    21/*
    32 * $Id$
    43 *
    5  * [ Description ]
     4 * [ Description ]
    65 *
    76 */
     
    2928    _interfaces = entity->set_interfaces();
    3029
    31     // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     30    // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3231    {
    3332      Interface * interface = _interfaces->set_interface(""
     
    4342    }
    4443
    45     // ~~~~~[ Interface : "counter" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     44    // ~~~~~[ Interface : "counter" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    4645     {
    4746        in_COUNTER_DATA  = new SC_IN (Tdata_t)    * [_param._nb_port];
     
    6463         }
    6564     }
     65
    6666#ifdef POSITION
    67     _component->generate_file();
     67     if (usage_is_set(_usage,USE_POSITION))
     68       _component->generate_file();
    6869#endif
    6970
    70     // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     71    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    7172    log_printf(FUNC,Counter,"allocation","End");
    7273  };
     
    7778}; // end namespace behavioural
    7879}; // end namespace morpheo             
    79 #endif
Note: See TracChangeset for help on using the changeset viewer.