Ignore:
Timestamp:
Dec 12, 2007, 5:02:47 PM (17 years ago)
Author:
rosiere
Message:

Station de reservation : systemC et VHDL ok

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h

    r57 r69  
    108108#endif                                         
    109109                                               
    110 #ifdef VHDL_TESTBENCH                         
    111   private : void     vhdl_testbench_transition (void);
    112 #endif
     110  private : void     end_cycle                 (void);
    113111  };
    114112
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp

    r59 r69  
    1 #ifdef VHDL_TESTBENCH
    21/*
    32 * $Id$
     
    98#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
    109
    11 namespace morpheo                    {
     10namespace morpheo {
    1211namespace behavioural {
    1312@NAMESPACE_BEGIN
    1413
    1514#undef  FUNCTION
    16 #define FUNCTION "@COMPONENT::vhdl_testbench_transition"
    17   void @COMPONENT::vhdl_testbench_transition ()
     15#define FUNCTION "@COMPONENT::end_cycle"
     16void @COMPONENT::end_cycle ()
    1817  {
    1918    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    2019
     20#ifdef STATISTICS
     21    _stat->add();
     22#endif   
     23
     24#ifdef VHDL_TESTBENCH
    2125    // Evaluation before read the ouput signal
    22 //     sc_start(0);
    23 
     26//  sc_start(0);
    2427    _interfaces->testbench();
     28#endif
    2529
    2630    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     
    3034}; // end namespace behavioural
    3135}; // end namespace morpheo             
    32 #endif
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp

    r53 r69  
    2020    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    2121
    22 #ifdef STATISTICS
    23     _stat->add();
    24 #endif   
    25 
    26 #ifdef VHDL_TESTBENCH
    27     vhdl_testbench_transition ();
    28 #endif
     22    end_cycle ();
    2923
    3024    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
Note: See TracChangeset for help on using the changeset viewer.