using onehot multiplexer to reduce critical path
This commit is contained in:
@@ -67,7 +67,6 @@ module VX_onehot_encoder #(
|
||||
reg [LN-1:0] index_r;
|
||||
|
||||
if (REVERSE) begin
|
||||
|
||||
always @(*) begin
|
||||
index_r = 'x;
|
||||
for (integer i = N-1; i >= 0; --i) begin
|
||||
@@ -76,7 +75,6 @@ module VX_onehot_encoder #(
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end else begin
|
||||
always @(*) begin
|
||||
index_r = 'x;
|
||||
|
||||
Reference in New Issue
Block a user