Ignore:
Timestamp:
Jun 8, 2009, 10:43:30 PM (15 years ago)
Author:
rosiere
Message:

1) Fix performance
2) add auto generation to SPECINT2000
3) add reset in genMoore and genMealy

File:
1 edited

Legend:

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

    r118 r123  
    9191      ALLOC1_SIGNAL_OUT(out_DECOD_OPERATION    ,"operation"    ,Toperation_t      ,_param->_size_operation             );
    9292      ALLOC1_SIGNAL_OUT(out_DECOD_NO_EXECUTE   ,"no_execute"   ,Tcontrol_t        ,1                                   );
     93//    ALLOC1_SIGNAL_OUT(out_DECOD_HAVE_EVENT   ,"have_event"   ,Tcontrol_t        ,1                                   );
     94      ALLOC1_SIGNAL_OUT(out_DECOD_LAST_EVENT   ,"last_event"   ,Tcontrol_t        ,1                                   );
    9395      ALLOC1_SIGNAL_OUT(out_DECOD_IS_DELAY_SLOT,"is_delay_slot",Tcontrol_t        ,1                                   );
    9496#ifdef DEBUG
     
    159161
    160162      ALLOC1_SIGNAL_IN (in_CONTEXT_DECOD_ENABLE,"decod_enable",Tcontrol_t,1);
     163      ALLOC1_SIGNAL_IN (in_CONTEXT_EVENT       ,"event"       ,Tcontrol_t,1);
    161164      ALLOC1_SIGNAL_IN (in_CONTEXT_DEPTH_VAL   ,"depth_val"   ,Tcontrol_t,1);
    162165      ALLOC1_SIGNAL_IN (in_CONTEXT_DEPTH       ,"depth"       ,Tdepth_t  ,_param->_size_depth);
     
    499502          PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_NO_EXECUTE"   ,
    500503                              dest,"out_DECOD_"    +toString(i)+"_NO_EXECUTE"   );
     504//        PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_HAVE_EVENT"   ,
     505//                            dest,"out_DECOD_"    +toString(i)+"_HAVE_EVENT"   );
     506          PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_LAST_EVENT"   ,
     507                              dest,"out_DECOD_"    +toString(i)+"_LAST_EVENT"   );
    501508          PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_IS_DELAY_SLOT",
    502509                              dest,"out_DECOD_"    +toString(i)+"_IS_DELAY_SLOT");
     
    569576                              dest,"out_NB_INST_"+toString(i)+"_DECOD_ALL");
    570577        }
     578
     579
     580
     581      for (uint32_t i=0; i<_param->_nb_context; i++)
     582        {
     583          dest = _name;
     584
     585#ifdef POSITION
     586          _component->interface_map (src ,"context_"+toString(i),
     587                                     dest,"context_"+toString(i));
     588#endif
     589         
     590          PORT_MAP(_component,src , "in_CONTEXT_"+toString(i)+"_EVENT"       ,
     591                              dest, "in_CONTEXT_"+toString(i)+"_EVENT"       );
     592
     593        }
    571594    }
    572595    // ~~~~~[ Others ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset for help on using the changeset viewer.