Last change
on this file since 98 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:
649 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Shifter_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/Shifter/include/Shifter.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace shifter { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | void Shifter::vhdl (void) |
---|
| 19 | { |
---|
[42] | 20 | Vhdl * vhdl = new Vhdl (_name); |
---|
[2] | 21 | |
---|
[43] | 22 | _interfaces->set_port (vhdl); |
---|
| 23 | _component ->vhdl_instance(vhdl); |
---|
[2] | 24 | |
---|
| 25 | vhdl_declaration (vhdl); |
---|
| 26 | vhdl_body (vhdl); |
---|
| 27 | |
---|
[42] | 28 | vhdl->generate_file(); |
---|
| 29 | |
---|
| 30 | delete vhdl; |
---|
[2] | 31 | }; |
---|
| 32 | |
---|
| 33 | }; // end namespace shifter |
---|
| 34 | }; // end namespace generic |
---|
| 35 | |
---|
| 36 | }; // end namespace behavioural |
---|
| 37 | }; // end namespace morpheo |
---|
| 38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.