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