Last change
on this file since 138 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
925 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id: Prediction_unit_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/include/Prediction_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 prediction_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Prediction_unit::vhdl" |
---|
22 | void Prediction_unit::vhdl (void) |
---|
23 | { |
---|
24 | log_printf(FUNC,Prediction_unit,FUNCTION,"Begin"); |
---|
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_printf(FUNC,Prediction_unit,FUNCTION,"End"); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace prediction_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.