Research and Design of the GPIB Interface IP Core Based on FPGA

Author
GaoYuDong
Advisor
XiaoTieJun
School
Jiangsu University
Major
Applied Computer Technology
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2007
Downloads
239
Citations
3

Request the full text

Abstract

With the development of microelectronics technology, in-system programmable (In System Programmability, ISP) technology is increasingly widespread applications in various fields. Altera's programmable-chip system (System On aProgrammable Chip, SOPC) solutions, making FPGA (Field Programmable GateArray) is becoming more and more important in the field of embedded systems design. Using the SOPC solutions to the CPU, memory, I / O interfaces, low voltage differential signal (LVDS) technology, the clock - automatic data recovery (CDR), and a phase-locked loop (PPL) system design must module integrated into a can programming devices constitutes a programmable system. GPIB (General Purpose Interface Bus) interface is an instrument-specific interface, the latest agreement is a follow the IEEE 488.1-2003 IEC / IEEE 60488-2 (2004). GPIB interface is the bridge to set up automatic test system. Organized due to the the GPIB formation test system flexible, convenient, smaller-scale, high GPIB equipment utilization, reliability, etc., making the GPIB have a wide range of applications in the test area. This work mainly consists of two parts: the first part is the GPIB interface GPIB interface dedicated chip in high-power transistor curve tracers have extended GPIB interface functions based on the RS232 interface. This article uses Winbond company W77E58 SCM control the TNT4882 chip GPIB interface, serial port via MAX232 and RS232 interface, and use the MCU P1.0 and P1.1 port by MAX232 RS232 interface connected to the CTS and RTS to control RS232 data flow, adjust the transmission rate of the GPIB and RS232, to achieve RS232 and GPIB protocol conversion. The second part is a GPIB interface IP core design, by the first part of the design, the GPIB interface the dedicated chip TNT4882 With depth research, on this basis, design your own GPIB interface IP core. The design uses a modular design thought, the GPIB interface IP core is divided into three modules: the GPIB interface function module, module of internal registers and data transmission control module. GPIB interface functions to achieve a state machine, the state diagram of the GPIB interface functions by a set of mutually exclusive and linked to a given hinge between them and the various state final design to achieve the a whole GPIB chip state machine. To control GPIB interface functions and data transmission, the design of the 25 8-bit registers, these registers include control and status registers, control registers are used to control GPIB interface functions, the status register is used to query the state of the GPIB interface and interrupt status . Designed GPIB interface bus IP core with Avalon, the Avalon bus specification, the design of the control side of the IP core interface signals, also designed two FIFOs used to adjust the Avalon bus transfer rate, and GPIB. RS232-GPIB protocol converter design has been successfully used in high-power transistor curve tracers. The GPIB interface IP core design through the ModelSim simulation and Quartus comprehensive reach the design purpose.

Table of contents

Abstract 5-6 ABSTRACT 6-11 The first chapter 11-17 1.1 research purpose and meaning 11-13 1.2 research status and development trend 13-14 1.3 research projects content 14-15 1.4 The paper is organized 15-17 Chapter RS232-GPIB protocol converter design and implementation 17-28 2.1 GPIB bus Introduction 17-18 2.2 GPIB interface functions implemented in hardware 18-20 2.3 Serial Communication 20-21 2.3.1 serial communications hardware implementation 20 2.3.2 serial communication baud rate adjustment and data flow control 20-21 2.4 RS232-GPIB protocol converter software design 21-24 2.4.1 system initialization 21-22 2.4.2 data transmission 22-24 2.5 PC control program design 24-26 2.5.1 VISA Profile 24-25 2.5.2 Control Program Design 25-26 2.6 Chapter Summary 26-28 Chapter GPIB interface IP core overall design 28-32 3.1 GPIB Interface Features 28-29 3.2 GPIB interface IP core's overall design 29-31 3.3 Chapter Summary 31-32 Chapter GPIB interface function module design 32-52 4.1 State Machine Description 32-33 4.2 state machine encoding 33 4.3 GPIB interface function design 33-47 4.3.1 source side hook (SH) interface function is designed 35-37 4.3.2 recipient hook (AH) feature is designed 37-38 4.3.3 Speaker (T) feature is designed 38-41 4.3.4 listener (L) function is designed 41-42 4.3.5 Service Request (SR) interface function is designed 42-43 4.3.6 Remote / Local (RL) interface function is designed 43-44 4.3.7 Parallel Poll (PP) interface function is designed 44-46 4.3.8 Device Clear (DC) interface function is designed 46-47 4.3.9 device triggers (DT) interface function is designed 47 4.4 top-level module design 47-51 4.4.1 Address module design 48-49 4.4.2 Interface command decoder module design 49-50 4.4.3 ModelSim functional simulation under 50-51 4.5 Chapter Summary 51-52 Chapter internal register module design 52-64 5.1 interrupt registers and interrupt status register 52-56 5.1.1 Interrupt Register 0 and the interrupt status register 0 52-53 5.1.2 Interrupt Register 1 and Interrupt Status Register 1 53-54 5.1.3 Interrupt registers 2 and Interrupt Status Register 2 54-55 5.1.4 Interrupt registers 3 and Interrupt Status Register 3 55-56 5.2 interrupt register 56 5.3 serial polling mode register with the serial poll status register 56 5.4 Address Mode Register 56-57 5.5 Address Register 57 5.6 Address Status Register 57-58 5.7 Auxiliary Command Register 58-59 5.8 Auxiliary Register A 59 5.9 Parallel Poll register 59-60 5.10 Configuration Register 60 5.11 Command register 60-61 5.12 commands via register 61 5.13 End character register 61-62 5.14 Count Register 62 5.15 Summary 62-64 Chapter IP core data transmission control module design 64-72 6.1 SOPC Technology Overview 64-65 6.2 Avalon bus 65 6.3 read and write control module design 65-69 6.3.1 address decoder design 66 6.3.2 FIFO design 66-67 6.3.3 register read / write operations 67 6.3.4 ModelSim functional simulation under 67-69 6.4 SOPC system design 69-71 6.4.1 Quartus under the comprehensive verification 69 6.4.2 GPIB interface IP core module pin configuration 69-70 6.4.3 System Design 70-71 6.5 Chapter Summary 71-72 Chapter Summary and Outlook 72-74 7.1 This article summarizes 72-73 7.2 topics outlook 73-74 Thanks 74-75 References 75-77 papers published during the master's degree 77

Related dissertations

  1. The IP Core Implement and Improvement of Image Compression Algorithm
    GongXiaoLei ·Donghua University ·2014 ·Master's thesis
  2. Research and Design of the Des Encryption Chip Based on Resource Optimization
  3. Design and Implementation of Video Tracking and Encoding System Based on FPGA
    PengDanYang ·Northeastern University ·2013 ·Master's thesis
  4. Design and Realization of the PCI-Slave Interface IP Core Based on FPGA
    JiangHao ·Jiangsu University ·2008 ·Master's thesis
  5. IEEE-488.2 protocol - based FPGA design
  6. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  7. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  8. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  9. Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
  10. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  11. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  12. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  13. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  15. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Design of Digital Ultrasonic Nondestructive Testing System
  18. Design and Implementation of High Speed Data Recorder Based on FPGA
  19. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis