non-cacheable memory address critical paths optimizations

This commit is contained in:
Blaise Tine
2021-06-10 12:47:18 -07:00
parent 41069ba188
commit adf033b0aa
11 changed files with 258 additions and 194 deletions

View File

@@ -18,6 +18,12 @@ module VX_priority_encoder #(
assign index = 0;
assign valid_out = data_in;
end else if (N == 2) begin
assign onehot = {!data_in[REVERSE], data_in[REVERSE]};
assign index = !data_in[REVERSE];
assign valid_out = (| data_in);
end else if (FAST) begin
wire [N-1:0] scan_lo;

View File

@@ -27,7 +27,6 @@ module VX_stream_arbiter #(
wire [NUM_REQS-1:0] sel_1hot;
if (TYPE == "X") begin
VX_fixed_arbiter #(
.NUM_REQS(NUM_REQS),
.LOCK_ENABLE(1)
@@ -40,9 +39,7 @@ module VX_stream_arbiter #(
.grant_index (sel_idx),
.grant_onehot (sel_1hot)
);
end else if (TYPE == "R") begin
VX_rr_arbiter #(
.NUM_REQS(NUM_REQS),
.LOCK_ENABLE(1)
@@ -55,9 +52,7 @@ module VX_stream_arbiter #(
.grant_index (sel_idx),
.grant_onehot (sel_1hot)
);
end else if (TYPE == "F") begin
VX_fair_arbiter #(
.NUM_REQS(NUM_REQS),
.LOCK_ENABLE(1)
@@ -70,9 +65,7 @@ module VX_stream_arbiter #(
.grant_index (sel_idx),
.grant_onehot (sel_1hot)
);
end else if (TYPE == "M") begin
VX_matrix_arbiter #(
.NUM_REQS(NUM_REQS),
.LOCK_ENABLE(1)
@@ -85,8 +78,9 @@ module VX_stream_arbiter #(
.grant_index (sel_idx),
.grant_onehot (sel_1hot)
);
end
end else begin
$error ("invalid parameter");
end
wire ready_out_unqual;