#ifdef STATISTICS
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/RegisterFile/include/RegisterFile.h"

namespace morpheo {
namespace behavioural {
namespace generic {
namespace registerfile {


  string RegisterFile::statistics (uint32_t depth)
  {
    log_printf(FUNC,RegisterFile,"statistics","Begin");
    
    if (_param->_instance == instance_RegisterFile_Monilithic)
      component_RegisterFile_Monolithic  ->statistics(depth);
    else
      component_RegisterFile_Multi_Banked->statistics(depth);

    string txt = _stat->print(depth);
    
    log_printf(FUNC,RegisterFile,"statistics","End");

    return txt;
  };

}; // end namespace registerfile
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
