#ifdef SYSTEMC /* * $Id: RegisterFile_Monolithic_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ * * [ Description ] * */ #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" namespace morpheo { namespace behavioural { namespace generic { namespace registerfile { namespace registerfile_monolithic { #undef FUNCTION #define FUNCTION "RegisterFile_Monolithic::constant" void RegisterFile_Monolithic::constant (void) { log_begin(RegisterFile_Monolithic,FUNCTION); log_function(RegisterFile_Monolithic,FUNCTION,_name.c_str()); for (uint32_t i=0; i<_param->_nb_port_read ; i++) PORT_WRITE(out_READ_ACK [i], 1); for (uint32_t i=0; i<_param->_nb_port_write ; i++) PORT_WRITE(out_WRITE_ACK [i], 1); for (uint32_t i=0; i<_param->_nb_port_read_write ; i++) PORT_WRITE(out_READ_WRITE_ACK [i], 1); log_end(RegisterFile_Monolithic,FUNCTION); }; }; // end namespace registerfile_monolithic }; // end namespace registerfile }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo #endif