mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Remove unused code
This commit is contained in:
parent
a060d2eed9
commit
e784900050
@ -203,17 +203,6 @@ function [2:0] keep2count;
|
|||||||
endcase
|
endcase
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function [3:0] count2keep;
|
|
||||||
input [2:0] k;
|
|
||||||
case (k)
|
|
||||||
3'd0: count2keep = 4'b0000;
|
|
||||||
3'd1: count2keep = 4'b0001;
|
|
||||||
3'd2: count2keep = 4'b0011;
|
|
||||||
3'd3: count2keep = 4'b0111;
|
|
||||||
3'd4: count2keep = 4'b1111;
|
|
||||||
endcase
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
// Mask input data
|
// Mask input data
|
||||||
integer j;
|
integer j;
|
||||||
|
|
||||||
|
@ -280,21 +280,6 @@ function [3:0] keep2count;
|
|||||||
endcase
|
endcase
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function [7:0] count2keep;
|
|
||||||
input [3:0] k;
|
|
||||||
case (k)
|
|
||||||
4'd0: count2keep = 8'b00000000;
|
|
||||||
4'd1: count2keep = 8'b00000001;
|
|
||||||
4'd2: count2keep = 8'b00000011;
|
|
||||||
4'd3: count2keep = 8'b00000111;
|
|
||||||
4'd4: count2keep = 8'b00001111;
|
|
||||||
4'd5: count2keep = 8'b00011111;
|
|
||||||
4'd6: count2keep = 8'b00111111;
|
|
||||||
4'd7: count2keep = 8'b01111111;
|
|
||||||
4'd8: count2keep = 8'b11111111;
|
|
||||||
endcase
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
// Mask input data
|
// Mask input data
|
||||||
integer j;
|
integer j;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user