/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include <stdint.h>
#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h"
#include <sstream>
using namespace std;

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

  string Parameters::print (uint32_t depth)
  {
    string tab = string(depth,'\t');
    ostringstream msg;
    msg << tab << "<registerfile_monolithic>" << endl
	<< tab << "\t<nb_port_read  value=\"" << _nb_port_read  << "\" />" << endl
	<< tab << "\t<nb_port_write value=\"" << _nb_port_write << "\" />" << endl
	<< tab << "\t<nb_word       value=\"" << _nb_word       << "\" />" << endl
	<< tab << "\t<size_word     value=\"" << _size_word     << "\" />" << endl
	<< tab << "</registerfile_monolithic>" << endl;
    
    return msg.str();
  };

  ostream& operator<< (ostream& output_stream ,
		       morpheo::behavioural::generic::registerfile::registerfile_monolithic::Parameters & x)
  {
    output_stream << x.print(0);
    
    return output_stream;
  };

}; // end namespace registerfile_monolithic
}; // end namespace registerfile 
}; // end namespace generic
}; // end namespace behavioural          
}; // end namespace morpheo              
