source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_end_cycle.cpp @ 123

Last change on this file since 123 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Decod_queue_end_cycle.cpp 82 2008-05-01 16:48:45Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/include/Decod_queue.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace decod_unit {
17namespace decod_queue {
18
19
20#undef  FUNCTION
21#define FUNCTION "Decod_queue::end_cycle"
22void Decod_queue::end_cycle ()
23  {
24    log_begin(Decod_queue,FUNCTION);
25
26#ifdef STATISTICS
27    if (usage_is_set(_usage,USE_STATISTICS))
28      _stat->end_cycle();
29#endif   
30
31#ifdef VHDL_TESTBENCH
32    // Evaluation before read the ouput signal
33//  sc_start(0);
34    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
35      _interfaces->testbench();
36#endif
37
38    log_end(Decod_queue,FUNCTION);
39  };
40
41}; // end namespace decod_queue
42}; // end namespace decod_unit
43}; // end namespace front_end
44}; // end namespace multi_front_end
45}; // end namespace core
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
49#endif
Note: See TracBrowser for help on using the repository browser.