昵小筑 发表于 2014-4-28 22:45:26

至芯科技 ZX-2 FPGA开发板脚本文件


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

# UART
set_location_assignment PIN_76-to    rs232_rs      
set_location_assignment PIN_75-to    rs232_tx
       
# LED
set_location_assignment PIN_136 -to   LED1         
set_location_assignment PIN_135 -to   LED2         
set_location_assignment PIN_133 -to   LED3         
set_location_assignment PIN_132 -to   LED4         
       
# PS2
set_location_assignment PIN_80-to    ps2_sclk         
set_location_assignment PIN_77-to    ps2_sda        
       
#BEEP 蜂鸣器
set_location_assignment PIN_68-to   beep
       
# 256色VGA
set_location_assignment PIN_112 -tovga_vs
set_location_assignment PIN_113 -tovga_hs
set_location_assignment PIN_100 -tovga_b1
set_location_assignment PIN_101 -tovga_b0
set_location_assignment PIN_104 -tovga_g2
set_location_assignment PIN_103 -tovga_g1
set_location_assignment PIN_105 -tovga_g0
set_location_assignment PIN_106 -tovga_r2
set_location_assignment PIN_110 -tovga_r1
set_location_assignment PIN_111 -tovga_r0         
      
# KEY 轻触按键
set_location_assignment PIN_69-to   key1         
set_location_assignment PIN_70-to   key2         
set_location_assignment PIN_71-to   key3         
set_location_assignment PIN_72-to   key4            
         
# EEPROM
set_location_assignment PIN_73-to   eeprom_scl         
set_location_assignment PIN_74-to   eeprom_sda

# AD
set_location_assignment PIN_99-toad_clk
set_location_assignment PIN_87-toad_dat
set_location_assignment PIN_98-toad_cs                
               
# DA
set_location_assignment PIN_86-toda_data
set_location_assignment PIN_85-toda_clk      
set_location_assignment PIN_84-toda_ldac
set_location_assignment PIN_83-toda_load         
         
# SEG7 x 8 七段数码管
set_location_assignment PIN_119 -to   sel2
set_location_assignment PIN_115 -to   sel1
set_location_assignment PIN_114 -to   sel0
set_location_assignment PIN_127 -to   seg0   
set_location_assignment PIN_128 -to   seg1   
set_location_assignment PIN_124 -to   seg2   
set_location_assignment PIN_121 -to   seg3   
set_location_assignment PIN_120 -to   seg4   
set_location_assignment PIN_126 -to   seg5   
set_location_assignment PIN_129 -to   seg6   
set_location_assignment PIN_125 -to   seg7
   
# SDRAM
set_location_assignment PIN_64-to a0
set_location_assignment PIN_65-to a1
set_location_assignment PIN_66-to a2
set_location_assignment PIN_67-to a3
set_location_assignment PIN_34-to a4
set_location_assignment PIN_33-to a5
set_location_assignment PIN_32-to a6
set_location_assignment PIN_31-to a7
set_location_assignment PIN_30-to a8
set_location_assignment PIN_28-to a9
set_location_assignment PIN_60-to a10
set_location_assignment PIN_11-to a11
set_location_assignment PIN_58-to ba0
set_location_assignment PIN_59-to ba1
set_location_assignment PIN_51-to ldom
set_location_assignment PIN_3   -to udom
set_location_assignment PIN_10-to scke
set_location_assignment PIN_7   -to sclk
set_location_assignment PIN_52-to nwe
set_location_assignment PIN_53-to nscas
set_location_assignment PIN_54-to ncras
set_location_assignment PIN_55-to nscs
set_location_assignment PIN_38         -to dq0
set_location_assignment PIN_39         -to dq1
set_location_assignment PIN_42-to dq2
set_location_assignment PIN_43-to dq3
set_location_assignment PIN_44-to dq4
set_location_assignment PIN_46-to dq5
set_location_assignment PIN_49-to dq6
set_location_assignment PIN_50-to dq7
set_location_assignment PIN_2   -to dq8
set_location_assignment PIN_1   -to dq9
set_location_assignment PIN_144 -to dq10
set_location_assignment PIN_143 -to dq11
set_location_assignment PIN_142 -to dq12
set_location_assignment PIN_141 -to dq13
set_location_assignment PIN_138 -to dq14
set_location_assignment PIN_137 -to dq15   
   

508482294 发表于 2022-1-2 17:02:29

至芯科技 ZX-2 FPGA开发板脚本文件

大鹏 发表于 2022-1-14 18:38:22

至芯科技 ZX-2 FPGA开发板脚本文件
页: [1]
查看完整版本: 至芯科技 ZX-2 FPGA开发板脚本文件