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.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameters_print.cpp 146 2011-02-01 20:57:54Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/RegisterFile/include/Parameters.h" |
---|
9 | #include "Behavioural/include/XML.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace registerfile { |
---|
15 | |
---|
16 | std::string Parameters::print (uint32_t depth) |
---|
17 | { |
---|
18 | log_printf(FUNC,RegisterFile,"print","Begin"); |
---|
19 | |
---|
20 | std::string _return; |
---|
21 | |
---|
22 | if (_instance == instance_RegisterFile_Monolithic) |
---|
23 | _return = _param_registerfile_monolithic->print(depth); |
---|
24 | else |
---|
25 | { |
---|
26 | if (_instance == instance_RegisterFile_Internal_Banked) |
---|
27 | _return = _param_registerfile_internal_banked->print(depth); |
---|
28 | else |
---|
29 | _return = _param_registerfile_multi_banked->print(depth); |
---|
30 | } |
---|
31 | |
---|
32 | log_printf(FUNC,RegisterFile,"print","End"); |
---|
33 | |
---|
34 | return _return; |
---|
35 | }; |
---|
36 | |
---|
37 | std::ostream& operator<< (std::ostream& output_stream , |
---|
38 | morpheo::behavioural::generic::registerfile::Parameters & x) |
---|
39 | { |
---|
40 | output_stream << x.print(0); |
---|
41 | |
---|
42 | return output_stream; |
---|
43 | }; |
---|
44 | |
---|
45 | }; // end namespace registerfile |
---|
46 | }; // end namespace generic |
---|
47 | |
---|
48 | }; // end namespace behavioural |
---|
49 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.