forked from f4pga/prjxray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrl32_x3_and_lut6_x1.v
63 lines (57 loc) · 993 Bytes
/
srl32_x3_and_lut6_x1.v
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
module top
(
(* clock_buffer_type = "NONE" *)
input wire CLK,
input wire CE,
input wire D,
input wire [5:0] I,
input wire [4:0] A,
output wire [3:0] Q
);
wire srl_b_mc31;
wire srl_c_mc31;
(* DONT_TOUCH="yes" *)
(* LOC="SLICE_X2Y0", BEL="A6LUT" *)
SRLC32E srl_a
(
.CLK (CLK),
.CE (CE),
.D (srl_b_mc31),
.A (A),
.Q (Q[0])
);
(* DONT_TOUCH="yes" *)
(* LOC="SLICE_X2Y0", BEL="B6LUT" *)
SRLC32E srl_b
(
.CLK (CLK),
.CE (CE),
.D (srl_c_mc31),
.A (A),
.Q (Q[1]),
.Q31 (srl_b_mc31)
);
(* DONT_TOUCH="yes" *)
(* LOC="SLICE_X2Y0", BEL="C6LUT" *)
SRLC32E srl_c
(
.CLK (CLK),
.CE (CE),
.D (D),
.A (A),
.Q (Q[2]),
.Q31 (srl_c_mc31)
);
(* DONT_TOUCH="yes" *)
(* LOC="SLICE_X2Y0", BEL="D6LUT" *)
LUT6 lut_d
(
.I0 (I[0]),
.I1 (I[1]),
.I2 (I[2]),
.I3 (I[3]),
.I4 (I[4]),
.I5 (I[5]),
.O (Q[3])
);
endmodule