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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.