Last change
on this file since 125 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:
654 bytes
|
Rev | Line | |
---|
[38] | 1 | #ifdef VHDL_TESTBENCH |
---|
| 2 | /* |
---|
| 3 | * $Id: Interface_testbench.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 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 | { |
---|
[75] | 21 | std::list<Signal*>::iterator i = _list_signal->begin(); |
---|
[38] | 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.