pipeline refactoring - fmax >= 222 mhz

This commit is contained in:
Blaise Tine
2020-08-14 21:50:14 -07:00
parent 71a46d04b9
commit 6c12391338
107 changed files with 1392 additions and 1239 deletions

View File

@@ -11,7 +11,7 @@ module VX_fair_arbiter #(
output wire grant_valid
);
if (N == 1) begin
if (N == 1) begin
`UNUSED_VAR (clk)
`UNUSED_VAR (reset)
@@ -33,11 +33,13 @@ module VX_fair_arbiter #(
if (reset) begin
requests_use <= 0;
refill_original <= 0;
end else if (refill) begin
requests_use <= refill_value;
refill_original <= refill_value;
end else begin
requests_use <= update_value;
if (refill) begin
requests_use <= refill_value;
refill_original <= refill_value;
end else begin
requests_use <= update_value;
end
end
end