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

Last change on this file since 88 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
RevLine 
[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
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace victim {
[15]16namespace 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.