Last change
on this file since 125 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:
644 bytes
|
Rev | Line | |
---|
[76] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 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 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "@COMPONENT::vhdl" |
---|
| 18 | void @COMPONENT::vhdl (void) |
---|
| 19 | { |
---|
[82] | 20 | log_begin(@COMPONENT,FUNCTION); |
---|
[76] | 21 | |
---|
| 22 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 23 | |
---|
| 24 | _interfaces->set_port(vhdl); |
---|
| 25 | _component->vhdl_instance(vhdl); |
---|
| 26 | |
---|
| 27 | vhdl->generate_file(); |
---|
| 28 | |
---|
| 29 | delete vhdl; |
---|
| 30 | |
---|
[82] | 31 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 32 | }; |
---|
| 33 | |
---|
| 34 | @NAMESPACE_END |
---|
| 35 | }; // end namespace behavioural |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.