source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp @ 71

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

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File size: 682 bytes
RevLine 
[71]1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
[2]2/*
3 * $Id$
4 *
[71]5 * [ Description ]
[2]6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
[69]11namespace morpheo {
[2]12namespace behavioural {
13@NAMESPACE_BEGIN
14
[53]15#undef  FUNCTION
[69]16#define FUNCTION "@COMPONENT::end_cycle"
17void @COMPONENT::end_cycle ()
[2]18  {
[53]19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
[2]20
[69]21#ifdef STATISTICS
[71]22    _stat->end_cycle();
[69]23#endif   
24
25#ifdef VHDL_TESTBENCH
[2]26    // Evaluation before read the ouput signal
[69]27//  sc_start(0);
[41]28    _interfaces->testbench();
[69]29#endif
[2]30
[53]31    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
[2]32  };
33
34@NAMESPACE_END
35}; // end namespace behavioural
36}; // end namespace morpheo             
[71]37#endif
Note: See TracBrowser for help on using the repository browser.