1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Victim/Pseudo_LRU/include/Pseudo_LRU.h" |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace generic { |
---|
15 | namespace victim { |
---|
16 | namespace pseudo_lru { |
---|
17 | |
---|
18 | |
---|
19 | void Pseudo_LRU::vhdl (void) |
---|
20 | { |
---|
21 | log_printf(FUNC,Pseudo_LRU,"vhdl","Begin"); |
---|
22 | |
---|
23 | log_printf(TRACE,Pseudo_LRU,"vhdl","Construction of vhdl"); |
---|
24 | Vhdl vhdl (_name); |
---|
25 | |
---|
26 | log_printf(TRACE,Pseudo_LRU,"vhdl","Set library"); |
---|
27 | vhdl.set_library_work (_name + "_Pack"); |
---|
28 | |
---|
29 | log_printf(TRACE,Pseudo_LRU,"vhdl","Set port"); |
---|
30 | vhdl_port (vhdl); |
---|
31 | log_printf(TRACE,Pseudo_LRU,"vhdl","Set declaration"); |
---|
32 | vhdl_declaration (vhdl); |
---|
33 | log_printf(TRACE,Pseudo_LRU,"vhdl","Set body"); |
---|
34 | vhdl_body (vhdl); |
---|
35 | log_printf(TRACE,Pseudo_LRU,"vhdl","Generate File"); |
---|
36 | vhdl.generate_file(); |
---|
37 | log_printf(FUNC,Pseudo_LRU,"vhdl","End"); |
---|
38 | }; |
---|
39 | |
---|
40 | }; // end namespace pseudo_lru |
---|
41 | }; // end namespace victim |
---|
42 | }; // end namespace generic |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
45 | #endif |
---|