Ignore:
Timestamp:
Apr 9, 2013, 12:34:25 PM (11 years ago)
Author:
simerabe
Message:

bugfix : preempt in case of broadcast, palloc in case of single flit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/dspin_local_ring_fast_c/caba/source/include/dspin_half_gateway_initiator_fast_c.h

    r357 r358  
    188188                         << std::endl;
    189189#endif
    190                                 r_preempt    = tga;
     190                                //r_preempt    = tga;
    191191
    192192                                if (m_cmd_fifo.read() & 0x1 == 0x1) // broadcast
     
    201201                                else    if (tga)
    202202                                        {
     203                                                r_preempt = 1;
    203204
    204205                                                cmd_fifo_get   = p_ring_in.cmd_r;
     
    279280
    280281#endif
     282                        r_preempt = tga;
    281283
    282284                        if (p_ring_in.cmd_r)                                 
     
    575577
    576578                case BDC_FIRST:
    577                         if(r_preempt)
     579                        if(tga)
    578580                        {
    579581                                p_ring_out.cmd_header  = 1;
    580                                 p_ring_out.cmd_palloc  = 1+(tga ? 1:0);
     582                                p_ring_out.cmd_palloc  = 1;      //1+(tga ? 1:0);
    581583                                p_ring_out.cmd_preempt = 1;
    582584                                p_ring_out.cmd_grant   = p_ring_in.cmd_grant;
Note: See TracChangeset for help on using the changeset viewer.