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:
832 bytes
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: Core_Glue_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Core_Glue/include/Core_Glue.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace core_glue { |
---|
15 | |
---|
16 | |
---|
17 | #undef FUNCTION |
---|
18 | #define FUNCTION "Core_Glue::constant" |
---|
19 | void Core_Glue::constant (void) |
---|
20 | { |
---|
21 | log_begin(Core_Glue,FUNCTION); |
---|
22 | |
---|
23 | if (_param->_have_port_front_end_id) |
---|
24 | for (uint32_t i=0; i<_param->_nb_front_end; ++i) |
---|
25 | for (uint32_t j=0; j<_param->_nb_inst_decod [i]; ++j) |
---|
26 | { |
---|
27 | PORT_WRITE(out_RENAME_FRONT_END_ID [i][j],_param->_translate_num_front_end_to_ooo_engine_front_end_id[i]); |
---|
28 | } |
---|
29 | |
---|
30 | log_end(Core_Glue,FUNCTION); |
---|
31 | }; |
---|
32 | |
---|
33 | }; // end namespace core_glue |
---|
34 | }; // end namespace core |
---|
35 | |
---|
36 | }; // end namespace behavioural |
---|
37 | }; // end namespace morpheo |
---|
38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.