Last change
on this file since 117 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
995 bytes
|
Rev | Line | |
---|
[53] | 1 | /* |
---|
| 2 | * $Id: Parameters_print.cpp 81 2008-04-15 18:40:01Z 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 | |
---|
[75] | 17 | std::string Parameters::print (uint32_t depth) |
---|
[53] | 18 | { |
---|
| 19 | log_printf(FUNC,RegisterFile,"print","Begin"); |
---|
| 20 | |
---|
[75] | 21 | std::string _return; |
---|
[53] | 22 | |
---|
| 23 | if (_instance == instance_RegisterFile_Monolithic) |
---|
| 24 | _return = _param_registerfile_monolithic ->print(depth); |
---|
| 25 | else |
---|
| 26 | _return = _param_registerfile_multi_banked->print(depth); |
---|
| 27 | |
---|
| 28 | log_printf(FUNC,RegisterFile,"print","End"); |
---|
| 29 | |
---|
| 30 | return _return; |
---|
| 31 | }; |
---|
| 32 | |
---|
[75] | 33 | std::ostream& operator<< (std::ostream& output_stream , |
---|
| 34 | morpheo::behavioural::generic::registerfile::Parameters & x) |
---|
[53] | 35 | { |
---|
[75] | 36 | output_stream << x.print(0); |
---|
[53] | 37 | |
---|
| 38 | return output_stream; |
---|
| 39 | }; |
---|
| 40 | |
---|
| 41 | }; // end namespace registerfile |
---|
| 42 | }; // end namespace generic |
---|
| 43 | |
---|
| 44 | }; // end namespace behavioural |
---|
| 45 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.