source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Parameters_print.cpp @ 15

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

Interface normalisé
Début du banc de registres multi niveaux

File size: 1.3 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10using namespace std;
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
16namespace select_priority_fixed {
17
18  string Parameters::print (uint32_t depth)
19  {
20    log_printf(FUNC,Select_Priority_Fixed,"print","Begin");
21
22    XML xml ("select_priority_fixed");
23
24    xml.balise_open("select_priority_fixed");
25    xml.singleton_begin("nb_entity       "); xml.attribut("value",toString(_nb_entity       )); xml.singleton_end();
26    xml.singleton_begin("encoding_one_hot"); xml.attribut("value",toString(_encoding_one_hot)); xml.singleton_end();
27    xml.singleton_begin("encoding_compact"); xml.attribut("value",toString(_encoding_compact)); xml.singleton_end();
28    xml.balise_close();
29
30    log_printf(FUNC,Select_Priority_Fixed,"print","End");
31   
32    return xml.get_body(depth);
33  };
34
35  ostream& operator<< (ostream& output_stream ,
36                       morpheo::behavioural::generic::select::select_priority_fixed::Parameters & x)
37  {
38    output_stream << x.print(0);
39   
40    return output_stream;
41  };
42
43}; // end namespace select_priority_fixed
44}; // end namespace select
45}; // end namespace generic
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.