Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

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

    r87 r88  
    3939
    4040    usage_environment(_usage);
     41
     42#if DEBUG_Decod_queue == true
     43    log_printf(INFO,Decod_queue,FUNCTION,_("<%s> Parameters"),_name.c_str());
     44
     45    std::cout << *param << std::endl;
     46#endif   
    4147
    4248    log_printf(INFO,Decod_queue,FUNCTION,_("Allocation"));
     
    98104        for (uint32_t i=0; i<_param->_nb_inst_decod; i++)
    99105          sensitive << (*(in_DECOD_OUT_ACK [i]));
    100         if (_param->_have_port_depth)
    101106          for (uint32_t i=0; i<_param->_nb_context; i++)
    102             sensitive << (*(in_DEPTH_TAIL      [i]))
    103                       << (*(in_DEPTH_NB_BRANCH [i]));
     107            {
     108              if (_param->_have_port_depth)
     109              sensitive << (*(in_DEPTH_MIN [i]));
     110              sensitive << (*(in_DEPTH_MAX [i]));
     111            }
    104112
    105113# ifdef SYSTEMCASS_SPECIFIC
     
    108116          {
    109117            (*(out_DECOD_OUT_VAL [i])) (*(in_DECOD_OUT_ACK [i]));
    110             if (_param->_have_port_depth)
    111               for (uint32_t j=0; j<_param->_nb_context; j++)
    112                 {
    113                   (*(out_DECOD_OUT_VAL [i])) (*(in_DEPTH_TAIL      [j]));
    114                   (*(out_DECOD_OUT_VAL [i])) (*(in_DEPTH_NB_BRANCH [j]));
    115                 }
     118            for (uint32_t j=0; j<_param->_nb_context; j++)
     119              {
     120                if (_param->_have_port_depth)
     121                (*(out_DECOD_OUT_VAL [i])) (*(in_DEPTH_MIN [j]));
     122                (*(out_DECOD_OUT_VAL [i])) (*(in_DEPTH_MAX [j]));
     123              }
    116124          }
    117125# endif   
Note: See TracChangeset for help on using the changeset viewer.