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

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 869 bytes
RevLine 
[75]1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
[10]2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
[15]9#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h"
[10]10
11namespace morpheo {
12namespace behavioural {
13namespace generic {
14namespace victim {
[15]15namespace victim_pseudo_lru {
[10]16
[75]17#undef  FUNCTION
18#define FUNCTION "Victim_Pseudo_LRU::end_cycle"
19void Victim_Pseudo_LRU::end_cycle ()
20  {
21    log_printf(FUNC,Victim_Pseudo_LRU,FUNCTION,"Begin");
[10]22
[75]23#ifdef STATISTICS
24    _stat->end_cycle();
25#endif   
26
27#ifdef VHDL_TESTBENCH
[42]28    // Evaluation before read the ouput signal
[75]29//  sc_start(0);
30    _interfaces->testbench();
31#endif
[10]32
[75]33    log_printf(FUNC,Victim_Pseudo_LRU,FUNCTION,"End");
[10]34  };
35
[15]36}; // end namespace victim_pseudo_lru
[10]37}; // end namespace victim
38}; // end namespace generic
39}; // end namespace behavioural
40}; // end namespace morpheo             
41#endif
Note: See TracBrowser for help on using the repository browser.