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:
714 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | |
---|
3 | /* |
---|
4 | * $Id: Vhdl_set_architecture.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
5 | * |
---|
6 | * [ Description ] |
---|
7 | * |
---|
8 | */ |
---|
9 | |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | |
---|
15 | #undef FUNCTION |
---|
16 | #define FUNCTION "Vhdl::set_architecture" |
---|
17 | std::string Vhdl::set_architecture (std::string name) |
---|
18 | { |
---|
19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
20 | |
---|
21 | std::string _return = _name_architecture; |
---|
22 | // vhdl_architecture_t arch; |
---|
23 | |
---|
24 | // if (_architecture.find(name) == _architecture.end()) |
---|
25 | // _architecture[name] = arch; |
---|
26 | |
---|
27 | _name_architecture = name; |
---|
28 | |
---|
29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
30 | |
---|
31 | return _return; |
---|
32 | }; |
---|
33 | |
---|
34 | }; // end namespace behavioural |
---|
35 | }; // end namespace morpheo |
---|
36 | |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.