Ignore:
Timestamp:
Dec 19, 2008, 4:34:00 PM (16 years ago)
Author:
rosiere
Message:

1) Update Prediction Table : statistics
2) Size instruction address on 30 bits
3) Change Log File
4) Add debug_level in simulation configuration file

File:
1 edited

Legend:

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

    r95 r97  
    140140      ALLOC_SIGNAL_IN   ( in_COMMIT_EVENT_ADDRESS_EPCR        ,"ADDRESS_EPCR"     ,Taddress_t           ,_param->_size_instruction_address   );
    141141      ALLOC_SIGNAL_IN   ( in_COMMIT_EVENT_ADDRESS_EEAR_VAL    ,"ADDRESS_EEAR_VAL" ,Tcontrol_t           ,1                       );
    142       ALLOC_SIGNAL_IN   ( in_COMMIT_EVENT_ADDRESS_EEAR        ,"ADDRESS_EEAR"     ,Taddress_t           ,_param->_size_instruction_address   );
     142      ALLOC_SIGNAL_IN   ( in_COMMIT_EVENT_ADDRESS_EEAR        ,"ADDRESS_EEAR"     ,Tgeneral_data_t      ,_param->_size_general_data          );
    143143    }
    144144
     
    580580          COMPONENT_MAP(_component,src ,"out_BRANCH_EVENT_"+toString(i)+"_ADDRESS_DEST"    ,
    581581                                   dest, "in_BRANCH_EVENT_"+toString(i)+"_ADDRESS_DEST"    );
     582        }
     583
     584      // ~~~~~[ Interface : "event" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     585      for (uint32_t i=0; i<_param->_nb_context; ++i)
     586        {
     587          dest = _name+"_glue";
     588#ifdef POSITION
     589          _component->interface_map (src ,"event_"+toString(i),
     590                                     dest,"event_"+toString(i));
     591#endif
     592          COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+                "_VAL"  ,
     593                                   dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_VAL"  );
     594          COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+                "_ACK"  ,
     595                                   dest, "in_EVENT_"+toString(i)+"_PREDICTION_UNIT_ACK"  );
     596          COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+                "_TYPE" ,
     597                                   dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_TYPE" );
     598          if (_param->_have_port_depth)
     599          COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+                "_DEPTH",
     600                                   dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_DEPTH");
    582601        }
    583602
     
    967986          COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+              "_IS_DS_TAKE"      ,
    968987                                   dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_IS_DS_TAKE"      );
     988          COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+              "_TYPE"            ,
     989                                   dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_TYPE"            );
     990          if (_param->_have_port_depth)
     991          COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+              "_DEPTH"           ,
     992                                   dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_DEPTH"           );
    969993        }
    970994
     
    11291153      //   in_EVENT_IFETCH_UNIT_ACK                             - component_ifetch_unit
    11301154      //  out_EVENT_IFETCH_UNIT_ADDRESS                         - component_ifetch_unit
    1131       //   in_EVENT_IFETCH_UNIT_ADDRESS_NEXT                    - component_ifetch_unit
     1155      //  out_EVENT_IFETCH_UNIT_ADDRESS_NEXT                    - component_ifetch_unit
    11321156      //  out_EVENT_IFETCH_UNIT_ADDRESS_NEXT_VAL                - component_ifetch_unit
    11331157      //   in_EVENT_IFETCH_UNIT_IS_DS_TAKE                      - component_ifetch_unit
     1158      //  out_EVENT_PREDICTION_UNIT_VAL                         - component_prediction_unit
     1159      //   in_EVENT_PREDICTION_UNIT_ACK                         - component_prediction_unit
     1160      //  out_EVENT_PREDICTION_UNIT_TYPE                        - component_prediction_unit
     1161      //  out_EVENT_PREDICTION_UNIT_DEPTH                       - component_prediction_unit
    11341162      //   in_EVENT_CONTEXT_STATE_VAL                           - component_context_state
    11351163      //  out_EVENT_CONTEXT_STATE_ACK                           - component_context_state
    11361164      //   in_EVENT_CONTEXT_STATE_ADDRESS                       - component_context_state
    11371165      //   in_EVENT_CONTEXT_STATE_ADDRESS_NEXT                  - component_context_state
    1138       //  out_EVENT_CONTEXT_STATE_ADDRESS_NEXT_VAL              - component_context_state
     1166      //   in_EVENT_CONTEXT_STATE_ADDRESS_NEXT_VAL              - component_context_state
    11391167      //   in_EVENT_CONTEXT_STATE_IS_DS_TAKE                    - component_context_state
     1168      //   in_EVENT_CONTEXT_STATE_TYPE                          - component_context_state
     1169      //   in_EVENT_CONTEXT_STATE_DEPTH                         - component_context_state
    11401170
    11411171      // ~~~~~[ Interface : "depth" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
Note: See TracChangeset for help on using the changeset viewer.