Last change
on this file since 104 was
83,
checked in by rosiere, 16 years ago
|
Add component : Context_State (manage miss prediction, exception , decod_enable, synchronisation instruction ...)
|
-
Property svn:keywords set to
Id
|
File size:
857 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id: Decod_unit_vhdl.cpp 83 2008-05-09 18:00:21Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/include/Decod_unit.h" |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace core { |
---|
15 | namespace multi_front_end { |
---|
16 | namespace front_end { |
---|
17 | namespace decod_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Decod_unit::vhdl" |
---|
22 | void Decod_unit::vhdl (void) |
---|
23 | { |
---|
24 | log_begin(Decod_unit,FUNCTION); |
---|
25 | |
---|
26 | Vhdl * vhdl = new Vhdl (_name); |
---|
27 | |
---|
28 | _interfaces->set_port(vhdl); |
---|
29 | _component->vhdl_instance(vhdl); |
---|
30 | |
---|
31 | vhdl->generate_file(); |
---|
32 | |
---|
33 | delete vhdl; |
---|
34 | |
---|
35 | log_end(Decod_unit,FUNCTION); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace decod_unit |
---|
39 | }; // end namespace front_end |
---|
40 | }; // end namespace multi_front_end |
---|
41 | }; // end namespace core |
---|
42 | |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.