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 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_ooo_engine { |
---|
15 | namespace ooo_engine { |
---|
16 | namespace rename_unit { |
---|
17 | namespace 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 |
---|