Last change
on this file since 125 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:
640 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * $Id: Vhdl_get_signal.cpp 113 2009-04-14 18:39:12Z 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::get_signal" |
---|
[71] | 19 | std::string Vhdl::get_signal (uint32_t depth) |
---|
[2] | 20 | { |
---|
[43] | 21 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[113] | 22 | |
---|
| 23 | test_architecture(); |
---|
| 24 | |
---|
| 25 | std::string _return = get_list (_architecture[_name_architecture]._list_signal, depth, ";", true); |
---|
| 26 | |
---|
[43] | 27 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 28 | |
---|
| 29 | return _return; |
---|
[2] | 30 | }; |
---|
| 31 | |
---|
| 32 | }; // end namespace behavioural |
---|
| 33 | }; // end namespace morpheo |
---|
| 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.