Last change
on this file since 90 was
82,
checked in by rosiere, 16 years ago
|
- support locale (now must "just" translate)
- update all component with new test format
- update all component with usage
- New component : decod queue and prediction_unit
|
File size:
703 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
[73] | 5 | * [ Description ] |
---|
[2] | 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | @NAMESPACE_BEGIN |
---|
| 15 | |
---|
[53] | 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "@COMPONENT::vhdl" |
---|
[2] | 18 | void @COMPONENT::vhdl (void) |
---|
| 19 | { |
---|
[82] | 20 | log_begin(@COMPONENT,FUNCTION); |
---|
[40] | 21 | |
---|
[50] | 22 | Vhdl * vhdl = new Vhdl (_name); |
---|
[2] | 23 | |
---|
[42] | 24 | _interfaces->set_port(vhdl); |
---|
| 25 | _component->vhdl_instance(vhdl); |
---|
[2] | 26 | |
---|
| 27 | vhdl_declaration (vhdl); |
---|
| 28 | vhdl_body (vhdl); |
---|
| 29 | |
---|
[50] | 30 | vhdl->generate_file(); |
---|
[40] | 31 | |
---|
| 32 | delete vhdl; |
---|
| 33 | |
---|
[82] | 34 | log_end(@COMPONENT,FUNCTION); |
---|
[2] | 35 | }; |
---|
| 36 | |
---|
| 37 | @NAMESPACE_END |
---|
| 38 | }; // end namespace behavioural |
---|
| 39 | }; // end namespace morpheo |
---|
| 40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.