Ignore:
Timestamp:
Feb 8, 2012, 9:33:35 PM (13 years ago)
Author:
zzhang
Message:

fix some bugs in vdspin platform

Location:
trunk/modules/vci_synthetic_initator/caba/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_synthetic_initator/caba/sources/include/vci_synthetic_initiator.h

    r146 r190  
    7676        BC_RSP_WAIT_RSP
    7777      };
    78 
    79 
    80      
    8178
    8279    protected:
  • trunk/modules/vci_synthetic_initator/caba/sources/src/vci_synthetic_initiator.cpp

    r180 r190  
    277277              int id = -1;
    278278              for(size_t i = 1; i < m_tab_size; i++){   // ID 0 reserved for broadcast transactions
    279                 if(r_pending_fsm[i].read() == false)
     279                if( r_pending_fsm[i].read() == false )
    280280                {
    281281                  id = (int)i;
     
    318318          fifo_get = true;
    319319          r_cmd_fsm = VCI_IDLE;
    320         }
     320          break;
     321        }
    321322      case VCI_BC_SEND:
    322323        {
     
    342343      if(p_vci.rtrdid.read() == 0)      // not a broadcast
    343344      {
    344         assert( ( r_pending_fsm[0].read() == true ) &&
     345        assert( ( r_pending_fsm[0].read() == true ) &&
    345346                "illegal broadcast response received");
    346347        r_bc_nrsp = r_bc_nrsp.read() - 1 ;
Note: See TracChangeset for help on using the changeset viewer.