-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPINE S7 MASTER.xdc
130 lines (110 loc) · 8.19 KB
/
PINE S7 MASTER.xdc
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
##MASTER XDC FILE FOR PINE S7 FPGA BOARD xc7s15ftgb196-1
# Clock signal
set_property -dict { PACKAGE_PIN G11 IOSTANDARD LVCMOS33 } [get_ports { osc_clk_100mhz }];
create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports {osc_clk_100mhz}];
##Buttons
set_property -dict { PACKAGE_PIN B5 IOSTANDARD LVCMOS33 } [get_ports { KEY_0 }];
set_property -dict { PACKAGE_PIN A4 IOSTANDARD LVCMOS33 } [get_ports { KEY_1 }];
set_property -dict { PACKAGE_PIN A3 IOSTANDARD LVCMOS33 } [get_ports { KEY_2 }];
set_property -dict { PACKAGE_PIN B3 IOSTANDARD LVCMOS33 } [get_ports { KEY_3 }];
#Slide Switches
set_property -dict { PACKAGE_PIN A5 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[0] }];
set_property -dict { PACKAGE_PIN B6 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[1] }];
set_property -dict { PACKAGE_PIN F4 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[2] }];
set_property -dict { PACKAGE_PIN C3 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[3] }];
set_property -dict { PACKAGE_PIN C4 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[4] }];
set_property -dict { PACKAGE_PIN A10 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[5] }];
set_property -dict { PACKAGE_PIN B13 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[6] }];
set_property -dict { PACKAGE_PIN C14 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[7] }];
set_property -dict { PACKAGE_PIN D13 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[8] }];
set_property -dict { PACKAGE_PIN F14 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[9] }];
set_property -dict { PACKAGE_PIN G14 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[10] }];
set_property -dict { PACKAGE_PIN H13 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[11] }];
set_property -dict { PACKAGE_PIN D12 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[12] }];
set_property -dict { PACKAGE_PIN E12 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[13] }];
set_property -dict { PACKAGE_PIN F11 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[14] }];
set_property -dict { PACKAGE_PIN H11 IOSTANDARD LVCMOS33 } [get_ports { SLIDE_SW[15] }];
## LEDs
set_property -dict { PACKAGE_PIN F3 IOSTANDARD LVCMOS33} [get_ports {LED[0]}];
set_property -dict { PACKAGE_PIN E4 IOSTANDARD LVCMOS33} [get_ports {LED[1]}];
set_property -dict { PACKAGE_PIN D3 IOSTANDARD LVCMOS33} [get_ports {LED[2]}];
set_property -dict { PACKAGE_PIN D4 IOSTANDARD LVCMOS33} [get_ports {LED[3]}];
set_property -dict { PACKAGE_PIN C5 IOSTANDARD LVCMOS33} [get_ports {LED[4]}];
set_property -dict { PACKAGE_PIN A12 IOSTANDARD LVCMOS33} [get_ports {LED[5]}];
set_property -dict { PACKAGE_PIN A13 IOSTANDARD LVCMOS33} [get_ports {LED[6]}];
set_property -dict { PACKAGE_PIN B14 IOSTANDARD LVCMOS33} [get_ports {LED[7]}];
set_property -dict { PACKAGE_PIN D14 IOSTANDARD LVCMOS33} [get_ports {LED[8]}];
set_property -dict { PACKAGE_PIN E13 IOSTANDARD LVCMOS33} [get_ports {LED[9]}];
set_property -dict { PACKAGE_PIN F13 IOSTANDARD LVCMOS33} [get_ports {LED[10]}];
set_property -dict { PACKAGE_PIN H14 IOSTANDARD LVCMOS33} [get_ports {LED[11]}];
set_property -dict { PACKAGE_PIN J14 IOSTANDARD LVCMOS33} [get_ports {LED[12]}];
set_property -dict { PACKAGE_PIN C12 IOSTANDARD LVCMOS33} [get_ports {LED[13]}];
set_property -dict { PACKAGE_PIN E11 IOSTANDARD LVCMOS33} [get_ports {LED[14]}];
set_property -dict { PACKAGE_PIN F12 IOSTANDARD LVCMOS33} [get_ports {LED[15]}];
##Buzzer
set_property -dict { PACKAGE_PIN P3 IOSTANDARD LVCMOS33 } [get_ports { BUZZER}];
##RGB LED
set_property -dict { PACKAGE_PIN H12 IOSTANDARD LVCMOS33 } [get_ports { LED_BLUE}];
set_property -dict { PACKAGE_PIN J12 IOSTANDARD LVCMOS33 } [get_ports { LED_GREEN}];
set_property -dict { PACKAGE_PIN J11 IOSTANDARD LVCMOS33 } [get_ports { LED_RED}];
##seven segment
set_property -dict { PACKAGE_PIN G4 IOSTANDARD LVCMOS33 } [get_ports { SIG_A }];
set_property -dict { PACKAGE_PIN H3 IOSTANDARD LVCMOS33 } [get_ports { SIG_B }];
set_property -dict { PACKAGE_PIN J3 IOSTANDARD LVCMOS33 } [get_ports { SIG_C }];
set_property -dict { PACKAGE_PIN L3 IOSTANDARD LVCMOS33 } [get_ports { SIG_D }];
set_property -dict { PACKAGE_PIN K3 IOSTANDARD LVCMOS33 } [get_ports { SIG_E }];
set_property -dict { PACKAGE_PIN H4 IOSTANDARD LVCMOS33 } [get_ports { SIG_F }];
set_property -dict { PACKAGE_PIN J4 IOSTANDARD LVCMOS33 } [get_ports { SIG_G }];
set_property -dict { PACKAGE_PIN K4 IOSTANDARD LVCMOS33 } [get_ports { SIG_PD}];
set_property -dict { PACKAGE_PIN H1 IOSTANDARD LVCMOS33 } [get_ports { SEL_DISP1}];
set_property -dict { PACKAGE_PIN H2 IOSTANDARD LVCMOS33 } [get_ports { SEL_DISP2}];
set_property -dict { PACKAGE_PIN F1 IOSTANDARD LVCMOS33 } [get_ports { SEL_DISP3}];
set_property -dict { PACKAGE_PIN G1 IOSTANDARD LVCMOS33 } [get_ports { SEL_DISP4}];
##VGA
set_property -dict { PACKAGE_PIN M4 IOSTANDARD LVCMOS33 } [get_ports { red_out}];
set_property -dict { PACKAGE_PIN M3 IOSTANDARD LVCMOS33 } [get_ports { green_out}];
set_property -dict { PACKAGE_PIN P5 IOSTANDARD LVCMOS33 } [get_ports { blue_out}];
set_property -dict { PACKAGE_PIN N4 IOSTANDARD LVCMOS33 } [get_ports { vert_sync_out}];
set_property -dict { PACKAGE_PIN P4 IOSTANDARD LVCMOS33 } [get_ports { horiz_sync_out}];
##USB UART
set_property -dict { PACKAGE_PIN N10 IOSTANDARD LVCMOS33 } [get_ports { USB_RXD }];
set_property -dict { PACKAGE_PIN P10 IOSTANDARD LVCMOS33 } [get_ports { USB_TXD }];
##WIFI UART
set_property -dict { PACKAGE_PIN M5 IOSTANDARD LVCMOS33 } [get_ports { WIFI_RXD }];
set_property -dict { PACKAGE_PIN L5 IOSTANDARD LVCMOS33 } [get_ports { WIFI_TXD }];
##PMOD JA
set_property -dict { PACKAGE_PIN E2 IOSTANDARD LVCMOS33 } [get_ports { JA_1 }];
set_property -dict { PACKAGE_PIN D2 IOSTANDARD LVCMOS33 } [get_ports { JA_2 }];
set_property -dict { PACKAGE_PIN B1 IOSTANDARD LVCMOS33 } [get_ports { JA_3 }];
set_property -dict { PACKAGE_PIN A2 IOSTANDARD LVCMOS33 } [get_ports { JA_4 }];
set_property -dict { PACKAGE_PIN F2 IOSTANDARD LVCMOS33 } [get_ports { JA_7 }];
set_property -dict { PACKAGE_PIN D1 IOSTANDARD LVCMOS33 } [get_ports { JA_8 }];
set_property -dict { PACKAGE_PIN C1 IOSTANDARD LVCMOS33 } [get_ports { JA_9 }];
set_property -dict { PACKAGE_PIN B2 IOSTANDARD LVCMOS33 } [get_ports { JA_10}];
##PMOD JB
set_property -dict { PACKAGE_PIN N1 IOSTANDARD LVCMOS33 } [get_ports { JB_1 }];
set_property -dict { PACKAGE_PIN M1 IOSTANDARD LVCMOS33 } [get_ports { JB_2 }];
set_property -dict { PACKAGE_PIN L1 IOSTANDARD LVCMOS33 } [get_ports { JB_3 }];
set_property -dict { PACKAGE_PIN J1 IOSTANDARD LVCMOS33 } [get_ports { JB_4 }];
set_property -dict { PACKAGE_PIN P2 IOSTANDARD LVCMOS33 } [get_ports { JB_7 }];
set_property -dict { PACKAGE_PIN M2 IOSTANDARD LVCMOS33 } [get_ports { JB_8 }];
set_property -dict { PACKAGE_PIN L2 IOSTANDARD LVCMOS33 } [get_ports { JB_9 }];
set_property -dict { PACKAGE_PIN J2 IOSTANDARD LVCMOS33 } [get_ports { JB_10}];
##PMOD JC
set_property -dict { PACKAGE_PIN K11 IOSTANDARD LVCMOS33 } [get_ports { JC_1 }];
set_property -dict { PACKAGE_PIN J13 IOSTANDARD LVCMOS33 } [get_ports { JC_2 }];
set_property -dict { PACKAGE_PIN L13 IOSTANDARD LVCMOS33 } [get_ports { JC_3 }];
set_property -dict { PACKAGE_PIN M13 IOSTANDARD LVCMOS33 } [get_ports { JC_4 }];
set_property -dict { PACKAGE_PIN K12 IOSTANDARD LVCMOS33 } [get_ports { JC_7 }];
set_property -dict { PACKAGE_PIN L12 IOSTANDARD LVCMOS33 } [get_ports { JC_8 }];
set_property -dict { PACKAGE_PIN L14 IOSTANDARD LVCMOS33 } [get_ports { JC_9 }];
set_property -dict { PACKAGE_PIN M14 IOSTANDARD LVCMOS33 } [get_ports { JC_10}];
##PMOD JD
set_property -dict { PACKAGE_PIN M11 IOSTANDARD LVCMOS33 } [get_ports { JD_1 }];
set_property -dict { PACKAGE_PIN N14 IOSTANDARD LVCMOS33 } [get_ports { JD_2 }];
set_property -dict { PACKAGE_PIN P12 IOSTANDARD LVCMOS33 } [get_ports { JD_3 }];
set_property -dict { PACKAGE_PIN P11 IOSTANDARD LVCMOS33 } [get_ports { JD_4 }];
set_property -dict { PACKAGE_PIN M12 IOSTANDARD LVCMOS33 } [get_ports { JD_7 }];
set_property -dict { PACKAGE_PIN M10 IOSTANDARD LVCMOS33 } [get_ports { JD_8 }];
set_property -dict { PACKAGE_PIN P13 IOSTANDARD LVCMOS33 } [get_ports { JD_9 }];
set_property -dict { PACKAGE_PIN N11 IOSTANDARD LVCMOS33 } [get_ports { JD_10}];