Last change
on this file since 45 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
864 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | #include <sstream> |
---|
| 13 | using namespace std; |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | |
---|
[43] | 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Vhdl::get_library_work" |
---|
[2] | 20 | string Vhdl::get_library_work (uint32_t depth) |
---|
| 21 | { |
---|
[43] | 22 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 23 | |
---|
[2] | 24 | list<string>::iterator i = _list_library_work.begin(); |
---|
| 25 | string tab = string(depth,'\t'); |
---|
| 26 | ostringstream text; |
---|
| 27 | |
---|
| 28 | if (i != _list_library_work.end()) |
---|
| 29 | text << tab << endl |
---|
| 30 | << tab << "library work;" << endl |
---|
| 31 | << get_list(_list_library_work,depth,";",true); |
---|
| 32 | |
---|
[43] | 33 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 34 | |
---|
[2] | 35 | return text.str(); |
---|
| 36 | }; |
---|
| 37 | |
---|
| 38 | }; // end namespace behavioural |
---|
| 39 | }; // end namespace morpheo |
---|
| 40 | |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.