module AL_MAP_SEQ ( output q, input ce, input clk, input sr, input d ); parameter DFFMODE = "FF"; //FF,LATCH parameter REGSET = "RESET"; //RESET/SET parameter SRMUX = "SR"; //SR/INV parameter SRMODE = "SYNC"; //SYNC/ASYNC endmodule module AL_MAP_LUT1 ( output o, input a ); parameter [1:0] INIT = 2'h0; parameter EQN = "(A)"; assign o = INIT >> a; endmodule module AL_MAP_LUT2 ( output o, input a, input b ); parameter [3:0] INIT = 4'h0; parameter EQN = "(A)"; assign o = INIT >> {b, a}; endmodule module AL_MAP_LUT3 ( output o, input a, input b, input c ); parameter [7:0] INIT = 8'h0; parameter EQN = "(A)"; assign o = INIT >> {c, b, a}; endmodule module AL_MAP_LUT4 ( output o, input a, input b, input c, input d ); parameter [15:0] INIT = 16'h0; parameter EQN = "(A)"; assign o = INIT >> {d, c, b, a}; endmodule module AL_MAP_LUT5 ( output o, input a, input b, input c, input d, input e ); parameter [31:0] INIT = 32'h0; parameter EQN = "(A)"; assign o = INIT >> {e, d, c, b, a}; endmodule module AL_MAP_LUT6 ( output o, input a, input b, input c, input d, input e, input f ); parameter [63:0] INIT = 64'h0; parameter EQN = "(A)"; assign o = INIT >> {f, e, d, c, b, a}; endmodule module AL_MAP_ALU2B ( input cin, input a0, b0, c0, d0, input a1, b1, c1, d1, output s0, s1, cout ); parameter [15:0] INIT0 = 16'h0000; parameter [15:0] INIT1 = 16'h0000; parameter FUNC0 = "NO"; parameter FUNC1 = "NO"; endmodule module AL_MAP_ADDER ( input a, input b, input c, output [1:0] o ); parameter ALUTYPE = "ADD"; endmodule lue='author'>author
path: root/include/hw/boards.h
blob: 2aec9cbb12f87c528c1b99c2f7a9670916a7d579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154