source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/src/RegisterFile_statistics.cpp @ 62

Last change on this file since 62 was 62, checked in by rosiere, 17 years ago

Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)

File size: 785 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/include/RegisterFile.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace generic {
14namespace registerfile {
15
16
17  string RegisterFile::statistics (uint32_t depth)
18  {
19    log_printf(FUNC,RegisterFile,"statistics","Begin");
20   
21    string txt;
22
23    if (_param->_instance == instance_RegisterFile_Monolithic)
24      txt = component_RegisterFile_Monolithic  ->statistics(depth);
25    else
26      txt = component_RegisterFile_Multi_Banked->statistics(depth);
27   
28    log_printf(FUNC,RegisterFile,"statistics","End");
29
30    return txt;
31  };
32
33}; // end namespace registerfile
34}; // end namespace generic
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.