Ignore:
Timestamp:
Jan 15, 2009, 6:19:08 PM (15 years ago)
Author:
rosiere
Message:

1) Add soc test
2) fix bug (Pc management, Decod and execute, Update prediction ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp

    r98 r101  
    180180      ALLOC1_INTERFACE("depth",OUT,EAST,_("Interface depth"),_param->_nb_context);
    181181
    182       ALLOC1_SIGNAL_OUT (out_DEPTH_MIN                        ,"MIN"              ,Tdepth_t             ,_param->_size_depth  );
    183       ALLOC1_SIGNAL_OUT (out_DEPTH_MAX                        ,"MAX"              ,Tdepth_t             ,_param->_size_depth+1);
     182      ALLOC1_SIGNAL_OUT (out_DEPTH_MIN                        ,"MIN"              ,Tdepth_t             ,_param->_size_depth);
     183      ALLOC1_SIGNAL_OUT (out_DEPTH_MAX                        ,"MAX"              ,Tdepth_t             ,_param->_size_depth);
     184      ALLOC1_SIGNAL_OUT (out_DEPTH_FULL                       ,"FULL"             ,Tcontrol_t           ,1);
    184185    }
    185186
     
    611612#endif
    612613
     614          COMPONENT_MAP(_component,src ,"out_DEPTH_"+toString(i)+                "_VAL",
     615                                   dest, "in_DEPTH_"+toString(i)+"_PREDICTION_UNIT_VAL");
    613616          if (_param->_have_port_depth)
    614617            {
     
    617620          COMPONENT_MAP(_component,src ,"out_DEPTH_"+toString(i)+                "_MIN"    ,
    618621                                   dest, "in_DEPTH_"+toString(i)+"_PREDICTION_UNIT_MIN"    );
    619             }
    620622          COMPONENT_MAP(_component,src ,"out_DEPTH_"+toString(i)+                "_MAX"    ,
    621623                                   dest, "in_DEPTH_"+toString(i)+"_PREDICTION_UNIT_MAX"    );
     624            }
     625          COMPONENT_MAP(_component,src ,"out_DEPTH_"+toString(i)+                "_FULL"   ,
     626                                   dest, "in_DEPTH_"+toString(i)+"_PREDICTION_UNIT_FULL"   );
    622627        }
    623628    }
     
    787792
    788793          if (_param->_have_port_depth)
     794            {
    789795          COMPONENT_MAP(_component,src , "in_DEPTH_"+toString(j)+                           "_MIN",
    790796                                   dest,"out_DEPTH_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_MIN");
    791797          COMPONENT_MAP(_component,src , "in_DEPTH_"+toString(j)+                           "_MAX",
    792798                                   dest,"out_DEPTH_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_MAX");
     799            }
     800          COMPONENT_MAP(_component,src , "in_DEPTH_"+toString(j)+                           "_FULL",
     801                                   dest,"out_DEPTH_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_FULL");
     802         
    793803        }
    794804
     
    828838#endif
    829839
     840          COMPONENT_MAP(_component,src , "in_CONTEXT_"+toString(j)+                           "_DEPTH_VAL",
     841                                   dest,"out_CONTEXT_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_DEPTH_VAL");
    830842          if (_param->_have_port_depth)
    831843          COMPONENT_MAP(_component,src , "in_CONTEXT_"+toString(j)+                           "_DEPTH",
     
    11801192
    11811193          if (_param->_have_port_depth)
     1194            {
    11821195          PORT_MAP(_component,src ,"out_DEPTH_"+toString(i)+"_MIN",
    11831196                              dest,"out_DEPTH_"+toString(i)+"_MIN");
    11841197          PORT_MAP(_component,src ,"out_DEPTH_"+toString(i)+"_MAX",
    11851198                              dest,"out_DEPTH_"+toString(i)+"_MAX");
    1186         }
    1187      
     1199            }
     1200          PORT_MAP(_component,src ,"out_DEPTH_"+toString(i)+"_FULL",
     1201                              dest,"out_DEPTH_"+toString(i)+"_FULL");
     1202        }
     1203     
     1204      //   in_DEPTH_PREDICTION_UNIT_VAL                         - component_prediction_unit
    11881205      //   in_DEPTH_PREDICTION_UNIT_CURRENT                     - component_prediction_unit
    11891206      //   in_DEPTH_PREDICTION_UNIT_MIN                         - component_prediction_unit
    11901207      //   in_DEPTH_PREDICTION_UNIT_MAX                         - component_prediction_unit
     1208      //   in_DEPTH_PREDICTION_UNIT_FULL                        - component_prediction_unit
    11911209      //  out_DEPTH_DECOD_UNIT_MIN                              - component_decod_unit
    11921210      //  out_DEPTH_DECOD_UNIT_MAX                              - component_decod_unit
     1211      //  out_DEPTH_DECOD_UNIT_FULL                             - component_decod_unit
    11931212      //  out_DEPTH_CONTEXT_STATE_MIN                           - component_context_state
    11941213     
    11951214      // ~~~~~[ Interface : "context"" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     1215      //  out_CONTEXT_DECOD_UNIT_DEPTH_VAL                      - component_decod_unit
    11961216      //  out_CONTEXT_DECOD_UNIT_DEPTH                          - component_decod_unit
    11971217    }
Note: See TracChangeset for help on using the changeset viewer.