Ignore:
Timestamp:
Jan 31, 2008, 6:46:41 PM (16 years ago)
Author:
rosiere
Message:

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_allocation.cpp

    r42 r75  
    1717  void Victim_Pseudo_LRU::allocation (void)
    1818  {
    19 #ifdef POSITION
    2019    _component   = new Component ();
    2120
    22     Entity * entity = _component->set_entity (_name                  ,
    23                                              "Select_Priority_Fixed",
    24                                              COMBINATORY            );
     21    Entity * entity = _component->set_entity (_name                 
     22                                              ,"Select_Priority_Fixed"
     23#ifdef POSITION
     24                                              ,COMBINATORY           
     25#endif
     26                                              );
    2527   
    2628    _interfaces = entity->set_interfaces();
    27 #else
    28     _interfaces = new Interfaces();
    29 #endif
    3029
    3130    // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3231    {
    33       Interface_fifo * interface = _interfaces->set_interface("", IN  ,WEST, "Generalist interface");
     32      Interface_fifo * interface = _interfaces->set_interface(""
     33#ifdef POSITION
     34                                                              , IN  ,WEST, "Generalist interface"
     35#endif
     36                                                              );
    3437     
    3538      in_CLOCK        = interface->set_signal_clk              ("clock" ,1);
     
    4750      for (uint32_t i=0; i<_param._nb_access; i++)
    4851        {
    49           Interface_fifo * interface = _interfaces->set_interface("access_"+toString(i), IN  ,WEST, "Access");
     52          Interface_fifo * interface = _interfaces->set_interface("access_"+toString(i)
     53#ifdef POSITION
     54                                                                  , IN  ,WEST, "Access"
     55#endif
     56                                                                  );
    5057
    5158           in_ACCESS_VAL     [i] = interface->set_signal_valack_in        ("val"    , VAL);
     
    6976      for (uint32_t i=0; i<_param._nb_update; i++)
    7077        {
    71           Interface_fifo * interface = _interfaces->set_interface("update_"+toString(i), IN  ,EAST, "Update");
     78          Interface_fifo * interface = _interfaces->set_interface("update_"+toString(i)
     79#ifdef POSITION
     80                                                                  , IN  ,EAST, "Update"
     81#endif
     82                                                                  );
    7283
    7384          in_UPDATE_VAL     [i] = interface->set_signal_valack_in        ("val"    , VAL);
Note: See TracChangeset for help on using the changeset viewer.