source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Parameters.cpp

Last change on this file was 137, checked in by rosiere, 14 years ago

Various modif (add test, and vhdl)

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Parameters.cpp 137 2010-02-16 12:35:48Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Parameters.h"
9
10namespace morpheo {
11namespace behavioural {
12namespace generic {
13namespace victim {
14namespace victim_pseudo_lru {
15
16
17  Parameters::Parameters (uint32_t nb_entity ,
18                          uint32_t nb_access ,
19//                        uint32_t nb_update ,
20                          uint32_t size_table,
21                          bool     table_global)
22  {
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
31    test();
32  };
33 
34//   Parameters::Parameters (Parameters & param):
35//     _nb_entity  (param._nb_entity ),
36//     _nb_access  (param._nb_access ),
37// //     _nb_update  (param._nb_update ),
38//     _size_table (param._size_table),
39//     _table_global(param._table_global),
40//     _size_address(param._size_address)
41//   {
42//     test();
43//   };
44
45  Parameters::~Parameters () 
46  {
47  };
48
49  void Parameters::copy (void) 
50  {
51  };
52
53}; // end namespace victim_pseudo_lru
54}; // end namespace victim
55}; // end namespace generic
56
57}; // end namespace behavioural
58}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.