Last change
on this file since 87 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:
883 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | |
---|
3 | /* |
---|
4 | * $Id: Vhdl_get_library_work.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 | |
---|
17 | #undef FUNCTION |
---|
18 | #define FUNCTION "Vhdl::get_library_work" |
---|
19 | std::string Vhdl::get_library_work (uint32_t depth) |
---|
20 | { |
---|
21 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
22 | |
---|
23 | std::list<std::string>::iterator i = _list_library_work.begin(); |
---|
24 | std::string tab = std::string(depth,'\t'); |
---|
25 | std::ostringstream text; |
---|
26 | |
---|
27 | if (i != _list_library_work.end()) |
---|
28 | text << tab << std::endl |
---|
29 | << tab << "library work;" << std::endl |
---|
30 | << get_list(_list_library_work,depth,";",true); |
---|
31 | |
---|
32 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
33 | |
---|
34 | return text.str(); |
---|
35 | }; |
---|
36 | |
---|
37 | }; // end namespace behavioural |
---|
38 | }; // end namespace morpheo |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.