首页->【CrazyBingo教你玩FPGA】

26 0

Bingo哥把VIP_Board Big的原理图分享给大家


VIP_Board Big V3.7 SCH.pdf


PIN TCL

#Global clock

#50MHz

    set_location_assignment PIN_E16 -to clk 

    set_location_assignment PIN_M2 -to rst_n


#74HC595 LED Interface

    set_location_assignment PIN_L11 -to led595_clk

    set_location_assignment PIN_L13 -to led595_dout

    set_location_assignment PIN_L14 -to led595_latch


#STM8 SPI Communication Interface

    set_location_assignment PIN_M16 -to spi_sck

    set_location_assignment PIN_E15 -to spi_mosi

    set_location_assignment PIN_M15 -to spi_cs

    set_location_assignment PIN_K10 -to spi_miso



#Signal KEY Interface

    set_location_assignment PIN_R8 -to key_data[0]         

    set_location_assignment PIN_T8 -to key_data[1]     

    set_location_assignment PIN_T9 -to key_data[2]

    set_location_assignment PIN_R9 -to key_data[3] 


#Matrix KEY Interface

    set_location_assignment PIN_K1 -to col_data[3]

    set_location_assignment PIN_L1 -to col_data[1]  

    set_location_assignment PIN_L2 -to col_data[2]

    set_location_assignment PIN_N1 -to col_data[0]  

    set_location_assignment PIN_N2 -to row_data[3]  

    set_location_assignment PIN_P1 -to row_data[2]  

    set_location_assignment PIN_P2 -to row_data[1]  

    set_location_assignment PIN_R1 -to row_data[0]


#UART Interface

    set_location_assignment PIN_L3 -to fpga_txd

    set_location_assignment PIN_L4  -to fpga_rxd


#LCD1602 Interface

    set_location_assignment PIN_G2 -to LCD1602_EN

    set_location_assignment PIN_F2 -to LCD1602_RS

    set_location_assignment PIN_F1 -to LCD1602_RW

    set_location_assignment PIN_L6 -to LCD1602_D[7]

    set_location_assignment PIN_L8 -to LCD1602_D[6]

    set_location_assignment PIN_K5 -to LCD1602_D[5]

    set_location_assignment PIN_K6 -to LCD1602_D[4]

    set_location_assignment PIN_K2 -to LCD1602_D[3]

    set_location_assignment PIN_J1 -to LCD1602_D[2]

    set_location_assignment PIN_J2 -to LCD1602_D[1]

    set_location_assignment PIN_G1 -to LCD1602_D[0]



#VGA/LCD Interface

    set_location_assignment PIN_J13 -to lcd_dclk

    set_location_assignment PIN_J12 -to lcd_blank

    set_location_assignment PIN_K9 -to lcd_vs 

    set_location_assignment PIN_J14 -to lcd_hs

    set_location_assignment PIN_D16 -to lcd_red[7]

    set_location_assignment PIN_D15 -to lcd_red[6]

    set_location_assignment PIN_C16 -to lcd_red[5]

    set_location_assignment PIN_C15 -to lcd_red[4]

    set_location_assignment PIN_B16 -to lcd_red[3]

    set_location_assignment PIN_G11 -to lcd_red[2]

    set_location_assignment PIN_F13 -to lcd_red[1]

    set_location_assignment PIN_F14 -to lcd_red[0]

    set_location_assignment PIN_K16 -to lcd_green[7]

    set_location_assignment PIN_K15 -to lcd_green[6]

    set_location_assignment PIN_J16 -to lcd_green[5]

    set_location_assignment PIN_J15 -to lcd_green[4]

    set_location_assignment PIN_G16 -to lcd_green[3]

    set_location_assignment PIN_G15 -to lcd_green[2]

    set_location_assignment PIN_F16 -to lcd_green[1]

    set_location_assignment PIN_F15 -to lcd_green[0]

    set_location_assignment PIN_P15 -to lcd_blue[7]

    set_location_assignment PIN_P16 -to lcd_blue[6]

    set_location_assignment PIN_N15 -to lcd_blue[5]

    set_location_assignment PIN_N16 -to lcd_blue[4]

    set_location_assignment PIN_L10 -to lcd_blue[3]

    set_location_assignment PIN_M11 -to lcd_blue[2]

    set_location_assignment PIN_L15 -to lcd_blue[1]

    set_location_assignment PIN_L16 -to lcd_blue[0]



