Ignore:
Timestamp:
Apr 5, 2007, 4:17:30 PM (17 years ago)
Author:
rosiere
Message:

Interface normalisé
Début du banc de registres multi niveaux

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src
Files:
6 edited

Legend:

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

    r5 r15  
    2323
    2424    in_CLOCK  = new SC_CLOCK           ("in_CLOCK");
     25    in_NRESET = new SC_IN (Tcontrol_t) ("in_NRESET");
    2526
    2627     in_PREDICT_VAL                 = new SC_IN (Tcontrol_t)     * [_param._nb_prediction     ];
     
    235236   
    236237    // Instantiation
    237     (*(component_Meta_Predictor_Glue->in_CLOCK))        (*(in_CLOCK));
    238    
     238#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     239    (*(component_Meta_Predictor_Glue->in_CLOCK ))        (*(in_CLOCK ));
     240#endif
     241   
    239242        // Interface Predict
    240243    for (uint32_t i=0; i<_param._nb_prediction; i++)
     
    317320     
    318321    // Instantiation
    319     (*(component_Two_Level_Branch_Predictor_2->in_CLOCK))        (*(in_CLOCK));
     322    (*(component_Two_Level_Branch_Predictor_2->in_CLOCK ))        (*(in_CLOCK ));
     323    (*(component_Two_Level_Branch_Predictor_2->in_NRESET))        (*(in_NRESET));
    320324   
    321325    for (uint32_t i=0; i<_param._nb_prediction; i++)
     
    363367     
    364368    // Instantiation
    365     (*(component_Two_Level_Branch_Predictor_1->in_CLOCK))        (*(in_CLOCK));
     369    (*(component_Two_Level_Branch_Predictor_1->in_CLOCK ))        (*(in_CLOCK ));
     370    (*(component_Two_Level_Branch_Predictor_1->in_NRESET))        (*(in_NRESET));
    366371   
    367372    for (uint32_t i=0; i<_param._nb_prediction; i++)
     
    401406     
    402407    // Instantiation
    403     (*(component_Two_Level_Branch_Predictor_0->in_CLOCK))        (*(in_CLOCK));
     408    (*(component_Two_Level_Branch_Predictor_0->in_CLOCK ))        (*(in_CLOCK ));
     409    (*(component_Two_Level_Branch_Predictor_0->in_NRESET))        (*(in_NRESET));
    404410   
    405411    for (uint32_t i=0; i<_param._nb_prediction; i++)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src/Meta_Predictor_deallocation.cpp

    r5 r15  
    2020
    2121    delete in_CLOCK;
     22    delete in_NRESET;
    2223
    2324    for (uint32_t i=0; i<_param._nb_prediction; i++)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src/Meta_Predictor_vhdl_body.cpp

    r5 r15  
    105105   
    106106    // Instantiation
    107     vhdl.set_body_component_port_map (list_port_map,"in_CLOCK","in_CLOCK");
     107    vhdl.set_body_component_port_map (list_port_map,"in_CLOCK ","in_CLOCK ");
     108    vhdl.set_body_component_port_map (list_port_map,"in_NRESET","in_NRESET");
    108109   
    109110    for (uint32_t i=0; i<_param._nb_prediction; i++)
     
    146147   
    147148    // Instantiation
    148     vhdl.set_body_component_port_map (list_port_map,"in_CLOCK","in_CLOCK");
     149    vhdl.set_body_component_port_map (list_port_map,"in_CLOCK ","in_CLOCK ");
     150    vhdl.set_body_component_port_map (list_port_map,"in_NRESET","in_NRESET");
    149151   
    150152    for (uint32_t i=0; i<_param._nb_prediction; i++)
     
    179181   
    180182    // Instantiation
    181     vhdl.set_body_component_port_map (list_port_map,"in_CLOCK","in_CLOCK");
     183    vhdl.set_body_component_port_map (list_port_map,"in_CLOCK ","in_CLOCK ");
     184    vhdl.set_body_component_port_map (list_port_map,"in_NRESET","in_NRESET");
    182185   
    183186    for (uint32_t i=0; i<_param._nb_prediction; i++)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src/Meta_Predictor_vhdl_port.cpp

    r5 r15  
    2020    log_printf(FUNC,Meta_Predictor,"vhdl_port","Begin");
    2121
    22     vhdl.set_port (" in_CLOCK" , IN, 1);
     22    vhdl.set_port (" in_CLOCK ", IN, 1);
     23    vhdl.set_port (" in_NRESET", IN, 1);
    2324
    2425    for (uint32_t i=0; i<_param._nb_prediction; i++)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src/Meta_Predictor_vhdl_testbench_port.cpp

    r5 r15  
    1919  {
    2020    log_printf(FUNC,Meta_Predictor,"vhdl_testbench_port","Begin");
     21
     22    _vhdl_testbench->set_port (" in_NRESET", IN, 1);
    2123
    2224    for (uint32_t i=0; i<_param._nb_prediction; i++)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/src/Meta_Predictor_vhdl_testbench_transition.cpp

    r5 r15  
    2626    // Warning : if a output depend of a subcomponent, take directly the port of subcomponent
    2727    // (because we have no control on the ordonnancer's policy)
     28
     29    _vhdl_testbench->add_input (PORT_READ( in_NRESET));
    2830
    2931    for (uint32_t i=0; i<_param._nb_prediction; i++)
Note: See TracChangeset for help on using the changeset viewer.