The Application of HDLC Frame Transceiver in TDM/Ethernet Interface Circuit
- Author
- JiaHui
- Advisor
- LuoBin
- School
- Southwest Jiaotong University
- Major
- Communication and Information System
- Classification
- TN859 Other
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 8
- Citations
- 0
- HDLC frames transceiver
- Top-down Design
- timing simulation
- TDM/Ethernetinterface circuit
- Frame Rate Converter
Abstract
The HDLC is a bit-oriented link control procedure which is worked on data-link layer. It is widely used in kinds of industrial control applications. In this paper, based on the background of TDM/Ethernet interface circuit and researching of HDLC standards and contents, a kind of HDLC frames transceiver based on FPGA is designed and used in the TDM/Ethernet interface circuit.Firstly, on the basis of a detailed analysis of HDLC frame format, the feasibility of implementation of HDLC protocol is discussed. Compared with several commonly used implementation methods and summarize their respective features in order to explain the advantages of FPGA method. With the top-down design idea, the system is divided into several big modules and the big modules are further divided into single function parts to reduce system complexity.It is also beneficial to modify and integrate the system.Secondly, based on the software Quartus II of company Altera and hardware description language, implementation process of each module is introduced in detail and the flow chart of main modules are given. In the design and implementation of the transmitter, zero-insert module and crc-check module,send-cash module are mainly introduced, what’s more, the design of transmitter state machine is also Described and the detail state transition diagram is given. In the design and implementation of the receiver, zero-remove module and flag-processing module are mainly introduced. Moreover, the logic circuit diagram and timing simulation results of the system is illustrated and analysed to prove the correctness of the design.Thirdly, the HDLC frames transceiver is used in the TDM/Ethernet interface circuit after simplifying and modifying. On the basis of searching material and analyzing requirement, a method of TDM/Ethernet interface circuit based on FPGA is designed. The core of the design is the speed conversion from Ethernet frame data to one channel E1.In the sending process, the Ethernet frame data should be captured by the MⅡ interface of the PHY chip and cashed in a FIFO after a change of4/8.Then frame the data by HDLC protocol and saved them in the external SRAM, at last the data should be sent serially and a pause frame should be sent to the sending end in order to control the speed when the number of HDLC frame is equal to certain amount. The receiving of data is a reverse process of sending process. In the receiving direction, data speed changes from low to high so that the data-cash problem dose not exist.The timing control is the only thing which is needed to pay attention to in order to meet the demand of PHY chip. Finally, download the entire design to the circuit and test the function of it. The test result is illustrated and the working of the circuit is proved normal.
Table of contents
Summary 6-7
Abstract 7-12
Chapter 1 Introduction 12-15
1.1 research background 12 - meaning 13
1.2 research research 13-14
1.3 herein and arrangements 14-15
Chapter 2 introduces the relevant principles 15 - 21
2.1 HDLC protocol background 15-18
2.1.1 HDLC generated 15
2.1.2 HDLC transmit mode 15-16
2.1.3 HDLC frame format 16-18
2.2 FPGA development Profile 18-19
2.2.1 FPGA design flow 18-19 <br / > 2.2.2 development Environment 19
2.3 E1 / Ethernet interface circuit 19-20
2.4 Summary 20-21
3 Chapter HDLC frame transceiver design 21-35
3.1 feasibility Analysis 21
3.2 system function analysis 21-25
3.2.1 send function analysis 21-22
3.2.2 receiver function analysis 22-23
3.2.3 register design 23-25 ??
3.3 send design 25-31
3.3.1 receive buffer module design 26
design nbsp 3.3.2 CRC checksum module ; 26-29
3.3.3 control Module is designed 29
3.3.4 plug design nbsp 0 module ; 29-30
design nbsp 3.3.5 other modules ; 30-31
receiver 3.4 is designed 31-34
3.4.1 control Module design 31-32
3.4.2 flag detection processing module design 32
3.4.3 0 delete module design 32-34
design nbsp 3.4.4 other modules ; 34
3.5 Summary 34-35 <br / > Chapter 4 HDLC frame transceiver implementations 35-47
4.1 controller register read and write to achieve 35-36
4.2 HDLC transmitter implementations achieve 36-43
4.2.1 transmitter state machine 37-38
4.2.2 CRC checksum achieve 38-39
4.2.3 plug 0 module implementations 39-40
4.2.4 other module 40-41
4.2.5 transmitter overall simulation 41-43 <br / > 's 4.3 HDLC frame received achieve achieve 43-46
4.3.1 receive state machine 43-44
4.3.2 0 delete modules and counting module achieve 44-45
4.3.3 receivers overall simulation 45-46
4.4 Summary 46-47
Chapter 5 frame transceiver is in the interface circuit applications necessity nbsp 47-60
5.1 HDLC frame transceiver ; 47
5.2 interface circuit hardware components 47-48 <br / > OK nbsp 5.3 programs ; 48-49
5.4 program designed to achieve 49-53
5.4.1 physical Layer Interface chip and FPGA design 49 <br / > 5.4.2 physical Layer core timing analysis 49-50
5.4.3 HDLC frame transceiver modify 50
5.4.4 SRAM read and write control 50 -53
5.5 overall system simulation 53-55
5.6 system test 55-59
5.6.1 PHY and FPGA chip usability testing 55 - 56
5.6.2 debugging results 56-59
5.7 summary 59-60
summary and Outlook 60-61
Thanks 61-62
References 62-65
studying for a master's degree theses and published research 65
Related dissertations
- The Top-Down Design on the Organizational System of the External Quality Assurance in Higher Education in China
- Research and Application of Rapid Design for EMU Car Body Based on Product Platform
- Study AndDesignof Top-Down Virtual Assemblysystem
- Research on the Parameterized Dsgign of Air Nailer Based on Top-Down Technology
- Power Analysis and Fault Analysis of Block Cipher and Their Countermeasures
- FPGA Implementation of Lossless Compression Encoder and Decoder for Hyperspectral Images
- Design and Implementation of the Timing Simulation for FPGA Based on LUT
- The System Modeling and Circuit Design of a Delta-sigma Fractional-N Frequency Synthesizer
- The Read-Out Integrated Circuit System Design for Uncooled Infrared Focal Plane Array Based on Verilog-AMS
- Study on the dynamic characteristics of hydraulic excavator working device
- Research and Application on Top-down Technology in High-speed Carbody Design
- The Development of High-Speed Train Bogie Variant Design System Based on TBS
- Research of Modular Technology on Car Body Rapid Design System
- Top-down Design of Jaw Crusher and Eccentric Shaft Analysis and Processing
- Design of The Complete Machine of Jaw Crusher Based on Laboratory Coarse Crushing
- FPGA-based Precision Time - digital converter circuit
- Research on Framework and Method for Collaborative Top-down Product Design
- Product Top-down Design Based on Parametric Technology
- The Design of I2C Bus Controller Based on FPGA
- Digital Model and Simulation of the Diesel Engine for Assembly