[131] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id: Reexecute_unit_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/include/Reexecute_unit.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_ooo_engine { |
---|
| 15 | namespace ooo_engine { |
---|
| 16 | namespace reexecute_unit { |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
| 20 | #define FUNCTION "Reexecute_unit::constant" |
---|
| 21 | void Reexecute_unit::constant (void) |
---|
| 22 | { |
---|
| 23 | log_begin(Reexecute_unit,FUNCTION); |
---|
| 24 | log_function(Reexecute_unit,FUNCTION,_name.c_str()); |
---|
| 25 | |
---|
| 26 | for (uint32_t i=0; i<_param->_nb_inst_reexecute; ++i) |
---|
| 27 | { |
---|
| 28 | if (_param->_have_port_load_queue_ptr) |
---|
| 29 | PORT_WRITE(out_REEXECUTE_LOAD_QUEUE_PTR_WRITE [i],0); |
---|
| 30 | PORT_WRITE(out_REEXECUTE_READ_RA [i],0); |
---|
| 31 | PORT_WRITE(out_REEXECUTE_NUM_REG_RA [i],0); |
---|
| 32 | PORT_WRITE(out_REEXECUTE_READ_RB [i],0); |
---|
| 33 | PORT_WRITE(out_REEXECUTE_NUM_REG_RB [i],0); |
---|
| 34 | PORT_WRITE(out_REEXECUTE_READ_RC [i],0); |
---|
| 35 | PORT_WRITE(out_REEXECUTE_NUM_REG_RC [i],0); |
---|
| 36 | PORT_WRITE(out_REEXECUTE_WRITE_RE [i],0); |
---|
| 37 | PORT_WRITE(out_REEXECUTE_NUM_REG_RE [i],0); |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | log_end(Reexecute_unit,FUNCTION); |
---|
| 41 | }; |
---|
| 42 | |
---|
| 43 | }; // end namespace reexecute_unit |
---|
| 44 | }; // end namespace ooo_engine |
---|
| 45 | }; // end namespace multi_ooo_engine |
---|
| 46 | }; // end namespace core |
---|
| 47 | |
---|
| 48 | }; // end namespace behavioural |
---|
| 49 | }; // end namespace morpheo |
---|
| 50 | #endif |
---|