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:
717 bytes
|
Rev | Line | |
---|
[41] | 1 | /* |
---|
| 2 | * $Id: Interfaces_set_signal.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interfaces.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | #ifdef VHDL |
---|
| 15 | # ifdef VHDL_TESTBENCH |
---|
[43] | 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Interfaces::set_signal" |
---|
[41] | 18 | void Interfaces::set_signal (Vhdl * & vhdl) |
---|
| 19 | { |
---|
[43] | 20 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[41] | 21 | if (not _list_interface->empty()) |
---|
| 22 | { |
---|
[75] | 23 | std::list<Interface_fifo*>::iterator i = _list_interface->begin(); |
---|
[41] | 24 | |
---|
| 25 | while (i != _list_interface->end()) |
---|
| 26 | { |
---|
| 27 | (*i)->set_signal (vhdl); |
---|
| 28 | ++i; |
---|
| 29 | } |
---|
| 30 | } |
---|
[43] | 31 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
[41] | 32 | }; |
---|
| 33 | # endif |
---|
| 34 | #endif |
---|
| 35 | |
---|
| 36 | }; // end namespace behavioural |
---|
| 37 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.