non-cacheable memory address critical paths optimizations
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user