WIP: Dual commit, fix instr tracer

This commit is contained in:
Florian Zaruba 2017-09-12 18:08:15 +02:00
parent 10f97700a6
commit c595fd6b49
2 changed files with 3 additions and 1 deletions

View file

@ -67,6 +67,8 @@ module commit_stage #(
commit_ack_o[1] = 1'b0;
we_o[0] = 1'b0;
we_o[1] = 1'b0;
commit_lsu_o = 1'b0;
commit_csr_o = 1'b0;
wdata_o[0] = commit_instr_i[0].result;

View file

@ -83,7 +83,7 @@ class instruction_tracer;
// -------------------
// we got a new issue ack, so put the element from the decode queue to
// the issue queue
if (tracer_if.pck.issue_ack) begin
if (tracer_if.pck.issue_ack && !tracer_if.pck.flush_unissued) begin
issue_instruction = decode_queue.pop_front();
issue_queue.push_back(issue_instruction);
// also save the scoreboard entry to a separate issue queue