Ignore:
Timestamp:
Jul 5, 2007, 5:50:19 PM (17 years ago)
Author:
rosiere
Message:

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor.cpp

    r5 r42  
    3333    log_printf(FUNC,Two_Level_Branch_Predictor,"Two_Level_Branch_Predictor","Begin");
    3434
     35#ifdef SYSTEMC
     36    allocation ();
     37#endif
     38
    3539#ifdef STATISTICS
    3640    // Allocation of statistics
     
    3842                            param_statistics          ,
    3943                            param);
    40 #endif
    41 
    42 #ifdef VHDL_TESTBENCH
    43     // Creation of a testbench
    44     //  -> port
    45     //  -> clock's signals
    46     _vhdl_testbench = new Vhdl_Testbench (_name);
    47     vhdl_testbench_port           ();
    48     _vhdl_testbench->set_clock    ("in_CLOCK",true);
    4944#endif
    5045
     
    5550
    5651#ifdef SYSTEMC
    57     allocation ();
    58 
    5952#if (defined(STATISTICS) || defined (VHDL_TESTBENCH))
    6053    SC_METHOD (transition);
     
    7972    log_printf(FUNC,Two_Level_Branch_Predictor,"~Two_Level_Branch_Predictor","Begin");
    8073
    81 #ifdef VHDL_TESTBENCH
    82     // generate the test bench
    83     _vhdl_testbench->generate_file();
    84     delete _vhdl_testbench;
    85 #endif
    86 
    8774#ifdef STATISTICS
    8875    _stat->generate_file(statistics(0));
Note: See TracChangeset for help on using the changeset viewer.