Ignore:
Timestamp:
Feb 27, 2009, 7:37:40 PM (15 years ago)
Author:
rosiere
Message:

1) Decod_queue : multi implementation (one_fifo, multi_fifo)
2) Issue_queue : multi implementation (in_order, out_of_order)
3) Direction : Add Meta predictor
4) Context_State : re add Branch_complete, More priority to Load miss (is not speculative)
5) Return_Address_Stack : update reg_PREDICT pointer on decod miss prediction
6) UPT : Fix bug in multi event
7) Prediction_glue : in read_stack case, insert in UPT pc_next
8) Rename select : when rob have an event (need flush), read_r{a,b,c} and write_r{d,e} is set at 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/SelfTest/src/test.cpp

    r108 r111  
    77 */
    88
    9 #define NB_ITERATION  128
     9#define NB_ITERATION  512
    1010#define CYCLE_MAX     (128*NB_ITERATION)
    1111
     
    2020
    2121#ifdef STATISTICS
    22   morpheo::behavioural::Parameters_Statistics * _parameters_statistics = new morpheo::behavioural::Parameters_Statistics (5,50);
     22  morpheo::behavioural::Parameters_Statistics * _parameters_statistics = new morpheo::behavioural::Parameters_Statistics (5,CYCLE_MAX);
    2323#endif
    2424
     
    234234          address_tmp [i] = address_src [i];
    235235
    236         uint32_t x = rand()%_param->_nb_inst_decod;
     236        uint32_t x = rand()%_param->_nb_inst_decod;
     237       
    237238        for (uint32_t i=0; i<_param->_nb_inst_decod; i++)
    238239          {
     
    242243            in_DECOD_IN_CONTEXT_ID   [i]->write(context);
    243244            in_DECOD_IN_DEPTH        [i]->write(depth [context]);
     245#ifdef DEBUG
     246            in_DECOD_IN_ADDRESS      [i]->write(address_tmp [context]);
     247#endif
    244248            in_DECOD_IN_ADDRESS_NEXT [i]->write(address_tmp [context]);
    245249
     
    250254      {
    251255        uint32_t x = rand()%_param->_nb_inst_decod;
     256       
    252257        for (uint32_t i=0; i<_param->_nb_inst_decod; i++)
    253258          {
     
    270275              nb_inst      [context] ++;
    271276              address_src  [context] ++;
     277
     278              LABEL("  * nb_inst  : %d",nb_inst [context]);
    272279            }
    273280        }
     
    284291              TEST(Tdepth_t  ,out_DECOD_OUT_DEPTH        [i]->read(),depth        [context]);
    285292              TEST(Taddress_t,out_DECOD_OUT_ADDRESS_NEXT [i]->read(),address_dest [context]);
    286              
     293#ifdef DEBUG
     294              TEST(Taddress_t,out_DECOD_OUT_ADDRESS      [i]->read(),address_dest [context]);
     295#endif       
    287296              nb_inst      [context] --;
    288297              address_dest [context] ++;
     298
     299              LABEL("  * nb_inst  : %d",nb_inst [context]);
    289300            }
    290301        }
Note: See TracChangeset for help on using the changeset viewer.