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

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

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