Last change
on this file since 145 was
123,
checked in by rosiere, 15 years ago
|
1) Fix performance
2) add auto generation to SPECINT2000
3) add reset in genMoore and genMealy
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Rev | Line | |
---|
[88] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id: OOO_Engine_Glue_genMealy_rename.cpp 123 2009-06-08 20:43:30Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/include/OOO_Engine_Glue.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_ooo_engine { |
---|
| 15 | namespace ooo_engine { |
---|
| 16 | namespace ooo_engine_glue { |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
| 20 | #define FUNCTION "OOO_Engine_Glue::genMealy_rename" |
---|
| 21 | void OOO_Engine_Glue::genMealy_rename (void) |
---|
| 22 | { |
---|
| 23 | log_begin(OOO_Engine_Glue,FUNCTION); |
---|
| 24 | log_function(OOO_Engine_Glue,FUNCTION,_name.c_str()); |
---|
| 25 | |
---|
[123] | 26 | if (PORT_READ(in_NRESET)) |
---|
| 27 | { |
---|
[120] | 28 | for (uint32_t i=0; i<_param->_nb_front_end; ++i) |
---|
[88] | 29 | for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j) |
---|
[120] | 30 | { |
---|
| 31 | // if have not front_end_id port, this function is not use |
---|
| 32 | PORT_WRITE(out_RENAME_RENAME_UNIT_FRONT_END_ID [i][j],_param->_translate_front_end_id_to_rename_unit [PORT_READ(in_RENAME_FRONT_END_ID [i][j])]); |
---|
| 33 | } |
---|
[123] | 34 | } |
---|
[120] | 35 | |
---|
[88] | 36 | log_end(OOO_Engine_Glue,FUNCTION); |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace ooo_engine_glue |
---|
| 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.