Last change
on this file since 57 was
44,
checked in by rosiere, 17 years ago
|
Modification des classes d'encapsulation des interfaces.
Stable sur tous les composants actuels
|
File size:
896 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[15] | 9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" |
---|
[2] | 10 | #include "Behavioural/include/Vhdl.h" |
---|
[44] | 11 | #include "Common/include/ToString.h" |
---|
[2] | 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace registerfile { |
---|
[15] | 16 | namespace registerfile_monolithic { |
---|
[2] | 17 | |
---|
[15] | 18 | void RegisterFile_Monolithic::vhdl (void) |
---|
[2] | 19 | { |
---|
[41] | 20 | Vhdl * vhdl = new Vhdl (_name); |
---|
[2] | 21 | |
---|
[43] | 22 | _interfaces->set_port (vhdl); |
---|
| 23 | _component ->vhdl_instance(vhdl); |
---|
[2] | 24 | |
---|
[43] | 25 | vhdl_declaration (vhdl); |
---|
| 26 | vhdl_body (vhdl); |
---|
[2] | 27 | |
---|
[41] | 28 | vhdl->generate_file(); |
---|
| 29 | |
---|
| 30 | delete vhdl; |
---|
[2] | 31 | }; |
---|
| 32 | |
---|
[15] | 33 | }; // end namespace registerfile_monolithic |
---|
[2] | 34 | }; // end namespace registerfile |
---|
| 35 | }; // end namespace generic |
---|
| 36 | }; // end namespace behavioural |
---|
| 37 | }; // end namespace morpheo |
---|
| 38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.