Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TB]: Extend testbench to improve debugging #53

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion target/sim/src/vip_chimera_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ module vip_chimera_soc

// Wait for termination signal and get return code
task automatic jtag_wait_for_eoc(output word_bt exit_code);
jtag_poll_bit0(AmRegs + cheshire_reg_pkg::CHESHIRE_SCRATCH_2_OFFSET, exit_code, 800);
jtag_poll_bit0(AmRegs + cheshire_reg_pkg::CHESHIRE_SCRATCH_2_OFFSET, exit_code, 4000);
exit_code >>= 1;
if (exit_code) $error("[JTAG] FAILED: return code %0d", exit_code);
else $display("[JTAG] SUCCESS");
Expand Down Expand Up @@ -426,6 +426,7 @@ module vip_chimera_soc
uart_boot_eoc = 1;
end else begin
uart_read_buf.push_back(bite);
$display("Read Byte: %s", bite);
end
end
end
Expand Down
Loading