afei6969 发表于 2022-1-15 13:36:45

EP4CE10F17C8N.tcl


        #set_global_assignment -name FAMILY "Cyclone IV"
        #set_global_assignment -name DEVICE ep4ce10f17c8n

set_location_assignment PIN_E1    -to    clk        

# KEY 轻触按键
set_location_assignment PIN_L3    -to   key         
set_location_assignment PIN_L1    -to   key         
set_location_assignment PIN_J6    -to   key         
set_location_assignment PIN_N1    -to   key             
# LED
set_location_assignment PIN_T12   -to   LED         
set_location_assignment PIN_P8    -to   LED         
set_location_assignment PIN_M8    -to   LED         
set_location_assignment PIN_M10   -to   LED         
       
# PS2
set_location_assignment PIN_N8    -to    ps2_sclk         
set_location_assignment PIN_L8    -to    ps2_sda        
                                     
#BEEP 蜂鸣器                     
set_location_assignment PIN_P9    -to    beep
       
# 256色VGA
set_location_assignment PIN_A7    -tovga_vs
set_location_assignment PIN_A6    -tovga_hs
set_location_assignment PIN_C6    -tovga_b
set_location_assignment PIN_B5    -tovga_b
set_location_assignment PIN_E5    -tovga_g
set_location_assignment PIN_A4    -tovga_g
set_location_assignment PIN_D4    -tovga_g
set_location_assignment PIN_C3    -tovga_r
set_location_assignment PIN_B1    -tovga_r
set_location_assignment PIN_E8    -tovga_r         
      
   
         
# EEPROM
set_location_assignment PIN_L2    -to   eeprom_scl         
set_location_assignment PIN_L4    -to   eeprom_sda   
         
# SEG7 x 8 七段数码管
set_location_assignment PIN_L6    -to   sel
set_location_assignment PIN_N6    -to   sel
set_location_assignment PIN_M7    -to   sel
set_location_assignment PIN_T11   -to   seg   
set_location_assignment PIN_T10   -to   seg   
set_location_assignment PIN_T9    -to   seg   
set_location_assignment PIN_T8    -to   seg   
set_location_assignment PIN_T7    -to   seg   
set_location_assignment PIN_T6    -to   seg   
set_location_assignment PIN_T5    -to   seg   
set_location_assignment PIN_T4    -to   seg
   
# SDRAM
set_location_assignment PIN_J15   -to a
set_location_assignment PIN_N14   -to a
set_location_assignment PIN_P14   -to a
set_location_assignment PIN_N13   -to a
set_location_assignment PIN_T14   -to a
set_location_assignment PIN_L13   -to a
set_location_assignment PIN_L12   -to a
set_location_assignment PIN_L14   -to a
set_location_assignment PIN_K12   -to a
set_location_assignment PIN_J13   -to a
set_location_assignment PIN_J16   -to a
set_location_assignment PIN_J12   -to a
set_location_assignment PIN_G15   -to ba
set_location_assignment PIN_J14   -to ba
set_location_assignment PIN_F9    -to dom
set_location_assignment PIN_C15   -to dom
set_location_assignment PIN_K11   -to scke
set_location_assignment PIN_J11   -to sclk
set_location_assignment PIN_D16   -to nwe
set_location_assignment PIN_F16   -to nscas
set_location_assignment PIN_F15   -to ncras
set_location_assignment PIN_G16   -to nscs
set_location_assignment PIN_A12   -to dq
set_location_assignment PIN_B12   -to dq
set_location_assignment PIN_A13   -to dq
set_location_assignment PIN_A14   -to dq
set_location_assignment PIN_B14   -to dq
set_location_assignment PIN_A15   -to dq
set_location_assignment PIN_B16   -to dq
set_location_assignment PIN_C16   -to dq
set_location_assignment PIN_F10   -to dq
set_location_assignment PIN_F14   -to dq
set_location_assignment PIN_G11   -to dq
set_location_assignment PIN_F13   -to dq
set_location_assignment PIN_D14   -to dq
set_location_assignment PIN_C14   -to dq
set_location_assignment PIN_F11   -to dq
set_location_assignment PIN_D12   -to dq   

