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

Iob if #734

Merged
merged 11 commits into from
Jan 25, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module apb2iob #(
if (!(apb_sel_i & apb_enable_i)) begin
pc_cnt_nxt = pc_cnt;
end else begin
iob_valid = 1'b1;
iob_valid = 1'b1;
end
end
WAIT_READY: begin
Expand All @@ -78,7 +78,7 @@ module apb2iob #(
apb_ready_nxt = 1'b1;
end
end
default: begin // WAIT_APB_READY
default: begin // WAIT_APB_READY
pc_cnt_nxt = WAIT_ENABLE;
end
endcase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module iob2apb #(
apb_enable = 1'b1;
if (!apb_ready_i) begin
pc_nxt = pc;
end else if (apb_write_o) begin // No need to wait for rvalid
end else if (apb_write_o) begin // No need to wait for rvalid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iob_wready_reg has wrong name

pc_nxt = WAIT_VALID;
end
end
Expand Down
Loading