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