This paper begins with a profound analysis of the PCI bus specification,and then brings forward an implementation scheme of high-speed master card based on PCI bus which takes PCI9054 as the PCI bus interface chip.This paper comprises two main parts:hardware systerm design and device driver design.In the part of hardware design,the hardware system is made up of PCI bus interface PCI9054, peripheral microprocessor, serial EEPROM, Complex Programmable Logic Device, level conversion chip and so on.the PCI9054 local timing matching and compatible level is essential.This paper chose microprocessor 80C196KC to as the local processor.but the processor's timing is different from PCI9054 local timing. chose CPLD chip EPM3032ALC44-4 to transform timing,make use of Quartusâ…¡and Modelsim carrying through a lot of simulations to keep timing matching. There are 3V and 5V level signal on the master card, by way of carrying out accurate and steady communications,must be carry out level compatibility.The design used special level transfrom chip,Complex Programmable Logic Device,Photo-Coupler to tranform level. In addition,this paper introduced the configuration method of EEPROM. In the part of driver design, introduced mainly the principle andDevelopment tools of driver program. Accomplished write/read and interrupt driver program design.At last, studied the communications between master card and target card, analysed and studied target code automation build.
|