|
Last change
on this file was
113,
checked in by rosiere, 17 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:
898 bytes
|
| Line | |
|---|
| 1 | #ifdef VHDL |
|---|
| 2 | |
|---|
| 3 | /* |
|---|
| 4 | * $Id: Vhdl.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::Vhdl" |
|---|
| 17 | Vhdl::Vhdl (std::string name, |
|---|
| 18 | std::string id): |
|---|
| 19 | _name (name), |
|---|
| 20 | _id (id), |
|---|
| 21 | _name_architecture_default ("morpheo_behavioural") |
|---|
| 22 | { |
|---|
| 23 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
|---|
| 24 | |
|---|
| 25 | _name_architecture = _name_architecture_default; |
|---|
| 26 | // _port_clock = ""; |
|---|
| 27 | |
|---|
| 28 | set_library_default(); |
|---|
| 29 | |
|---|
| 30 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
|---|
| 31 | }; |
|---|
| 32 | |
|---|
| 33 | #undef FUNCTION |
|---|
| 34 | #define FUNCTION "Vhdl::~Vhdl" |
|---|
| 35 | Vhdl::~Vhdl () |
|---|
| 36 | { |
|---|
| 37 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
|---|
| 38 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
|---|
| 39 | }; |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | }; // end namespace behavioural |
|---|
| 43 | }; // end namespace morpheo |
|---|
| 44 | |
|---|
| 45 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.