Last change
on this file since 35 was
29,
checked in by rosiere, 17 years ago
|
Changement de classes de gestions des Interfaces.
-> simplification pour les déclarations de ports, application pour le composant Select_Priority_Fixed.
-> !!! essayer de supprimer la redondance dans les fichierx xxx_vhdl_testbench_transition.cpp
|
File size:
566 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Signal.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | |
---|
13 | XML Signal::toXML (void) |
---|
14 | { |
---|
15 | XML xml ("signal"); |
---|
16 | |
---|
17 | xml.singleton_begin ("signal"); |
---|
18 | xml.attribut ("name" ,_name ); |
---|
19 | xml.attribut ("direction",toString(_direction)); |
---|
20 | xml.attribut ("size" ,toString(_size )); |
---|
21 | xml.singleton_end (); |
---|
22 | |
---|
23 | return xml; |
---|
24 | }; |
---|
25 | |
---|
26 | }; // end namespace behavioural |
---|
27 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.