Last change
on this file since 41 was
38,
checked in by rosiere, 17 years ago
|
Interface et vhdl_testbench : l'appel aux fonction add_input et add_ouput est maintenant réalisé par la classe Interface (et autre).
2 remarques :
- tester avec des sous composants (en particulier les sorties d'un est directement relié au sortie d'un autre)
- Signal_testbench.cpp -> l'optimisé (par exemple pointeur de fonction afin d'éviter le test et le switch)
|
File size:
440 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interface.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | string Interface::get_comment (void) |
---|
| 15 | { |
---|
[38] | 16 | log_printf(FUNC,Behavioural,"get_comment","Begin"); |
---|
| 17 | string res = _comment; |
---|
| 18 | log_printf(FUNC,Behavioural,"get_comment","End"); |
---|
| 19 | return res; |
---|
[29] | 20 | }; |
---|
| 21 | |
---|
| 22 | }; // end namespace behavioural |
---|
| 23 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.