1 |
119 |
jt_eaton |
# clock pin for Basys Board
|
2 |
|
|
NET "A_CLK" LOC = "p53" ; # oscillator 48 Mhz
|
3 |
|
|
NET "B_CLK" LOC = "p54" ; # resonator 100/50/25
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
NET "A_CLK" CLOCK_DEDICATED_ROUTE = FALSE;
|
7 |
|
|
PIN "core/clock_sys/DCM_SP_inst.CLKIN" CLOCK_DEDICATED_ROUTE = FALSE;
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
# Pin assignment for DispCtl
|
12 |
|
|
# Connected to Basys onBoard 7seg display
|
13 |
|
|
|
14 |
|
|
NET "SEG<0>" LOC = "p25" ; # Signal name = CA
|
15 |
|
|
NET "SEG<1>" LOC = "p16" ; # Signal name = CB
|
16 |
|
|
NET "SEG<2>" LOC = "p23" ; # Signal name = CC
|
17 |
|
|
NET "SEG<3>" LOC = "p21" ; # Signal name = CD
|
18 |
|
|
NET "SEG<4>" LOC = "p20" ; # Signal name = CE
|
19 |
|
|
NET "SEG<5>" LOC = "p17" ; # Signal name = CF
|
20 |
|
|
NET "SEG<6>" LOC = "p83" ; # Signal name = CG
|
21 |
|
|
NET "DP" LOC = "p22" ; # Signal name = DP
|
22 |
|
|
|
23 |
|
|
NET "AN<3>" LOC = "p26" ; # Signal name = AN3
|
24 |
|
|
NET "AN<2>" LOC = "p32" ; # Signal name = AN2
|
25 |
|
|
NET "AN<1>" LOC = "p33" ; # Signal name = AN1
|
26 |
|
|
NET "AN<0>" LOC = "p34" ; # Signal name = AN0
|
27 |
|
|
|
28 |
|
|
# Pin assignment for LEDs
|
29 |
|
|
NET "LED<7>" LOC = "p2" ; # Bank = 3, Signal name = LD7
|
30 |
|
|
NET "LED<6>" LOC = "p3" ; # Bank = 3, Signal name = LD6
|
31 |
|
|
NET "LED<5>" LOC = "p4" ; # Bank = 3, Signal name = LD5
|
32 |
|
|
NET "LED<4>" LOC = "p5" ; # Bank = 3, Signal name = LD4
|
33 |
|
|
NET "LED<3>" LOC = "p7" ; # Bank = 3, Signal name = LD3
|
34 |
|
|
NET "LED<2>" LOC = "p8" ; # Bank = 3, Signal name = LD2
|
35 |
|
|
NET "LED<1>" LOC = "p14" ; # Bank = 3, Signal name = LD1
|
36 |
|
|
NET "LED<0>" LOC = "p15" ; # Bank = 3, Signal name = LD0
|
37 |
|
|
|
38 |
|
|
# Pin assignment for SWs
|
39 |
|
|
NET "SW<7>" LOC = "p6" ; # Bank = 3, Signal name = SW7
|
40 |
|
|
NET "SW<6>" LOC = "p10" ; # Bank = 3, Signal name = SW6
|
41 |
|
|
NET "SW<5>" LOC = "p12" ; # Bank = 3, Signal name = SW5
|
42 |
|
|
NET "SW<4>" LOC = "p18" ; # Bank = 3, Signal name = SW4
|
43 |
|
|
NET "SW<3>" LOC = "p24" ; # Bank = 3, Signal name = SW3
|
44 |
|
|
NET "SW<2>" LOC = "p29" ; # Bank = 3, Signal name = SW2
|
45 |
|
|
NET "SW<1>" LOC = "p36" ; # Bank = 3, Signal name = SW1
|
46 |
|
|
NET "SW<0>" LOC = "p38" ; # Bank = 2, Signal name = SW0
|
47 |
|
|
|
48 |
|
|
# Pin assignment for BTNs
|
49 |
|
|
NET "BTN<3>" LOC = "p41" ; # Bank = 2, Signal name = BTN3
|
50 |
|
|
NET "BTN<2>" LOC = "p47" ; # Bank = 2, Signal name = BTN2
|
51 |
|
|
NET "BTN<1>" LOC = "p48" ; # Bank = 2, Signal name = BTN1
|
52 |
|
|
NET "BTN<0>" LOC = "p69" ; # Bank = 2, Signal name = BTN0
|
53 |
|
|
|
54 |
|
|
# Loop back/demo signals
|
55 |
|
|
# Pin assignment for PS2
|
56 |
|
|
NET "PS2C" LOC = "p96" | DRIVE = 2 | PULLUP ; # Bank = 1, Signal name = PS2C
|
57 |
|
|
NET "PS2D" LOC = "p97" | DRIVE = 2 | PULLUP ; # Bank = 1, Signal name = PS2D
|
58 |
|
|
|
59 |
|
|
# Pin assignment for VGA
|
60 |
|
|
NET "HSYNC_N" LOC = "p39" | DRIVE = 2 ; # Bank = 2, Signal name = HSYNC
|
61 |
|
|
NET "VSYNC_N" LOC = "p35" | DRIVE = 2 ; # Bank = 3, Signal name = VSYNC
|
62 |
|
|
NET "VGARED<2>" LOC = "p67" | DRIVE = 2 ; # Bank = 2, Signal name = RED2
|
63 |
|
|
NET "VGARED<1>" LOC = "p68" | DRIVE = 2 ; # Bank = 2, Signal name = RED1
|
64 |
|
|
NET "VGARED<0>" LOC = "p70" | DRIVE = 2 ; # Bank = 2, Signal name = RED0
|
65 |
|
|
NET "VGAGREEN<2>" LOC = "p50" | DRIVE = 2 ; # Bank = 2, Signal name = GRN2
|
66 |
|
|
NET "VGAGREEN<1>" LOC = "p51" | DRIVE = 2 ; # Bank = 2, Signal name = GRN1
|
67 |
|
|
NET "VGAGREEN<0>" LOC = "p52" | DRIVE = 2 ; # Bank = 2, Signal name = GRN0
|
68 |
|
|
NET "VGABLUE<1>" LOC = "p43" | DRIVE = 2 ; # Bank = 2, Signal name = BLU2
|
69 |
|
|
NET "VGABLUE<0>" LOC = "p44" | DRIVE = 2 ; # Bank = 2, Signal name = BLU1
|
70 |
|
|
|
71 |
|
|
# Pin assignment for Expansion Ports
|
72 |
|
|
|
73 |
|
|
NET "JA_1" LOC = "p81" | DRIVE = 6 ;
|
74 |
|
|
NET "JA_2" LOC = "p91" | DRIVE = 6 ;
|
75 |
|
|
NET "JA_3" LOC = "p82" | DRIVE = 6 ;
|
76 |
|
|
NET "JA_4" LOC = "p92" | DRIVE = 6 ;
|
77 |
|
|
|
78 |
|
|
NET "JB_1" LOC = "p87" ;
|
79 |
|
|
NET "JB_2" LOC = "p93" ;
|
80 |
|
|
NET "JB_3" LOC = "p88" ;
|
81 |
|
|
NET "JB_4" LOC = "p94" ;
|
82 |
|
|
|
83 |
|
|
NET "JC_1" LOC = "p77" ;
|
84 |
|
|
NET "JC_2" LOC = "p86" ;
|
85 |
|
|
NET "JC_3" LOC = "p76" ;
|
86 |
|
|
NET "JC_4" LOC = "p85" ;
|
87 |
|
|
|
88 |
|
|
NET "RTS" LOC = "p75" ;
|
89 |
|
|
NET "CTS" LOC = "p59" ;
|
90 |
|
|
NET "RXD" LOC = "p74" ;
|
91 |
|
|
NET "TXD" LOC = "p58" ;
|