Last change
on this file since 40 was
40,
checked in by rosiere, 17 years ago
|
Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench
|
File size:
664 bytes
|
Rev | Line | |
---|
[2] | 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 | void @COMPONENT::vhdl (void) |
---|
| 17 | { |
---|
| 18 | log_printf(FUNC,@COMPONENT,"vhdl","Begin"); |
---|
[40] | 19 | |
---|
[2] | 20 | Vhdl vhdl (_name); |
---|
| 21 | |
---|
| 22 | vhdl.set_library_work (_name + "_Pack"); |
---|
| 23 | |
---|
| 24 | vhdl_port (vhdl); |
---|
| 25 | vhdl_declaration (vhdl); |
---|
| 26 | vhdl_body (vhdl); |
---|
| 27 | |
---|
| 28 | vhdl.generate_file(); |
---|
[40] | 29 | |
---|
| 30 | delete vhdl; |
---|
| 31 | |
---|
[2] | 32 | log_printf(FUNC,@COMPONENT,"vhdl","End"); |
---|
| 33 | }; |
---|
| 34 | |
---|
| 35 | @NAMESPACE_END |
---|
| 36 | }; // end namespace behavioural |
---|
| 37 | }; // end namespace morpheo |
---|
| 38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.