source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl.cpp @ 81

Last change on this file since 81 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
Line 
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
9#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace victim {
16namespace victim_pseudo_lru {
17
18
19  void Victim_Pseudo_LRU::vhdl (void)
20  {
21    log_printf(FUNC,Victim_Pseudo_LRU,"vhdl","Begin");
22
23    Vhdl * vhdl = new Vhdl (_name);
24
25    _interfaces->set_port     (vhdl);
26    _component ->vhdl_instance(vhdl);
27
28    vhdl_declaration (vhdl);
29    vhdl_body        (vhdl);
30
31    vhdl->generate_file();
32
33    delete vhdl;
34
35    log_printf(FUNC,Victim_Pseudo_LRU,"vhdl","End");
36  };
37
38}; // end namespace victim_pseudo_lru
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.