Changeset 284 for trunk/modules/vci_block_device_tsar_v4/caba/source
- Timestamp:
- Dec 11, 2012, 6:19:35 PM (12 years ago)
- Location:
- trunk/modules/vci_block_device_tsar_v4/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar_v4/caba/source/include/vci_block_device_tsar_v4.h
r260 r284 176 176 }; 177 177 178 /* transaction type, pktid field */ 179 enum transaction_type_e 180 { 181 // b3 unused 182 // b2 READ / NOT READ 183 // Si READ 184 // b1 DATA / INS 185 // b0 UNC / MISS 186 // Si NOT READ 187 // b1 accÚs table llsc type SW / other 188 // b2 WRITE/CAS/LL/SC 189 TYPE_READ_DATA_UNC = 0x0, 190 TYPE_READ_DATA_MISS = 0x1, 191 TYPE_READ_INS_UNC = 0x2, 192 TYPE_READ_INS_MISS = 0x3, 193 TYPE_WRITE = 0x4, 194 TYPE_CAS = 0x5, 195 TYPE_LL = 0x6, 196 TYPE_SC = 0x7 197 }; 198 178 199 protected: 179 200 -
trunk/modules/vci_block_device_tsar_v4/caba/source/src/vci_block_device_tsar_v4.cpp
r272 r284 486 486 p_vci_initiator.srcid = (sc_dt::sc_uint<vci_param::S>)m_srcid; 487 487 p_vci_initiator.trdid = 0; 488 p_vci_initiator.pktid = 0;489 488 p_vci_initiator.contig = true; 490 489 p_vci_initiator.cons = false; … … 499 498 p_vci_initiator.address = (sc_dt::sc_uint<vci_param::N>)r_buf_address.read(); 500 499 p_vci_initiator.cmd = vci_param::CMD_READ; 500 p_vci_initiator.pktid = TYPE_READ_DATA_UNC; // or _MISS ? 501 501 p_vci_initiator.wdata = 0; 502 502 p_vci_initiator.be = (uint32_t)0xF; … … 509 509 p_vci_initiator.address = (sc_dt::sc_uint<vci_param::N>)r_buf_address.read(); 510 510 p_vci_initiator.cmd = vci_param::CMD_WRITE; 511 p_vci_initiator.pktid = TYPE_WRITE; 511 512 p_vci_initiator.wdata = (uint32_t)r_local_buffer[r_index.read()]; 512 513 p_vci_initiator.be = 0xF;
Note: See TracChangeset
for help on using the changeset viewer.