Implementation of HDLC Protocol Using Verilog
Implementation of HDLC Protocol Using Verilog
com
SJ Impact Factor-3.995
Dept. of ECE
RGUKT-Basar
3
Intell Engg. College-Anatapur
1,2
Abstract A protocol is required to transmit data successfully over any network and also to manage the flow at which
data is transmitted. HDLC protocol is the high-level data link control protocol established by International Organization
for Standardization (ISO), which is widely used in digital communications. High-level Data Link Control (HDLC) is the
most commonly used Layer2 protocol and is suitable for bit oriented packet transmission mode. This paper discusses the
Verilog modeling of single-channel HDLC Layer 2 protocol and its implementation using Xilinx.
Keywords- High Level Data link Control (HDLC), Frame Check Sequence (FCS), and Cyclic Redundancy Check
(CRC)
module for the bit-oriented packet transmission mode. It is
I. INTRODUCTION
suitable for Frame Relay, X.25, ISDN B-Channel (64 Kbits/s)
and D-Channel (16 Kbits/s) The Data Interface is 8-bit wide,
HDLC protocol is the high-level data link control protocol synchronous and suitable for interfacing to transmit and
established by International Organization for standardization receive FIFOs. Information is packaged into an envelope,
(ISO), which is widely used in digital communication and called a FRAME [4]. An HDLC frame is structured as
are the bases of many other data link control protocols [2]. follows:
HDLC protocols are commonly performed by ASIC
(Application Specific Integrated Circuit) devices, software FLAG ADDRESS CONTROL INFORMATION FCS FLAG
programming and etc.
8 bits
8 bits
8 /16 bits
variable
8
8 bits
The objective of this paper is to design and implement a
single channel controller for the HDLC protocol which is the
most basic and prevalent Data Link layer synchronous, bitTable 1. HDLC Frame
oriented protocol. The HDLC protocol (High Level Data
A. Flag
link Control) is also important in that it forms the basis for
Each Frame begins and ends with the Flag Sequence which
many other Data Link Control protocols, which use the same
is a binary sequence 01111110. If a piece of data within the
or similar formats, and the same mechanisms as employed in frame to be transmitted contains a series of 5 or more 1s, the
HDLC.
transmitting station must insert a 0 to distinguish this set of
HDLC has been so widely implemented because it 1s in the data from the flags at the beginning and end of the
supports both half duplex and full duplex communication frame. This technique of inserting bits is called bit-stuffing
lines, point to point(peer to peer) and multi-point [3].
networks[1]. The protocols outlined in HDLC are designed
to permit synchronous, code-transparent data transmission. B. Address
Other benefits of HDLC are that the control information is Address field is of programmable size, a single octet or a
always in the same position, and specific bit patterns used for pair of octets. The field can contain the value programmed
control differ dramatically from those in representing data, into the transmit address register at the time the Frame is
started.
which reduces the chance of errors.
C. Control
HDLC uses the control field to determine how to control the
Page 1
www. ijraset.com
October 2014
SJ Impact Factor-3.995
Special Issue-1,
ISSN: 2321-9653
Page 2
www. ijraset.com
October 2014
SJ Impact Factor-3.995
Special Issue-1,
ISSN: 2321-9653
[2]
IV. RESULTS
[3]
[4]
[5]
V. CONCLUSION
We designed HDLC protocol sending and receiving RTL
level modules in Verilog and had them tested successfully,
which has the following advantages like easy to program and
modify, suitable for different standards of HDLC procedures,
match with other chips with different interfaces. So this
proposed method can be more useful for many applications
like a Communication protocol link for RADAR data
processing.
REFERENCES
[1] Implementation of HDLC protocol Using FPGA,
[IJESAT] International Journal of Engineering Science
Page 3