OpenCores
URL https://opencores.org/ocsvn/ft816float/ft816float/trunk

Subversion Repositories ft816float

[/] [ft816float/] [trunk/] [rtl/] [verilog/] [lib/] [redor64.v] - Blame information for rev 82

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 robfinch
module redor64
2
(
3
        input [5:0] a,
4
        input [63:0] b,
5
        output reg o
6
);
7
 
8
        always @(a,b)
9
        case (a)
10
        6'd0:   o =  b[0];
11
        6'd1:   o = |b[1:0];
12
        6'd2:   o = |b[2:0];
13
        6'd3:   o = |b[3:0];
14
        6'd4:   o = |b[4:0];
15
        6'd5:   o = |b[5:0];
16
        6'd6:   o = |b[6:0];
17
        6'd7:   o = |b[7:0];
18
        6'd8:   o = |b[8:0];
19
        6'd9:   o = |b[9:0];
20
        6'd10:  o = |b[10:0];
21
        6'd11:  o = |b[11:0];
22
        6'd12:  o = |b[12:0];
23
        6'd13:  o = |b[13:0];
24
        6'd14:  o = |b[14:0];
25
        6'd15:  o = |b[15:0];
26
        6'd16:  o = |b[16:0];
27
        6'd17:  o = |b[17:0];
28
        6'd18:  o = |b[18:0];
29
        6'd19:  o = |b[19:0];
30
        6'd20:  o = |b[20:0];
31
        6'd21:  o = |b[21:0];
32
        6'd22:  o = |b[22:0];
33
        6'd23:  o = |b[23:0];
34
        6'd24:  o = |b[24:0];
35
        6'd25:  o = |b[25:0];
36
        6'd26:  o = |b[26:0];
37
        6'd27:  o = |b[27:0];
38
        6'd28:  o = |b[28:0];
39
        6'd29:  o = |b[29:0];
40
        6'd30:  o = |b[30:0];
41
        6'd31:  o = |b[31:0];
42
        6'd32:  o = |b[32:0];
43
        6'd33:  o = |b[33:0];
44
        6'd34:  o = |b[34:0];
45
        6'd35:  o = |b[35:0];
46
        6'd36:  o = |b[36:0];
47
        6'd37:  o = |b[37:0];
48
        6'd38:  o = |b[38:0];
49
        6'd39:  o = |b[39:0];
50
        6'd40:  o = |b[40:0];
51
        6'd41:  o = |b[41:0];
52
        6'd42:  o = |b[42:0];
53
        6'd43:  o = |b[43:0];
54
        6'd44:  o = |b[44:0];
55
        6'd45:  o = |b[45:0];
56
        6'd46:  o = |b[46:0];
57
        6'd47:  o = |b[47:0];
58
        6'd48:  o = |b[48:0];
59
        6'd49:  o = |b[49:0];
60
        6'd50:  o = |b[50:0];
61
        6'd51:  o = |b[51:0];
62
        6'd52:  o = |b[52:0];
63
        6'd53:  o = |b[53:0];
64
        6'd54:  o = |b[54:0];
65
        6'd55:  o = |b[55:0];
66
        6'd56:  o = |b[56:0];
67
        6'd57:  o = |b[57:0];
68
        6'd58:  o = |b[58:0];
69
        6'd59:  o = |b[59:0];
70
        6'd60:  o = |b[60:0];
71
        6'd61:  o = |b[61:0];
72
        6'd62:  o = |b[62:0];
73
        6'd63:  o = |b[63:0];
74
        endcase
75
 
76
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.