Ignore:
Timestamp:
Dec 4, 2007, 1:26:55 PM (17 years ago)
Author:
rosiere
Message:

register_unit_glue : separation des fonctions - evite les cycles dans le graph de dependances des ports i/o

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue_genMealy_gpr_read.cpp

    r60 r61  
    2828      {
    2929        Tcontext_t ooo_engine_id    = (_param->_have_port_ooo_engine_id == true)?PORT_READ(in_GPR_READ_OOO_ENGINE_ID[j]):0;
    30         Tcontrol_t val              = PORT_READ(in_GPR_READ_VAL [j]);
    3130        Tcontrol_t registerfile_ack = PORT_READ(in_GPR_READ_REGISTERFILE_ACK [ooo_engine_id][j]);
    3231        Tcontrol_t status_ack       = PORT_READ(in_GPR_READ_STATUS_ACK       [ooo_engine_id][j]);
     
    3635        PORT_WRITE(out_GPR_READ_DATA     [j], PORT_READ(in_GPR_READ_REGISTERFILE_DATA[ooo_engine_id][j]));
    3736        PORT_WRITE(out_GPR_READ_DATA_VAL [j], PORT_READ(in_GPR_READ_STATUS_DATA_VAL  [ooo_engine_id][j]));
    38    
    39         Tcontrol_t registerfile_val = val and registerfile_ack;
    40         Tcontrol_t status_val       = val and status_ack;
    41 
    42         for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
    43           {
    44             Tcontrol_t id = (i == ooo_engine_id)?1:0;
    45             PORT_WRITE(out_GPR_READ_REGISTERFILE_VAL [i][j], (id and status_val));
    46             PORT_WRITE(out_GPR_READ_STATUS_VAL       [i][j], (id and registerfile_val));
    47           }
    4837      }
    4938
Note: See TracChangeset for help on using the changeset viewer.