#ifdef SYSTEMC /* * $Id: Load_store_unit_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/include/Load_store_unit.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_execute_loop { namespace execute_loop { namespace multi_execute_unit { namespace execute_unit { namespace load_store_unit { #undef FUNCTION #define FUNCTION "Load_store_unit::constant" void Load_store_unit::constant (void) { log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); internal_DCACHE_RSP_ACK = 1; PORT_WRITE(out_DCACHE_RSP_ACK [0], internal_DCACHE_RSP_ACK); for (uint32_t i=1; i<_param->_nb_cache_port; ++i) { PORT_WRITE(out_DCACHE_RSP_ACK [i], 0); PORT_WRITE(out_DCACHE_REQ_VAL [i], 0); } for (uint32_t i=1; i<_param->_nb_inst_memory; i++) { PORT_WRITE(out_MEMORY_OUT_VAL [i], 0); } log_printf(FUNC,Load_store_unit,FUNCTION,"End"); }; }; // end namespace load_store_unit }; // end namespace execute_unit }; // end namespace multi_execute_unit }; // end namespace execute_loop }; // end namespace multi_execute_loop }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif