Ignore:
Timestamp:
Jan 16, 2009, 5:55:32 PM (15 years ago)
Author:
moulu
Message:

1) write queue vhdl
2) bug fix : in generic queue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/src/Write_queue_genMoore.cpp

    r101 r103  
    101101              PORT_WRITE(out_BYPASS_WRITE_SPR_NUM_REG   [i], (*it)->_num_reg_re);
    102102              PORT_WRITE(out_BYPASS_WRITE_SPR_DATA      [i], (*it)->_data_re   );
    103               PORT_WRITE(out_BYPASS_WRITE_SPR_DATA      [i], (*it)->_data_re   );
    104103            }
     104#ifdef SYSTEMC_VHDL_COMPATIBILITY
     105          else
     106            {
     107              if (_param->_have_port_ooo_engine_id)
     108              PORT_WRITE(out_BYPASS_WRITE_OOO_ENGINE_ID [i], 0);
     109              PORT_WRITE(out_BYPASS_WRITE_GPR_NUM_REG   [i], 0);
     110              PORT_WRITE(out_BYPASS_WRITE_GPR_DATA      [i], 0);
     111              PORT_WRITE(out_BYPASS_WRITE_SPR_NUM_REG   [i], 0);
     112              PORT_WRITE(out_BYPASS_WRITE_SPR_DATA      [i], 0);
     113            }
     114#endif
     115
    105116          PORT_WRITE(out_BYPASS_WRITE_GPR_VAL       [i], val and (*it)->_write_rd  );
    106117          PORT_WRITE(out_BYPASS_WRITE_SPR_VAL       [i], val and (*it)->_write_re  );
Note: See TracChangeset for help on using the changeset viewer.