Last change
on this file since 136 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:
771 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | |
---|
3 | /* |
---|
4 | * $Id: Vhdl_get_library_default.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
5 | * |
---|
6 | * [ Description ] |
---|
7 | * |
---|
8 | */ |
---|
9 | |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | #include "Common/include/Tabulation.h" |
---|
12 | |
---|
13 | #include <sstream> |
---|
14 | |
---|
15 | namespace morpheo { |
---|
16 | namespace behavioural { |
---|
17 | |
---|
18 | #undef FUNCTION |
---|
19 | #define FUNCTION "Vhdl::get_library_default" |
---|
20 | std::string Vhdl::get_library_default (uint32_t depth) |
---|
21 | { |
---|
22 | log_begin(Behavioural,FUNCTION); |
---|
23 | |
---|
24 | std::string text; |
---|
25 | std::string str; |
---|
26 | |
---|
27 | std::stringstream it; |
---|
28 | |
---|
29 | it << get_library(depth); |
---|
30 | |
---|
31 | while (getline(it,str)) |
---|
32 | { |
---|
33 | if (str.find( "ieee") != std::string::npos) |
---|
34 | text += str+"\n"; |
---|
35 | } |
---|
36 | |
---|
37 | log_end(Behavioural,FUNCTION); |
---|
38 | |
---|
39 | return text; |
---|
40 | }; |
---|
41 | |
---|
42 | }; // end namespace behavioural |
---|
43 | }; // end namespace morpheo |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.