Last change
on this file since 114 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
798 bytes
|
Rev | Line | |
---|
[88] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Dcache_Access_vhdl.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Dcache_Access/include/Dcache_Access.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace core { |
---|
| 15 | namespace dcache_access { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Dcache_Access::vhdl" |
---|
| 20 | void Dcache_Access::vhdl (void) |
---|
| 21 | { |
---|
| 22 | log_begin(Dcache_Access,FUNCTION); |
---|
| 23 | |
---|
| 24 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 25 | |
---|
| 26 | _interfaces->set_port(vhdl); |
---|
| 27 | _component->vhdl_instance(vhdl); |
---|
| 28 | |
---|
| 29 | vhdl_declaration (vhdl); |
---|
| 30 | vhdl_body (vhdl); |
---|
| 31 | |
---|
| 32 | vhdl->generate_file(); |
---|
| 33 | |
---|
| 34 | delete vhdl; |
---|
| 35 | |
---|
| 36 | log_end(Dcache_Access,FUNCTION); |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace dcache_access |
---|
| 40 | }; // end namespace core |
---|
| 41 | |
---|
| 42 | }; // end namespace behavioural |
---|
| 43 | }; // end namespace morpheo |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.