Last change
on this file since 134 was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
-
Property svn:keywords set to
Id
|
File size:
625 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id: Interface_set_port.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interface.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[40] | 14 | #ifdef VHDL |
---|
[29] | 15 | void Interface::set_port (Vhdl * & vhdl) |
---|
| 16 | { |
---|
[38] | 17 | log_printf(FUNC,Behavioural,"set_port (Vhdl)","Begin"); |
---|
[31] | 18 | if (not _list_signal->empty()) |
---|
[29] | 19 | { |
---|
[75] | 20 | std::list<Signal*>::iterator i = _list_signal->begin(); |
---|
[29] | 21 | |
---|
[31] | 22 | while (i != _list_signal->end()) |
---|
[29] | 23 | { |
---|
[41] | 24 | (*i)->set_port (vhdl); |
---|
[29] | 25 | ++i; |
---|
| 26 | } |
---|
| 27 | } |
---|
[113] | 28 | |
---|
[38] | 29 | log_printf(FUNC,Behavioural,"set_port (Vhdl)","End"); |
---|
[29] | 30 | }; |
---|
[40] | 31 | #endif |
---|
[29] | 32 | |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.