首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 常用文档 > CPU配置FPGA

CPU配置FPGA

资料介绍
CPU配置FPGA
广东省深圳市深南大道创展中心 1007 房间骏龙科技有限公司宋士权
Altera 中国区代理 -----骏龙科技有限公司 Field Application Engineer: sun song 收集整理
TEL: 13823390270 ; E-mail:suns@cytecht.com

8051 汇编语言 :
;How fast is the DCLK can go?
;in the range of 4 ~ 6 MHz
base_address equ 0 ; if define 00000h, this program compile ROM image.
; Internal RAM usage start at 20h
; address 20h-2fh are bit addressable area
; address 30h-7fh are byte addressable area
; P1.0 - DCLK (output)("0")
; P1.1 - CONF_DONE (input) ("1")
; P1.2 - nCONFIG (output) ("0")
; P1.3 - nSTATUS (input) ("1")
; P1.4 - DATA0 (output) ("0")
; P1.5 - Done (output) ("0")
; PROGRAM SEGMENT DEFINE
org 0h
power_up: ljmp start
org 30h
; INITIALIZE THE 82c31 INTERNAL REGISTER
start: clr psw.4 ; select bank 0 (00-07h)
clr psw.3
clr ea ; disable the global interrupt
mov sp,#50h ; set
CPU配置FPGA
本地下载

评论