source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_end_cycle.cpp

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1019 bytes
RevLine 
[75]1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
[10]2/*
3 * $Id: Select_Priority_Fixed_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
[15]9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h"
[10]10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace select {
[15]15namespace select_priority_fixed {
[10]16
[75]17#undef  FUNCTION
18#define FUNCTION "Select_Priority_Fixed::end_cycle"
19void Select_Priority_Fixed::end_cycle ()
[10]20  {
[75]21    log_printf(FUNC,Select_Priority_Fixed,FUNCTION,"Begin");
[10]22
[75]23#ifdef STATISTICS
[88]24    if (usage_is_set(_usage,USE_STATISTICS))
25      _stat->end_cycle();
[75]26#endif   
27
28#ifdef VHDL_TESTBENCH
[10]29    // Evaluation before read the ouput signal
[75]30//  sc_start(0);
[88]31    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
32      _interfaces->testbench();
[75]33#endif
[38]34
[75]35    log_printf(FUNC,Select_Priority_Fixed,FUNCTION,"End");
[10]36  };
37
[15]38}; // end namespace select_priority_fixed
[10]39}; // end namespace select
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.