| 1 |
//Copyright (C)2014-2019 Gowin Semiconductor Corporation. |
| 2 |
//All rights reserved. |
| 3 |
//File Title: Physical Constraints file |
| 4 |
//GOWIN Version: V1.9.1.01Beta |
| 5 |
|
| 6 |
IO_LOC "clk" 35; |
| 7 |
IO_PORT "clk" IO_TYPE=LVCMOS33; |
| 8 |
IO_LOC "clk_i" 35; |
| 9 |
IO_PORT "clk_i" IO_TYPE=LVCMOS33; |
| 10 |
|
| 11 |
IO_LOC "TXD" 15; |
| 12 |
IO_PORT "TXD" IO_TYPE=LVCMOS33 PULL_MODE=UP; |
| 13 |
IO_LOC "RXD" 16; |
| 14 |
IO_PORT "RXD" IO_TYPE=LVCMOS33 PULL_MODE=UP; |
| 15 |
|
| 16 |
IO_LOC "rst_i" 77; |
| 17 |
IO_PORT "rst_i" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 18 |
IO_LOC "key_i" 68; |
| 19 |
IO_PORT "key_i" IO_TYPE=LVCMOS33 PULL_MODE=UP; |
| 20 |
IO_LOC "sd_out" 47; // PMOD header pin 1 |
| 21 |
IO_PORT "sd_out" IO_TYPE=LVCMOS33; |
| 22 |
IO_LOC "led[0]" 86; |
| 23 |
IO_PORT "led[0]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 24 |
IO_LOC "led[1]" 85; |
| 25 |
IO_PORT "led[1]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 26 |
IO_LOC "led[2]" 84; |
| 27 |
IO_PORT "led[2]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 28 |
IO_LOC "led[3]" 83; |
| 29 |
IO_PORT "led[3]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 30 |
IO_LOC "led[4]" 82; |
| 31 |
IO_PORT "led[4]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 32 |
IO_LOC "led[5]" 81; |
| 33 |
IO_PORT "led[5]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 34 |
IO_LOC "led[6]" 80; |
| 35 |
IO_PORT "led[6]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 36 |
IO_LOC "led[7]" 79; |
| 37 |
IO_PORT "led[7]" IO_TYPE=LVCMOS33 PULL_MODE=NONE; |
| 38 |
|
| 39 |
IO_LOC "LCD_CLK" 29; |
| 40 |
IO_PORT "LCD_CLK" IO_TYPE=LVCMOS33; |
| 41 |
IO_LOC "LCD_DEN" 30; |
| 42 |
IO_PORT "LCD_DEN" IO_TYPE=LVCMOS33; |
| 43 |
IO_LOC "LCD_HYNC" 31; |
| 44 |
IO_PORT "LCD_HYNC" IO_TYPE=LVCMOS33; |
| 45 |
IO_LOC "LCD_SYNC" 32; |
| 46 |
IO_PORT "LCD_SYNC" IO_TYPE=LVCMOS33; |
| 47 |
IO_LOC "LCD_XR" 33; |
| 48 |
IO_PORT "LCD_XR" IO_TYPE=LVCMOS33; |
| 49 |
IO_LOC "LCD_XL" 34; |
| 50 |
IO_PORT "LCD_XL" IO_TYPE=LVCMOS33; |
| 51 |
|
| 52 |
// oser |
| 53 |
IO_LOC "oser_out" 86; |
| 54 |
IO_PORT "oser_out" IO_TYPE=LVCMOS33; |
| 55 |
IO_LOC "io16" 86; |
| 56 |
IO_PORT "io16" IO_TYPE=LVCMOS33; |
| 57 |
IO_LOC "pclk_o" 81; |
| 58 |
IO_PORT "pclk_o" IO_TYPE=LVCMOS33; |
| 59 |
IO_LOC "fclk_o" 80; |
| 60 |
IO_PORT "fclk_o" IO_TYPE=LVCMOS33; |
| 61 |
|
| 62 |
// ides |
| 63 |
IO_LOC "fclk_i" 18; |
| 64 |
IO_PORT "fclk_i" IO_TYPE=LVCMOS33; |
| 65 |
IO_LOC "iem_i" 86; |
| 66 |
IO_PORT "iem_i" IO_TYPE=LVCMOS33; |
| 67 |
IO_LOC "data_i" 71; |
| 68 |
IO_PORT "data_i" IO_TYPE=LVCMOS33; |
| 69 |
IO_LOC "q_o[0]" 20; |
| 70 |
IO_PORT "q_o[0]" IO_TYPE=LVCMOS33; |
| 71 |
IO_LOC "q_o[1]" 25; |
| 72 |
IO_PORT "q_o[1]" IO_TYPE=LVCMOS33; |
| 73 |
IO_LOC "q_o[2]" 26; |
| 74 |
IO_PORT "q_o[2]" IO_TYPE=LVCMOS33; |
| 75 |
IO_LOC "q_o[3]" 27; |
| 76 |
IO_PORT "q_o[3]" IO_TYPE=LVCMOS33; |
| 77 |
IO_LOC "q_o[4]" 28; |
| 78 |
IO_PORT "q_o[4]" IO_TYPE=LVCMOS33; |
| 79 |
IO_LOC "q_o[5]" 29; |
| 80 |
IO_PORT "q_o[5]" IO_TYPE=LVCMOS33; |
| 81 |
IO_LOC "q_o[6]" 30; |
| 82 |
IO_PORT "q_o[6]" IO_TYPE=LVCMOS33; |
| 83 |
IO_LOC "q_o[7]" 31; |
| 84 |
IO_PORT "q_o[7]" IO_TYPE=LVCMOS33; |
| 85 |
|
| 86 |
// true LVDS pins |
| 87 |
IO_LOC "tlvds_p" 29; |
| 88 |
IO_PORT "tlvds_p" IO_TYPE=LVDS25; |
| 89 |
IO_LOC "tlvds_n" 30; |
| 90 |
IO_PORT "tlvds_n" IO_TYPE=LVDS25; |
| 91 |
|
| 92 |
IO_LOC "elvds_p" 71; |
| 93 |
IO_PORT "elvds_p" IO_TYPE=LVDS25E; |
| 94 |
IO_LOC "elvds_n" 70; |
| 95 |
IO_PORT "elvds_n" IO_TYPE=LVDS25E; |