Last change
on this file since 125 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:
810 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id: Interfaces_set_port.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interfaces.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[40] | 14 | #ifdef VHDL |
---|
[43] | 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "Interfaces::set_port" |
---|
[29] | 17 | void Interfaces::set_port (Vhdl * & vhdl) |
---|
| 18 | { |
---|
[43] | 19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[31] | 20 | if (not _list_interface->empty()) |
---|
[29] | 21 | { |
---|
[75] | 22 | std::list<Interface_fifo*>::iterator i = _list_interface->begin(); |
---|
[29] | 23 | |
---|
[31] | 24 | while (i != _list_interface->end()) |
---|
[29] | 25 | { |
---|
[38] | 26 | (*i)->set_port (vhdl); |
---|
[29] | 27 | ++i; |
---|
| 28 | } |
---|
[113] | 29 | |
---|
| 30 | // Signal * clock = get_clock(); |
---|
| 31 | // if (clock != NULL) |
---|
| 32 | // vhdl->set_port_clock (clock->get_name()); |
---|
[29] | 33 | } |
---|
[113] | 34 | |
---|
[43] | 35 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
[29] | 36 | }; |
---|
[40] | 37 | #endif |
---|
[29] | 38 | |
---|
| 39 | }; // end namespace behavioural |
---|
| 40 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.