source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_toXML.cpp @ 81

Last change on this file since 81 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: 666 bytes
Line 
1/*
2 * $Id: Signal_toXML.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Signal.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  XML Signal::toXML (void)
14  {
15    log_printf(FUNC,Behavioural,"toXML","Begin");
16
17    XML xml ("signal");
18   
19    xml.singleton_begin ("signal");
20    xml.attribut        ("name"     ,_name               );
21    xml.attribut        ("direction",toString(_direction));
22    xml.attribut        ("size"     ,toString(_size     ));
23    xml.singleton_end   ();
24 
25    log_printf(FUNC,Behavioural,"toXML","End");
26   
27    return xml;
28  };
29
30}; // end namespace behavioural         
31}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.