GJB289A bus is one of the most used air bus now. GJB289A bus simulation equipment is required to complete the system's functional verification and testing in the avionics simulation system. Traditional GJB289A bus simulation equipment generally use the underlying communication card + top model simulation software. Cause of the delay between computer software and communications card, the real-time of the simulation is not good. The purpose of this paper is to develop intelligent GJB289A simulation equipment, with simulation software running on the card directly, which effectively improves the real-time of the simulation; loading simulate algorithms on-line,updata the programme of data processing, which improves the flexibility of the system.This paper has studied the PCI bus standard and GJB289A bus standard, and designs the method based on DSP and FPGA to achieve PCI-bus intelligent GJB289A simulator. Through the DSP embedded PCI interface module, using the PCI interface, loads procedures online, updates simulation processing algorithms online, and use the CPU on board to process GJB289A bus data rapidly, increased flexibility and real-time of the simulation system. Within the FPGA achieve GJB289A bus interface protocol implemented, including the Manchester encoding and decoding modules, protocol processing module, data buffer FIFO, register control,meet the GJB289A bus interface standard. The control method of interface logic is simple, and easy to transplant to other GJB289A bus system; designs the GJB289A bus analog transceiver, replacing the foreign chip, reducing system design costs, increased flexibility of the system and product function expansion.Using WinDriver develops PCI hardware drivers, completes the equipment initialization, reading and writing to the port and interrupt response to the call; using VC++, develops the PC program, PC through the PCI interface loads the DSP program online to update data processing algorithm, which effectively control the data communication between the intelligent simulator and PC.Finally, test the intelligent simulator, the results show that the functionality and performance of the simulator is meet the technical requirements for data processing algorithms can be loaded online and GJB289A bus data communication. |