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