Line | |
---|
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 | |
---|
18 | string Vhdl::get_library_work (uint32_t depth) |
---|
19 | { |
---|
20 | list<string>::iterator i = _list_library_work.begin(); |
---|
21 | string tab = string(depth,'\t'); |
---|
22 | ostringstream text; |
---|
23 | |
---|
24 | if (i != _list_library_work.end()) |
---|
25 | text << tab << endl |
---|
26 | << tab << "library work;" << endl |
---|
27 | << get_list(_list_library_work,depth,";",true); |
---|
28 | |
---|
29 | return text.str(); |
---|
30 | }; |
---|
31 | |
---|
32 | }; // end namespace behavioural |
---|
33 | }; // end namespace morpheo |
---|
34 | |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.