Last change
on this file since 37 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
798 bytes
|
Rev | Line | |
---|
[29] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Interfaces.h" |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | |
---|
| 15 | void Interfaces::set_port (Vhdl * & vhdl) |
---|
| 16 | { |
---|
[31] | 17 | if (not _list_interface->empty()) |
---|
[29] | 18 | { |
---|
[31] | 19 | list<Interface>::iterator i = _list_interface->begin(); |
---|
[29] | 20 | |
---|
[31] | 21 | while (i != _list_interface->end()) |
---|
[29] | 22 | { |
---|
| 23 | (*i).set_port (vhdl); |
---|
| 24 | ++i; |
---|
| 25 | } |
---|
| 26 | } |
---|
| 27 | }; |
---|
| 28 | |
---|
| 29 | void Interfaces::set_port (Vhdl_Testbench * & vhdl_testbench) |
---|
| 30 | { |
---|
[31] | 31 | if (not _list_interface->empty()) |
---|
[29] | 32 | { |
---|
[31] | 33 | list<Interface>::iterator i = _list_interface->begin(); |
---|
[29] | 34 | |
---|
[31] | 35 | while (i != _list_interface->end()) |
---|
[29] | 36 | { |
---|
| 37 | (*i).set_port (vhdl_testbench); |
---|
| 38 | ++i; |
---|
| 39 | } |
---|
| 40 | } |
---|
| 41 | }; |
---|
| 42 | |
---|
| 43 | }; // end namespace behavioural |
---|
| 44 | }; // end namespace morpheo |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.