Ignore:
Timestamp:
Jul 9, 2007, 11:04:26 AM (17 years ago)
Author:
rosiere
Message:

Modif mineur : ajout d'info de débug

Release non stable

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/config0.cfg

    r5 r43  
    221       1       +1      # have_bht           
    338       8       +1      # bht_size_shifter   
    4 512     512     *2      # bht_nb_shifter     
     432      32      *2      # bht_nb_shifter     
    551       1       +1      # have_pht           
    668       8       +1      # pht_size_counter   
    7 512     512     *2      # pht_nb_counter     
     732      32      *2      # pht_nb_counter     
    882       2       +1      # pht_size_address_share
    9916      16      +1      # size_address     
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/src/test.cpp

    r15 r43  
    137137    BRANCH_COMPLETE_VAL          [i]->write(0);
    138138
    139   _Two_Level_Branch_Predictor->vhdl_testbench_label("Initialisation");
    140139  cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Initialisation" << endl;
    141140
     
    157156      uint32_t nb_reg_by_group = (1<<(param._pht_size_address-size_address_shift));
    158157
    159       _Two_Level_Branch_Predictor->vhdl_testbench_label("Init pht");
    160158      cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Init pht" << endl;
    161159     
     
    186184      BRANCH_COMPLETE_BHT_HISTORY  [num_port_branch_complete]->write(0);
    187185     
    188       _Two_Level_Branch_Predictor->vhdl_testbench_label("Init bht");
    189186      cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Init bht" << endl;
    190187     
     
    206203  BRANCH_COMPLETE_ADDRESS      [num_port_branch_complete]->write(address);
    207204
    208   _Two_Level_Branch_Predictor->vhdl_testbench_label("Loop of Test");
    209205  cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Loop of Test" << endl
    210206       << " * predict_address : " << hex << address << dec << endl;
     
    219215  for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++)
    220216    {
    221       _Two_Level_Branch_Predictor->vhdl_testbench_label("Iteration "+toString(iteration));
    222 
    223217      cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Predict          : bht_history " << bht_history << " - pht_history " << pht_history[bht_history] << endl;
    224218
Note: See TracChangeset for help on using the changeset viewer.