Last change
on this file since 139 was
137,
checked in by rosiere, 15 years ago
|
Various modif (add test, and vhdl)
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Rev | Line | |
---|
[10] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 137 2010-02-16 12:35:48Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
[15] | 8 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Parameters.h" |
---|
[10] | 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace victim { |
---|
[15] | 14 | namespace victim_pseudo_lru { |
---|
[10] | 15 | |
---|
| 16 | |
---|
| 17 | Parameters::Parameters (uint32_t nb_entity , |
---|
| 18 | uint32_t nb_access , |
---|
[78] | 19 | // uint32_t nb_update , |
---|
| 20 | uint32_t size_table, |
---|
[137] | 21 | bool table_global) |
---|
[10] | 22 | { |
---|
[137] | 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 | |
---|
[10] | 31 | test(); |
---|
| 32 | }; |
---|
| 33 | |
---|
[88] | 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 | // }; |
---|
[10] | 44 | |
---|
| 45 | Parameters::~Parameters () |
---|
[88] | 46 | { |
---|
| 47 | }; |
---|
[10] | 48 | |
---|
[88] | 49 | void Parameters::copy (void) |
---|
| 50 | { |
---|
| 51 | }; |
---|
| 52 | |
---|
[15] | 53 | }; // end namespace victim_pseudo_lru |
---|
[10] | 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.