source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/src/Rename_select_transition.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: Rename_select_transition.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/include/Rename_select.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_ooo_engine {
15namespace ooo_engine {
16namespace rename_unit {
17namespace rename_select {
18
19
20#undef  FUNCTION
21#define FUNCTION "Rename_select::transition"
22  void Rename_select::transition (void)
23  {
24    log_printf(FUNC,Rename_select,FUNCTION,"Begin");
25
26    if (PORT_READ(in_NRESET) == 0)
27      {
28        _priority->reset();
29      }
30    else
31      {
32        _priority->transition();
33
34// #if (DEBUG >= DEBUG_TRACE)
35//      log_printf(TRACE,Rename_select,FUNCTION,"Select priority (front_end, inst_decod)");
36//      for (std::list<select_t>::iterator it=select.begin();
37//           it != select.end();
38//           it++)
39//        log_printf(TRACE,Rename_select,FUNCTION,"  %d %d",it->_front_end, it->_inst_decod);
40// #endif
41      }
42   
43#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
44    end_cycle ();
45#endif
46
47    log_printf(FUNC,Rename_select,FUNCTION,"End");
48  };
49
50}; // end namespace rename_select
51}; // end namespace rename_unit
52}; // end namespace ooo_engine
53}; // end namespace multi_ooo_engine
54}; // end namespace core
55
56}; // end namespace behavioural
57}; // end namespace morpheo             
58#endif
Note: See TracBrowser for help on using the repository browser.