Permalink
Browse files

[2nd] vivadoのシミュレーションのバグを回避

  • Loading branch information...
sueki743 committed Jan 12, 2017
1 parent 41210d3 commit ad9f3ee399818e1e5169cb56f8a104c002afc68d
Showing with 4 additions and 2 deletions.
  1. +4 −2 2nd/rob.sv
View
@@ -22,8 +22,10 @@ module rob #(
end
assign issue_tag = issue_pointer;
assign commit_tag = commit_pointer;
- assign commit_data = rob[commit_pointer].data;
- assign commit_req.ready = rob[commit_pointer].valid;
+ rob_entry commit_e;
+ assign commit_e = rob[commit_pointer];
+ assign commit_data = commit_e.data;
+ assign commit_req.ready = commit_e.valid;
wire commit = commit_req.valid && commit_req.ready;
always_ff @(posedge clk) begin

0 comments on commit ad9f3ee

Please sign in to comment.