Last change
on this file since 41 was
41,
checked in by rosiere, 17 years ago
|
Vhdl_Testbench : Modification du testbench. Maintenant complétement encapsuler dans la classe "Interfaces".
Suppression de la class Vhdl_Testbench dans un avenir proche :D
Suppression du répertoire Configuration.old
|
File size:
762 bytes
|
Line | |
---|
1 | #ifndef morpheo_behavioural_Direction_h |
---|
2 | #define morpheo_behavioural_Direction_h |
---|
3 | |
---|
4 | #include "Include/ToString.h" |
---|
5 | |
---|
6 | namespace morpheo { |
---|
7 | namespace behavioural { |
---|
8 | |
---|
9 | typedef enum { IN, OUT } direction_t; |
---|
10 | //typedef enum { IN, OUT, INOUT } direction_t; |
---|
11 | |
---|
12 | }; // end namespace behavioural |
---|
13 | |
---|
14 | template<> inline std::string toString<morpheo::behavioural::direction_t>(const morpheo::behavioural::direction_t& x) |
---|
15 | { |
---|
16 | switch (x) |
---|
17 | { |
---|
18 | case morpheo::behavioural::IN : return "in" ; break; |
---|
19 | case morpheo::behavioural::OUT : return "out" ; break; |
---|
20 | // case morpheo::behavioural::INOUT : return "inout" ; break; |
---|
21 | default : return "" ; break; |
---|
22 | } |
---|
23 | } |
---|
24 | |
---|
25 | }; // end namespace morpheo |
---|
26 | |
---|
27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.