Changeset 983 for trunk/modules/vci_block_device_tsar/caba/source/src
- Timestamp:
- Apr 19, 2015, 5:19:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp
r973 r983 115 115 std::cout << " <BDEV_TGT WRITE_BUFFER> value = " << r_tdata.read() << std::endl; 116 116 #endif 117 r_buf_address = (uint64_t)r_tdata.read(); 117 r_buf_address = (r_buf_address.read() & 0xFFFFFFFF00000000ULL) | 118 ((uint64_t)r_tdata.read()); 118 119 r_target_fsm = T_IDLE; 119 120 } … … 128 129 std::cout << " <BDEV_TGT WRITE_BUFFER_EXT> value = " << r_tdata.read() << std::endl; 129 130 #endif 130 r_buf_address = r_buf_address.read() + (((uint64_t)r_tdata.read())<<32); 131 r_buf_address = (r_buf_address.read() & 0x00000000FFFFFFFFULL) | 132 ((uint64_t)r_tdata.read() << 32); 131 133 r_target_fsm = T_IDLE; 132 134 }
Note: See TracChangeset
for help on using the changeset viewer.