# CY7C68013A   
set_location_assignment PIN_A5    -to u_ifclk
set_location_assignment PIN_J2    -to usb_address
set_location_assignment PIN_P2    -to usb_address
set_location_assignment PIN_R10   -to usb_data
set_location_assignment PIN_R11   -to usb_data
set_location_assignment PIN_R12   -to usb_data
set_location_assignment PIN_L7    -to usb_data
set_location_assignment PIN_P6    -to usb_data
set_location_assignment PIN_M6    -to usb_data
set_location_assignment PIN_R3    -to usb_data
set_location_assignment PIN_T2    -to usb_data
set_location_assignment PIN_D3    -to usb_data
set_location_assignment PIN_A3    -to usb_data
set_location_assignment PIN_B3    -to usb_data
set_location_assignment PIN_B4    -to usb_data
set_location_assignment PIN_R4    -to usb_data
set_location_assignment PIN_R5    -to usb_data
set_location_assignment PIN_R6    -to usb_data
set_location_assignment PIN_R7    -to usb_data
set_location_assignment PIN_N2    -to usb_flagb
set_location_assignment PIN_N3    -to usb_flagc
set_location_assignment PIN_P3    -to usb_sloe_n
set_location_assignment PIN_R9    -to usb_slrd_n
set_location_assignment PIN_R8    -to usb_slwr_n

# KEY_BORD
set_location_assignment PIN_L15   -to col
set_location_assignment PIN_N15   -to col
set_location_assignment PIN_P15   -to col
set_location_assignment PIN_T15   -to col
set_location_assignment PIN_R14   -to row
set_location_assignment PIN_R16   -to row
set_location_assignment PIN_P16   -to row
set_location_assignment PIN_N16   -to row

# LCD1602
set_location_assignment PIN_R14   -to d
set_location_assignment PIN_T15   -to d
set_location_assignment PIN_R16   -to d
set_location_assignment PIN_P15   -to d
set_location_assignment PIN_P16   -to d
set_location_assignment PIN_N15   -to d
set_location_assignment PIN_N16   -to d
set_location_assignment PIN_L15   -to d
set_location_assignment PIN_L16   -to e
set_location_assignment PIN_K16   -to r_s
set_location_assignment PIN_K15   -to r_w

# LCD12864
set_location_assignment PIN_R1    -to po_res
set_location_assignment PIN_T3    -to po_cs
set_location_assignment PIN_J1    -to po_rs
set_location_assignment PIN_P1    -to po_scl
set_location_assignment PIN_K6    -to po_sda

# DM9000A
set_location_assignment PIN_C9    -to sd
set_location_assignment PIN_B9    -to sd
set_location_assignment PIN_E10   -to sd
set_location_assignment PIN_A10   -to sd
set_location_assignment PIN_B10   -to sd
set_location_assignment PIN_E11   -to sd
set_location_assignment PIN_B11   -to sd
set_location_assignment PIN_D11   -to sd
set_location_assignment PIN_B7    -to sd
set_location_assignment PIN_E6    -to sd
set_location_assignment PIN_A8    -to sd
set_location_assignment PIN_D8    -to sd
set_location_assignment PIN_B8    -to sd
set_location_assignment PIN_E9    -to sd
set_location_assignment PIN_D9    -to sd
set_location_assignment PIN_A9    -to sd
set_location_assignment PIN_C8    -to cmd
set_location_assignment PIN_B6    -to ior
set_location_assignment PIN_D6    -to iow
set_location_assignment PIN_D5    -to cs
set_location_assignment PIN_A11   -to rst
set_location_assignment PIN_C11   -to int

set_location_assignment PIN_K1    -to    rst_n        
       
# UART
set_location_assignment PIN_K5    -to    rs232_rx      
set_location_assignment PIN_K2    -to    rs232_tx

durongze 发表于 2023-5-5 15:16:28

这个板子的用户手册在哪里下载呢?
页: [1]
查看完整版本: EP4CE10F17C8N.tcl