source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Core_Glue/src/Core_Glue_transition.cpp @ 117

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

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: Core_Glue_transition.cpp 117 2009-05-16 14:42:39Z 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::transition"
19  void Core_Glue::transition (void)
20  {
21    log_begin(Core_Glue,FUNCTION);
22
23    if (PORT_READ(in_NRESET) == 0)
24      {
25        for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
26          {
27//          _priority_ooo_engine [i]->reset();
28            _priority_read_unit  [i]->reset();
29          }
30        _priority_ooo_engine->reset();
31 
32      }
33    else
34      {
35        // next priority
36        for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
37          {
38//          _priority_ooo_engine [i]->transition();
39            _priority_read_unit  [i]->transition();
40          }
41        _priority_ooo_engine->transition();
42      }
43
44#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
45    end_cycle ();
46#endif
47
48    log_end(Core_Glue,FUNCTION);
49  };
50
51}; // end namespace core_glue
52}; // end namespace core
53
54}; // end namespace behavioural
55}; // end namespace morpheo             
56#endif
Note: See TracBrowser for help on using the repository browser.