集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 1765|回复: 2

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

[复制链接]
昵小筑 发表于 2014-4-28 22:45:26 | 显示全部楼层 |阅读模式

        #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 -to  vga_vs
set_location_assignment PIN_113 -to  vga_hs
set_location_assignment PIN_100 -to  vga_b1
set_location_assignment PIN_101 -to  vga_b0
set_location_assignment PIN_104 -to  vga_g2
set_location_assignment PIN_103 -to  vga_g1
set_location_assignment PIN_105 -to  vga_g0
set_location_assignment PIN_106 -to  vga_r2
set_location_assignment PIN_110 -to  vga_r1
set_location_assignment PIN_111 -to  vga_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  -to  ad_clk
set_location_assignment PIN_87  -to  ad_dat
set_location_assignment PIN_98  -to  ad_cs                  
                 
# DA
set_location_assignment PIN_86  -to  da_data  
set_location_assignment PIN_85  -to  da_clk      
set_location_assignment PIN_84  -to  da_ldac
set_location_assignment PIN_83  -to  da_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 下一条

QQ|小黑屋|手机版|Archiver|fpga论坛|fpga设计论坛 ( 京ICP备20003123号-1 )

GMT+8, 2024-11-1 13:33 , Processed in 0.059234 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表