Last change
on this file since 144 was
131,
checked in by rosiere, 15 years ago
|
1) add constant method
2) test with systemc 2.2.0
|
-
Property svn:keywords set to
Id
|
File size:
638 bytes
|
Rev | Line | |
---|
[131] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id: Victim_Pseudo_LRU_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace victim { |
---|
| 15 | namespace victim_pseudo_lru { |
---|
| 16 | |
---|
| 17 | void Victim_Pseudo_LRU::constant (void) |
---|
| 18 | { |
---|
| 19 | for (uint32_t i=0; i<_param->_nb_access; i++) |
---|
| 20 | { |
---|
| 21 | internal_ACCESS_ACK [i] = 1; |
---|
| 22 | PORT_WRITE (out_ACCESS_ACK [i], internal_ACCESS_ACK [i]); |
---|
| 23 | } |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | }; // end namespace victim_pseudo_lru |
---|
| 27 | }; // end namespace victim |
---|
| 28 | }; // end namespace generic |
---|
| 29 | |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
| 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.