source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Pseudo_LRU/src/Pseudo_LRU_vhdl.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 1.1 KB
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Select/Pseudo_LRU/include/Pseudo_LRU.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
16namespace 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 select
42}; // end namespace generic
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.