Skip to content
Snippets Groups Projects
Commit 90b76d3e authored by Florian Zaruba's avatar Florian Zaruba
Browse files

tandem: Fix exception detection

parent 6902d2e5
Branches
Tags
No related merge requests found
......@@ -55,7 +55,7 @@ module spike #(
if (rst_ni) begin
for (int i = 0; i < ariane_pkg::NR_COMMIT_PORTS; i++) begin
if (commit_instr_i[i].valid && commit_ack_i[i]) begin
if ((commit_instr_i[i].valid && commit_ack_i[i]) || (commit_instr_i[i].valid && exception_i.valid)) begin
spike_tick(commit_log);
instr = (commit_log.instr[1:0] != 2'b11) ? {16'b0, commit_log.instr[15:0]} : commit_log.instr;
// $display("\x1B[32m%h %h\x1B[0m", commit_log.pc, instr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment