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

Subversion Repositories thor

[/] [thor/] [trunk/] [FT64v5/] [rtl/] [lib/] [redor80.v] - Blame information for rev 48

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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