#SDRAM Interafce

    set_location_assignment PIN_P9 -to sdram_clk 

    set_location_assignment PIN_N9 -to sdram_cke 

    set_location_assignment PIN_T7 -to sdram_cs_n

    set_location_assignment PIN_T11 -to sdram_we_n

    set_location_assignment PIN_R10 -to sdram_cas_n

    set_location_assignment PIN_T10 -to sdram_ras_n

    set_location_assignment PIN_T6 -to sdram_ba[1]  

    set_location_assignment PIN_R6 -to sdram_ba[0] 

    set_location_assignment PIN_R7 -to sdram_addr[11]  

    set_location_assignment PIN_T5 -to sdram_addr[10]

    set_location_assignment PIN_M9 -to sdram_addr[9] 

    set_location_assignment PIN_M8 -to sdram_addr[8]

    set_location_assignment PIN_N8 -to sdram_addr[7]   

    set_location_assignment PIN_P8 -to sdram_addr[6]

    set_location_assignment PIN_L7 -to sdram_addr[5]

    set_location_assignment PIN_M7 -to sdram_addr[4]

    set_location_assignment PIN_P6 -to sdram_addr[3] 

    set_location_assignment PIN_R4 -to sdram_addr[2] 

    set_location_assignment PIN_T4 -to sdram_addr[1] 

    set_location_assignment PIN_R5 -to sdram_addr[0]

    set_location_assignment PIN_M6 -to sdram_data[23]

    set_location_assignment PIN_P3 -to sdram_data[22]

    set_location_assignment PIN_N3 -to sdram_data[21]

    set_location_assignment PIN_N5 -to sdram_data[20]

    set_location_assignment PIN_N6 -to sdram_data[19] 

    set_location_assignment PIN_T2 -to sdram_data[18]

    set_location_assignment PIN_R3 -to sdram_data[17]

    set_location_assignment PIN_T3 -to sdram_data[16]

    set_location_assignment PIN_R16 -to sdram_data[15]

    set_location_assignment PIN_P14 -to sdram_data[14]

    set_location_assignment PIN_N14 -to sdram_data[13]

    set_location_assignment PIN_N12 -to sdram_data[12]  

    set_location_assignment PIN_N11 -to sdram_data[11]

    set_location_assignment PIN_P11 -to sdram_data[10]

    set_location_assignment PIN_M10 -to sdram_data[9]

    set_location_assignment PIN_L9 -to sdram_data[8]

    set_location_assignment PIN_R11 -to sdram_data[7] 

    set_location_assignment PIN_T12 -to sdram_data[6]

    set_location_assignment PIN_R12 -to sdram_data[5]

    set_location_assignment PIN_T13 -to sdram_data[4]

    set_location_assignment PIN_R13 -to sdram_data[3]

    set_location_assignment PIN_T14 -to sdram_data[2]

    set_location_assignment PIN_R14 -to sdram_data[1]

    set_location_assignment PIN_T15 -to sdram_data[0]



#OV7725 Interface

    set_location_assignment PIN_B14 -to cmos_sclk

    set_location_assignment PIN_A15 -to cmos_sdat

    set_location_assignment PIN_A9 -to cmos_pclk   

    set_location_assignment PIN_B13 -to cmos_xclk

    set_location_assignment PIN_A8 -to cmos_vsync 

    set_location_assignment PIN_B9 -to cmos_href

    set_location_assignment PIN_A14 -to cmos_data[7]  

    set_location_assignment PIN_A13 -to cmos_data[6]

    set_location_assignment PIN_B12 -to cmos_data[5] 

    set_location_assignment PIN_A10 -to cmos_data[4]  

    set_location_assignment PIN_A11 -to cmos_data[3]

    set_location_assignment PIN_A12 -to cmos_data[2] 

    set_location_assignment PIN_B11 -to cmos_data[1]  

    set_location_assignment PIN_B10 -to cmos_data[0]

    set_location_assignment PIN_C14 -to cmos_ctl0

    set_location_assignment PIN_D14 -to cmos_ctl1

    set_location_assignment PIN_D12 -to cmos_ctl2


#User IO

    set_locatUser_IOn_assignment PIN_G5 -to User_IO[0] 

    set_locatUser_IOn_assignment PIN_F3 -to User_IO[1]   

    set_locatUser_IOn_assignment PIN_D1 -to User_IO[2]   

    set_locatUser_IOn_assignment PIN_C3  -to User_IO[3]            

    set_locatUser_IOn_assignment PIN_D3  -to User_IO[4]   

    set_locatUser_IOn_assignment PIN_C2 -to User_IO[5]

    set_locatUser_IOn_assignment PIN_B1 -to User_IO[6]

    set_locatUser_IOn_assignment PIN_A2  -to User_IO[7]       

    set_locatUser_IOn_assignment PIN_B3  -to User_IO[8]        

    set_locatUser_IOn_assignment PIN_A3  -to User_IO[9] 

    set_locatUser_IOn_assignment PIN_B4  -to User_IO[10] 

    set_locatUser_IOn_assignment PIN_A4  -to User_IO[11]            

    set_locatUser_IOn_assignment PIN_B5  -to User_IO[12]              

    set_locatUser_IOn_assignment PIN_A5  -to User_IO[13]  

    set_locatUser_IOn_assignment PIN_B6  -to User_IO[14]            

    set_locatUser_IOn_assignment PIN_A6  -to User_IO[15] 

    set_locatUser_IOn_assignment PIN_B7  -to User_IO[16]             

    set_locatUser_IOn_assignment PIN_A7  -to User_IO[17]             

    set_locatUser_IOn_assignment PIN_D5  -to User_IO[18]  

    set_locatUser_IOn_assignment PIN_E6  -to User_IO[19]

    set_locatUser_IOn_assignment PIN_C6  -to User_IO[20] 

    set_locatUser_IOn_assignment PIN_D6  -to User_IO[21]

    set_locatUser_IOn_assignment PIN_E7  -to User_IO[22]            

    set_locatUser_IOn_assignment PIN_C8  -to User_IO[23]  

    set_locatUser_IOn_assignment PIN_D8  -to User_IO[24]             

    set_locatUser_IOn_assignment PIN_E8  -to User_IO[25]             

    set_locatUser_IOn_assignment PIN_F8  -to User_IO[26] 

    set_locatUser_IOn_assignment PIN_F9 -to User_IO[27]         

    set_locatUser_IOn_assignment PIN_E9 -to User_IO[28]           

    set_locatUser_IOn_assignment PIN_D9 -to User_IO[29]          

    set_locatUser_IOn_assignment PIN_C9  -to User_IO[30]     

    set_locatUser_IOn_assignment PIN_E10 -to User_IO[31]        

    set_locatUser_IOn_assignment PIN_D11 -to User_IO[32]     

    set_locatUser_IOn_assignment PIN_C11 -to User_IO[33]   

    set_locatUser_IOn_assignment PIN_E11 -to User_IO[34]  

    set_locatUser_IOn_assignment PIN_K12 -to User_IO[35] 



作者于2017-05-12 10:06:47修改!
楼主可见