proteus中如何添加8259A仿真
proteus中如何添加8259A仿真??
[解决办法]
用ultraedit打开82xx.dll查找8259的ASCII码,再查8255的,看长度像是有定义,Proteus中的825x库里面仅有8259不带A,可以自建一个与8259同样但不同名的原件8259A试试
再看Proteus中分别右键decompose 8255A和8259 再双击其 name
{*DEVICE}
NAME=8255A
{PREFIX=U}
{DATA=pdfs/micro/82c55a.pdf}
{*PROPDEFS}
{PACKAGE="PCB Package",PACKAGE,0}
{PRIMITIVE="Primitive Type",HIDDEN STRING}
{MODDLL="VSM Model DLL",HIDDEN STRING}
{ITFMOD="Interface Model",HIDDEN STRING}
{PORTDHL="Delay High to Low",ADVANCED FLOAT,POZ}
{PORTDLH="Delay Low to High",ADVANCED FLOAT,POZ}
{*INDEX}
{CAT=Microprocessor ICs}
{SUBCAT=Peripherals}
{DESC=Programmable Peripheral Interface with 24 I/O Lines}
{MFR=Intel}
{*COMPONENT}
{PACKAGE=DIL40}
{PRIMITIVE=DIGITAL,8255}
{MODDLL=82XX.DLL}
{ITFMOD=CMOS}
{PORTDHL=20n}
{PORTDLH=20n}
{*DEVICE}
NAME=8259
{PREFIX=U}
{DATA=pdfs/micro/8259a.pdf}
{*PROPDEFS}
{PRIMITIVE="Simulator Primitive",HIDDEN STRING}
{MODDLL="VSM Model",HIDDEN STRING}
{TRACE_GENERAL="General",HIDDEN TRACEMODE}
{TRACE_TIMINGS="Timings",HIDDEN TRACEMODE}
{TRACE_COMMANDS="Commands",HIDDEN TRACEMODE}
{PACKAGE="PCB Package",PACKAGE,2,DIL28,PLCC28}
{*INDEX}
{CAT=Microprocessor ICs}
{SUBCAT=Peripherals}
{MFR=Intel}
{DESC=Programmable Interrupt Controller}
{*COMPONENT}
{PRIMITIVE=DIGITAL}
{MODDLL=82XX.DLL}
{PACKAGE=DIL28}
{TRACE_GENERAL=3}
{TRACE_COMMANDS=3}
{*PINOUT DIL28}
{ELEMENTS=1}
{PIN "$CS$" = 1}
{PIN "$INTA$" = 26}
{PIN "$RD$" = 3}
{PIN "$SP$/$EN$" = 16}
{PIN "$WR$" = 2}
{PIN "A0" = 27}
{PIN "CAS[0..2]" = 12,13,15}
{PIN "D[0..7]" = 11,10,9,8,7,6,5,4}
{PIN "INT" = 17}
{PIN "IR0" = 18}
{PIN "IR1" = 19}
{PIN "IR2" = 20}
{PIN "IR3" = 21}
{PIN "IR4" = 22}
{PIN "IR5" = 23}
{PIN "IR6" = 24}
{PIN "IR7" = 25}
{PP (GND) = 14}
{PP (VCC) = 28}
{COMMON=GND,VCC}
{*PINOUT PLCC28}
{ELEMENTS=1}
{PIN "$CS$" = 1}
{PIN "$INTA$" = 26}
{PIN "$RD$" = 3}
{PIN "$SP$/$EN$" = 16}
{PIN "$WR$" = 2}
{PIN "A0" = 27}
{PIN "CAS[0..2]" = 12,13,15}
{PIN "D[0..7]" = 11,10,9,8,7,6,5,4}
{PIN "INT" = 17}
{PIN "IR0" = 18}
{PIN "IR1" = 19}
{PIN "IR2" = 20}
{PIN "IR3" = 21}
{PIN "IR4" = 22}
{PIN "IR5" = 23}
{PIN "IR6" = 24}
{PIN "IR7" = 25}
{PP (GND) = 14}
{PP (VCC) = 28}
{COMMON=GND,VCC
8255A的是 {PRIMITIVE=DIGITAL,8255}
而8259的是 {PRIMITIVE=DIGITAL}
楼主可以在decompose下对照更改后再封装一下试试
声明:尚未仿真成功