Last change
on this file since 91 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
789 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * $Id: Vhdl_set_body_component.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | #include <sstream> |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | |
---|
[43] | 17 | #undef FUNCTION |
---|
| 18 | #define FUNCTION "Vhdl::set_body_component" |
---|
[71] | 19 | void Vhdl::set_body_component (std::string name_instance , |
---|
| 20 | std::string name_component , |
---|
| 21 | std::list<std::string> list_port_map ) |
---|
[2] | 22 | { |
---|
[43] | 23 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 24 | |
---|
[2] | 25 | set_body(name_instance + " : " + name_component); |
---|
| 26 | set_body("port map ("); |
---|
| 27 | set_list(_list_body, get_list(list_port_map, 1, ",", false)); |
---|
| 28 | set_body(");"); |
---|
[43] | 29 | |
---|
| 30 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
[2] | 31 | }; |
---|
| 32 | |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
| 35 | |
---|
| 36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.