source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/src/OOO_Engine_Glue_genMealy_rename.cpp @ 120

Last change on this file since 120 was 120, checked in by rosiere, 15 years ago

1) Context_state : Add statistics
2) Add configuration with multi front_end
3) Add optionnal pid at log filename

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: OOO_Engine_Glue_genMealy_rename.cpp 120 2009-05-26 19:01:47Z 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
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_ooo_engine {
15namespace ooo_engine {
16namespace 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
26    for (uint32_t i=0; i<_param->_nb_front_end; ++i)
27      for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j)
28        {
29          // if have not front_end_id port, this function is not use
30          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])]);
31        }
32
33    log_end(OOO_Engine_Glue,FUNCTION);
34  };
35
36}; // end namespace ooo_engine_glue
37}; // end namespace ooo_engine
38}; // end namespace multi_ooo_engine
39}; // end namespace core
40
41}; // end namespace behavioural
42}; // end namespace morpheo             
43#endif
Note: See TracBrowser for help on using the repository browser.