Ignore:
Timestamp:
Feb 16, 2010, 1:35:48 PM (14 years ago)
Author:
rosiere
Message:

Various modif (add test, and vhdl)

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Parameters.h

    r88 r137  
    2222  {
    2323    //-----[ fields ]------------------------------------------------------------
    24   public : const uint32_t _nb_entity ; // number of entity
    25   public : const uint32_t _nb_access ; // number of port to select an entity
    26 //public : const uint32_t _nb_update ; // number of port to update the internal entity
    27   public : const uint32_t _size_table; // Size of victim_pseudo_lru's table
    28   public : const bool     _table_global;
    29   public : const uint32_t _size_address;
     24  public : uint32_t _nb_entity ; // number of entity
     25  public : uint32_t _nb_access ; // number of port to select an entity
     26//public : uint32_t _nb_update ; // number of port to update the internal entity
     27  public : uint32_t _size_table; // Size of victim_pseudo_lru's table
     28  public : bool     _table_global;
     29  public : uint32_t _size_address;
    3030
    3131    //-----[ methods ]-----------------------------------------------------------
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Parameters.cpp

    r88 r137  
    1919//                        uint32_t nb_update ,
    2020                          uint32_t size_table,
    21                           bool     table_global):
    22     _nb_entity  (nb_entity ),
    23     _nb_access  (nb_access ),
    24 //     _nb_update  (nb_update ),
    25     _size_table ((table_global == true)?1:size_table),
    26     _table_global (table_global),
    27     _size_address (size_table)
     21                          bool     table_global)
    2822  {
     23    _nb_entity    = nb_entity;
     24    _nb_access    = nb_access;
     25//  _nb_update    = nb_update;
     26    _size_table   = (table_global == true)?1:size_table;
     27    _table_global = table_global;
     28
     29    _size_address = size_table;
     30
    2931    test();
    3032  };
Note: See TracChangeset for help on using the changeset viewer.