Last change
on this file since 63 was
62,
checked in by rosiere, 17 years ago
|
Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)
|
File size:
746 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Interfaces.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "Interfaces::test_map" |
---|
16 | bool Interfaces::test_map (bool top_level) |
---|
17 | { |
---|
18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
19 | |
---|
20 | bool _return = true; |
---|
21 | |
---|
22 | log_printf(INFO,Behavioural,FUNCTION, " * Interfaces \"%s\"",_name.c_str()); |
---|
23 | |
---|
24 | for (list<Interface_fifo*>::iterator i = _list_interface->begin(); |
---|
25 | i != _list_interface->end(); |
---|
26 | ++i) |
---|
27 | _return &= (*i)->test_map(top_level); |
---|
28 | |
---|
29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
30 | |
---|
31 | return _return; |
---|
32 | }; |
---|
33 | |
---|
34 | }; // end namespace behavioural |
---|
35 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.