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

Last change on this file since 123 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
Line 
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
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    if (PORT_READ(in_NRESET))
27      {
28    for (uint32_t i=0; i<_param->_nb_front_end; ++i)
29      for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j)
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        }
34      }
35
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.