Last change
on this file since 35 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
|
Line | |
---|
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 | { |
---|
17 | if (not _list_interface->empty()) |
---|
18 | { |
---|
19 | list<Interface>::iterator i = _list_interface->begin(); |
---|
20 | |
---|
21 | while (i != _list_interface->end()) |
---|
22 | { |
---|
23 | (*i).set_port (vhdl); |
---|
24 | ++i; |
---|
25 | } |
---|
26 | } |
---|
27 | }; |
---|
28 | |
---|
29 | void Interfaces::set_port (Vhdl_Testbench * & vhdl_testbench) |
---|
30 | { |
---|
31 | if (not _list_interface->empty()) |
---|
32 | { |
---|
33 | list<Interface>::iterator i = _list_interface->begin(); |
---|
34 | |
---|
35 | while (i != _list_interface->end()) |
---|
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.