⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 combine.ab0

📁 一个基于XMODEM协议的下载字库的程序
💻 AB0
字号:
module combine
LCD_EN PIN 21;
SCK PIN 22; "GP I/O
KEYSELECT PIN 26; "GP I/O
Y0102 PIN 28;
Y02 PIN 32;
Y01 PIN 34;
la0 PIN 35; "Latched address out - low byte
PTT PIN 66; "GP I/O
SW3 PIN 73; "GP I/O
SW2 PIN 74; "GP I/O
KC1 PIN 76; "GP I/O
KB1 PIN 78; "GP I/O
KA1 PIN 80; "GP I/O
EN8870 PIN 5;
tdo PIN 6; "TDO
tdi PIN 7; "TDI
_terr PIN 9; "/TERR
tstat PIN 14; "TSTAT
EN922 PIN 15;
tck PIN 16; "TCK
tms PIN 20;  "TMS
INT922_REV PIN 1;
INT922_IN PIN 3;
ale PIN 4; "ALE output
BACKLIGHT PIN 18; "GP I/O
p4_6 PIN 19; "GP I/O
p4_5 PIN 23; "GP I/O
p4_4 PIN 25; "GP I/O
LCD_RST PIN 30; "GP I/O
CDMA_RST PIN 31; "GP I/O
GPS_RST PIN 33; "GP I/O
HOLD PIN 46; "GP I/O
SCI PIN 44; "GP I/O
SDI PIN 42; "GP I/O
SDO PIN 40; "GP I/O
INT922 PIN 2; "Int1 or Timer1 Gate
DTMF_INT PIN 79; "Int0 or Timer0 Gate
GPS_TxD PIN 77; "UART1 TxD
GPS_RxD PIN 75; "UART1 RxD
RUN_LIGHT PIN 64; "GP I/O
BEEP PIN 61; "GP I/O
GREEN_LIGHT PIN 60; "GP I/O
RED_LIGHT PIN 59; "GP I/O
CDMA_TxD PIN 58; "UART2 TxD
CDMA_RxD PIN 56; "UART2 RxD
p1_1 PIN 54; "GP I/O
CDMAONOFF PIN 52; "GP I/O
a11 PIN 57; "Address line
a10 PIN 55; "Address line
a9 PIN 53; "Address line
a8 PIN 51; "Address line
a7 PIN 47;  "Data/address bus line
a6 PIN 45;  "Data/address bus line
a5 PIN 43;  "Data/address bus line
a4 PIN 41;  "Data/address bus line
a3 PIN 39;  "Data/address bus line
a2 PIN 38;  "Data/address bus line
a1 PIN 37;  "Data/address bus line
a0 PIN 36;  "Data/address bus line
_Reset_In PIN 68;
VREF PIN 70; "VREF input
_rd PIN 65;
_psen PIN 63;
_wr PIN 62;
USB_minus PIN 8; "USB- bus
USB_plus PIN 10; "USB+ bus
Xtal1 PIN 48; "Xtal1
Xtal2 PIN 49; "Xtal2
rs0 node;
csiop node;
fs0 node;
fs1 node;
_reset node 543;
a12 node 512;
a13 node 513;
a14 node 514;
a15 node 515;
pgr2..pgr0 node;
jtagsel node;

X = .x.;
address = [a15..a0];
page = [pgr2..pgr0];
Vcc = 1;
Gnd = 0;


// Begin user preserved declarations (not affected by iterations of DA usage) ===================

// End user preserved declarations (not affected by iterations of DA usage) ===================



equations

jtagsel = !_reset;
rs0 = ((address >= ^h0200) & (address <= ^h81FF));
csiop = ((address >= ^h0000) & (address <= ^h00FF));
fs0 = ((address >= ^h0000) & (address <= ^h7FFF));
fs1 = ((address >= ^h8000) & (address <= ^hFFFF));
! LCD_EN = ((address >= ^h0100) & (address <= ^h0102) & (!_rd))
     # ((address >= ^h0100) & (address <= ^h0102) & (!_wr));
EN8870 = ((address >= ^h0105) & (address <= ^h0106) & (!_rd));
! EN922 = ((address >= ^h010A) & (address <= ^h011F) & (!_rd));
Y0102 = !(Y01 & Y02);
Y0102.oe = Vcc;
INT922_REV = !INT922_IN;
INT922_REV.oe = Vcc;


// Begin user preserved equations (not affected by iterations of DA usage) ===================

// End user preserved equations (not affected by iterations of DA usage) ===================


end combine

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -