source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_constant.cpp @ 146

Last change on this file since 146 was 146, checked in by rosiere, 13 years ago

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: RegisterFile_Monolithic_constant.cpp 146 2011-02-01 20:57:54Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h"
10
11namespace morpheo                    {
12namespace behavioural                {
13namespace generic                    {
14namespace registerfile               {
15namespace registerfile_monolithic    {
16
17#undef  FUNCTION
18#define FUNCTION "RegisterFile_Monolithic::constant"
19  void RegisterFile_Monolithic::constant (void)
20  {
21    log_begin(RegisterFile_Monolithic,FUNCTION);
22    log_function(RegisterFile_Monolithic,FUNCTION,_name.c_str());
23   
24    for (uint32_t i=0; i<_param->_nb_port_read       ; i++)
25      PORT_WRITE(out_READ_ACK        [i], 1);
26    for (uint32_t i=0; i<_param->_nb_port_write      ; i++)
27      PORT_WRITE(out_WRITE_ACK       [i], 1);
28
29    log_end(RegisterFile_Monolithic,FUNCTION);
30  };
31
32}; // end namespace registerfile_monolithic
33}; // end namespace registerfile
34}; // end namespace generic
35}; // end namespace behavioural         
36}; // end namespace morpheo             
37#endif
Note: See TracBrowser for help on using the repository browser.