Changeset 358 for branches/v5/modules


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

Location:
branches/v5/modules/dspin_local_ring_fast_c/caba/source/include
Files:
1 deleted
2 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;
  • branches/v5/modules/dspin_local_ring_fast_c/caba/source/include/dspin_local_ring_target_fast_c.h

    r330 r358  
    436436                                                cmd_fifo_data  = p_ring_in.cmd_data;
    437437
    438                                                 if (eop && m_cmd_fifo.wok())
    439                                                         r_ring_cmd_fsm = CMD_IDLE;
    440                                                 else
    441                                                         r_ring_cmd_fsm = PALLOC2;
     438                                                if (!eop)
     439                                                        r_ring_cmd_fsm = PALLOC2;
     440
     441                                                //if (eop && m_cmd_fifo.wok())
     442                                                //      r_ring_cmd_fsm = CMD_IDLE;
     443                                                //else
     444                                                //      r_ring_cmd_fsm = PALLOC2;
    442445       
    443446                                        }
Note: See TracChangeset for help on using the changeset viewer.