Last change
on this file since 47 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:
619 bytes
|
Line | |
---|
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 | #ifdef VHDL |
---|
15 | void Interface::set_port (Vhdl * & vhdl) |
---|
16 | { |
---|
17 | log_printf(FUNC,Behavioural,"set_port (Vhdl)","Begin"); |
---|
18 | if (not _list_signal->empty()) |
---|
19 | { |
---|
20 | list<Signal*>::iterator i = _list_signal->begin(); |
---|
21 | |
---|
22 | while (i != _list_signal->end()) |
---|
23 | { |
---|
24 | (*i)->set_port (vhdl); |
---|
25 | ++i; |
---|
26 | } |
---|
27 | } |
---|
28 | log_printf(FUNC,Behavioural,"set_port (Vhdl)","End"); |
---|
29 | }; |
---|
30 | #endif |
---|
31 | |
---|
32 | }; // end namespace behavioural |
---|
33 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.