source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Core_Glue/src/Core_Glue_constant.cpp @ 131

Last change on this file since 131 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: 832 bytes
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: Core_Glue_constant.cpp 131 2009-07-08 18:40:08Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Core_Glue/include/Core_Glue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace core_glue {
15
16
17#undef  FUNCTION
18#define FUNCTION "Core_Glue::constant"
19  void Core_Glue::constant (void)
20  {
21    log_begin(Core_Glue,FUNCTION);
22
23    if (_param->_have_port_front_end_id)
24      for (uint32_t i=0; i<_param->_nb_front_end; ++i)
25        for (uint32_t j=0; j<_param->_nb_inst_decod [i]; ++j)
26          {
27            PORT_WRITE(out_RENAME_FRONT_END_ID [i][j],_param->_translate_num_front_end_to_ooo_engine_front_end_id[i]);
28          }
29   
30    log_end(Core_Glue,FUNCTION);
31  };
32
33}; // end namespace core_glue
34}; // end namespace core
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.