📄 aspen.inc
字号:
;/******************************************************************************
; * File: aspen.inc
; * Author: Naresh Gupta (nkgupta@hotmail.com)
; * Date: Tuesday July 10, 2000
; * Organization: Hitachi Semiconductor America Inc.
; * Purpose: Will contain all definitions specific to bigsur
; *
; * Copyright (C) 2000 Hitachi Semiconductor America Inc.
; ******************************************************************************/
;/******************************************************************************
; * Important Note:-
; * ===============
; *
; * To properly view this file, you need to set tabstop=4 in your editor
; *****************************************************************************/
;// Base address of FPGA
UNCACH_OFFSET .equ h'20000000
FPGA_BASE .equ h'A4000000
;// LED Address
ALPHA_LED .equ (FPGA_BASE + h'00010000 + h'00000060)
LED_ALPHA .equ ALPHA_LED
HD64465_BASE .equ FPGA_BASE ;// HD64465
HD64464_BASE .equ FPGA_BASE ;// HD64464 if present.
HD64463_BASE .equ FPGA_BASE ;// Though no 463 present. No harm.
;// Common RAM area.: Driver Globals
DRAM_BASE .equ 0x8C000000 ;// RAM
DRV_GLOBAL_OFFSET .equ 0x00150000 ;// Driver Globals
DRV_GLOBAL_BASE .equ (DRAM_BASE + DRV_GLOBAL_OFFSET+UNCACH_OFFSET)
;// Value of TRUE/NULL
TRUE .equ 1
NULL .equ 0
/************************** FPGA Interrupt Mask and Status Register **********/
FPGA_IMASK .equ 0xA4040060
FPGA_ISTAT .equ 0xA4040070
/* No need to define ISTAT separately since the bit positions are the
* same as the imask register.
*/
FPGA_IMASK_APCI9 .equ 0x00800000
FPGA_IMASK_APCI8 .equ 0x00400000
FPGA_IMASK_APCI7 .equ 0x00200000
FPGA_IMASK_APCI6 .equ 0x00100000
FPGA_IMASK_APCI5 .equ 0x00080000
FPGA_IMASK_APCI4 .equ 0x00040000
FPGA_IMASK_APCI3 .equ 0x00020000
FPGA_IMASK_APCI2 .equ 0x00010000
FPGA_IMASK_IPCID .equ 0x00008000
FPGA_IMASK_IPCIE .equ 0x00004000
FPGA_IMASK_ILAN .equ 0x00002000
FPGA_IMASK_IV3 .equ 0x00000800
FPGA_IMASK_IV3T .equ 0x00000400
FPGA_IMASK_IPCIS .equ 0x00000200
FPGA_IMASK_IPCIP .equ 0x00000100
FPGA_IMASK_APCI .equ 0x00000080
FPGA_IMASK_IIDE .equ 0x00000020
FPGA_IMASK_IIO .equ 0x00000010
FPGA_IMASK_I465 .equ 0x00000008
FPGA_IMASK_I464 .equ 0x00000004
FPGA_IMASK_IRS2 .equ 0x00000002
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -