Skip to content

Commit

Permalink
[difftest] fix online issue vtype
Browse files Browse the repository at this point in the history
  • Loading branch information
SharzyL committed Jul 12, 2024
1 parent cc5208d commit 7dde51d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion difftest/online_drive/src/dpi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ unsafe fn fill_axi_read_payload(dst: *mut SvBitVecVal, dlen: u32, payload: &AxiR
let data_len = 256 * (dlen / 8) as usize;
assert!(payload.data.len() <= data_len);
let dst = dst as *mut u8;
info!("write {} bytes", payload.data.len());
write_to_pointer(dst, &payload.data, payload.data.len());
}

Expand Down
2 changes: 1 addition & 1 deletion difftest/online_drive/src/drive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Driver {
instruction_bits: se.inst_bits,
src1_bits: se.rs1_bits,
src2_bits: se.rs2_bits,
vtype: se.vl,
vtype: se.vtype,
vl: se.vl,
vstart: se.vstart as u32,
vcsr: se.vcsr(),
Expand Down

0 comments on commit 7dde51d

Please sign in to comment.