Software Design for High Speed Data Transfer Card in Eb Exposure System

Author
SunQinLin
Advisor
QiZhengWei , SuiGuoRong
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TN919.5 Data processing systems and equipment
Degree
Master's thesis
Year
2010
Downloads
52
Citations
0

Request the full text

Abstract

When the control portion of the hardware and software in the development of an electron beam exposure system, according to the system design requirements, the need for data processing speed of 300MB / s or above, are due to the actual data processing unit by a high-speed field programmable gate array (Field Programmable Gate Array, referred FPGA) implemented in hardware, the speed of the data processing unit is sufficient to meet system requirements. The speed bottleneck of the system that the data transmission section, i.e., from the data server to transfer to the data processing unit. To solve this problem, the development of the actual system, the data server developed a specialized data transmission for high speed data transmission card. The data transfer card with a PCI Expres (sPeripheral Component Interconnect Express) interface for data communication with the host, and FPGA controller of Aurora through optical fiber and data processing unit for high-speed data transmission. High-speed data transmission card uses the PCI Express interface to communicate with the host PCI Express bus can provide enough bandwidth. Channel PCI Express 2.5Gbps bandwidth, the high-speed data transfer card with a x4 way, theoretically up to 1GB / s effective bandwidth. The actual development can not take full advantage of the bandwidth of the bus, but to achieve a 40% efficiency or guarantee that the equipment can reach at least the speed of 400MB / s card in the hardware layer, the data transmission to ensure that the goal of the system design. In software design, we must first develop a driver for the data transmission card. System data server using x86 <sub> 6 </ sub> 4 system architecture, and use the 64bit Linux operating systems. Therefore necessary in the Linux system for data transfer card development driver. Driver In addition to providing access to the hardware interface for the application, but also the appropriate drive the development of technology to ensure hardware performance is maximized. Card of the high-speed data transmission is the large amount of data via DMA (Direct Memory Access) mode and a data server host of high speed transmission. Driver handle DMA operation, the most important is a contiguous block of memory assigned physical address for DMA data transfer, while memory block for DMA transfers also need to meet the high-speed cache consistency. Usually the case, because the application can not directly access the kernel address space, applications access to the device using dual copy the way, the driver needs to be in the kernel address space buffer between user space buffer data copies, also need to data copy between the kernel address space buffers and equipment. DMA buffer if the dual copy, DMA operation, the driver must copy the data of the user space to kernel space, and then through the DMA operation of the DMA buffer data transfer out. The memory copy itself very quickly, but for high-speed DMA transfer application buffers and kernel space buffer data copy process will still affect the performance of the system to a large extent. Therefore, the development of the driver uses the mmap way. By mmap the DMA buffer corresponding to the physical address can be mapped to the space of the user process user program by the user virtual address space directly access the DMA buffer data directly into the kernel DMA buffer, the user space buffer remove kernel DMA buffer between the copy process, thereby improving system performance. Through actual test of the system, the average speed dual copy, 224.26MB / s, the mmap way average speed is 358.88MB / s. Mmap way data transfer speeds than double copy improve by 60%, and achieve the performance requirements of the system.

Table of contents

Abstract 3-5 ABSTRACT 5-9 1 Introduction 9-11 1.1 Background the a 1.2 efficient drivers significance of the study 9-10 1.3 In this thesis, the structure 10 1.4 This chapter Summary 10-11 2 electron beam lithography system and the structure of the high-speed data transfer card 11-15 2.1 electron beam lithography system overview 11-13 2.2 high-speed data transfer card structure 13-14 2.3 This chapter Summary 14-15 3 high-speed data transmission card bus analysis 15-22 3.1 bus selection and speed 15-16 3.2 PCI EXPRESS bus system structure 16-19 3.3 PCI EXPRESS bus addressing space 19-21 3.4 This chapter Summary 21-22 4 high-speed data transfer card basic driver development 22-35 the framework 4.1 LINUX driver 22-23 4.2 module is the basic structure of the driver 23-24 4.3 Character driver basic structure 24-25 4.4 PCI EXPRESS device detection 25-27 4.5 device address mapping 27-28 4.6 IO operation marginal effect 28-29 4.7 dual copy mode 29-30 4.8 device open and close 30-31 4.9 devices read and write operations 31-34 4.10 This chapter Summary 34-35 5 high-speed data transmission realization 35-51 5.1 DMA data transfer 35-36 5.2 DMA memory allocation 36-38 5.3 interrupt handling 38-42 5.4 the MMAP mapping process 42-43 5.5 MMAP method to achieve 43-45 The 5.6 application design 45 5.7 system performance test 45-49 5.7.1 mmap way with the performance of the dual copy, compare 45-48 5.7.2 DMA parameters on the performance 48-49 5.8 This chapter Summary 49-51 6 summarizes 51-52 6.1 This article studies summarize 51 6.2 further research outlook 51-52 the References 52-54 Appendix: symbol and mark 54-55 Acknowledgements 55-56 the pursuing degree during the academic catalog 56-60

Related dissertations

  1. The FPGA Design&Implementation of High-speed DAC Based on the PCIE Bus
  2. Design and Implementation of the High-speed Data Transmission System for Monitoring and Communication
  3. SD Card Controller on PCIE BUS BASED on FPGA
    ZhangJunPeng ·Hubei University ·2012 ·Master's thesis
  4. Application of Real Time Embedded System in Phased Array Radar
  5. High-speed real-time data recording system SAR Research and Implementation
    ZhouLiGuo ·Institute of Electronics ·2007 ·Master's thesis
  6. ASIC chip study based on the VME bus .
  7. Multi-resolution Texture Synthesis Based on CBE
    DengShiEn ·Tianjin University ·2007 ·Master's thesis
  8. Study on the Application of VxWorks to High Speed cPCI Data Acquisiton System
  9. A FPGA Based PCIE DMA Subsystem for 3D CT Image Reconstruction
    LiuYang ·Harbin Institute of Technology ·2010 ·Master's thesis
  10. Integrated circuit tester overall software design and human-machine interface
  11. The labyrinth gap measurement system based on SOPC design