Last change
on this file since 134 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:
673 bytes
|
Rev | Line | |
---|
[38] | 1 | #ifdef VHDL_TESTBENCH |
---|
| 2 | /* |
---|
| 3 | * $Id: Interfaces_testbench.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Interfaces.h" |
---|
| 10 | #include "Behavioural/include/Entity.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | |
---|
[41] | 15 | void Interfaces::testbench (void) |
---|
[38] | 16 | { |
---|
| 17 | log_printf(FUNC,Behavioural,"testbench","Begin"); |
---|
| 18 | |
---|
| 19 | if (_list_interface->empty()== false) |
---|
| 20 | { |
---|
[75] | 21 | std::list<Interface_fifo*>::iterator i = _list_interface->begin(); |
---|
[38] | 22 | |
---|
| 23 | while (i != _list_interface->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.