Last change
on this file since 139 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:
1.2 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: Load_Store_pointer_unit_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/include/Load_Store_pointer_unit.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_ooo_engine { |
---|
15 | namespace ooo_engine { |
---|
16 | namespace rename_unit { |
---|
17 | namespace load_store_pointer_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Load_Store_pointer_unit::constant" |
---|
22 | void Load_Store_pointer_unit::constant (void) |
---|
23 | { |
---|
24 | log_begin(Load_Store_pointer_unit,FUNCTION); |
---|
25 | log_function(Load_Store_pointer_unit,FUNCTION,_name.c_str()); |
---|
26 | |
---|
27 | for (uint32_t i=0; i<_param->_nb_front_end; ++i) |
---|
28 | for (uint32_t j=0; j<_param->_nb_context[i]; ++j) |
---|
29 | { |
---|
30 | internal_RETIRE_EVENT_ACK [i][j] = 1; |
---|
31 | |
---|
32 | PORT_WRITE(out_RETIRE_EVENT_ACK[i][j],internal_RETIRE_EVENT_ACK [i][j]); |
---|
33 | } |
---|
34 | |
---|
35 | log_end(Load_Store_pointer_unit,FUNCTION); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace load_store_pointer_unit |
---|
39 | }; // end namespace rename_unit |
---|
40 | }; // end namespace ooo_engine |
---|
41 | }; // end namespace multi_ooo_engine |
---|
42 | }; // end namespace core |
---|
43 | |
---|
44 | }; // end namespace behavioural |
---|
45 | }; // end namespace morpheo |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.