Last change
on this file since 45 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:
649 bytes
|
Rev | Line | |
---|
[38] | 1 | #ifdef VHDL_TESTBENCH |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Interface.h" |
---|
| 10 | #include "Behavioural/include/Entity.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | |
---|
[41] | 15 | void Interface::testbench (void) |
---|
[40] | 16 | { |
---|
[38] | 17 | log_printf(FUNC,Behavioural,"testbench","Begin"); |
---|
| 18 | |
---|
| 19 | if (_list_signal->empty()== false) |
---|
| 20 | { |
---|
| 21 | list<Signal*>::iterator i = _list_signal->begin(); |
---|
| 22 | |
---|
| 23 | while (i != _list_signal->end()) |
---|
| 24 | { |
---|
[41] | 25 | (*i)->testbench(); |
---|
[38] | 26 | ++i; |
---|
| 27 | } |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | log_printf(FUNC,Behavioural,"testbench","End"); |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.