Beruflich Dokumente
Kultur Dokumente
Abstract: PCI Express is the third generation high receives the requests from the master. Perform the
performance I/O bus used to interconnect peripheral completions [3] for non-posted requests and send them
devices in applications such as computing and back to the master.
communication platforms. The first generation buses
include the ISA, EISA, VESA, and Micro Channel PCI Express
buses, while the second generation buses include PCI,
AGP, and PCI-X. PCI Express is an all-encompassing PCI Express [1] is the third generation high
I/O device interconnect bus that has applications in the performance I/O bus used to interconnect peripheral
mobile, desktop, workstation, server, embedded devices in applications such as computing and
computing and communication platforms. Request communication platforms. The first generation buses
completion handler is the interface operates in include the ISA, EISA, VESA, and Micro Channel
between the PCIe master and the PCIe client. It buses, while the second generation buses include PCI,
performs the data transactions between the PCIe AGP, and PCI-X. PCI Express [4] is an all-
master and PCIe client. Requests are sent to the client encompassing I/O device interconnect bus that has
through request completion handler and completions applications in the mobile, desktop, workstation,
are sent back to the master through the request server, embedded computing and communication
completion handler. Request completion handler platforms. The PCI Express specification defines a
performs the completions for non-posted requests as layered architecture for device design as shown in
well as posted requests. The scope of this work figure. The layers [8] consist of a Transaction Layer
involves designing the request completion handler for [6], a Data Link Layer [2] and a Physical layer [9].
PCIe, develop coding for simulation and test it. The layers can be further divided vertically into two, a
Keywords: PCI Express, ISA, EISA, VESA transmit portion that processes outbound traffic [13]
and a receive portion that processes inbound traffic.
However, a device design does not have to implement
1. INTRODUCTION a layered architecture as long as the functionality
required by the speciation [12] is supported.
The PCIe slave interface [11] is the communication
interface which operates in between the PCIe master
and the slave or client. It provides the necessary
interface to perform the following operations. Sends
the requests from the master, both posted and non-
posted requests are sent to the client or slave. Performs
the completions of non-posted requests sent by the
master.
The header [15] contains 3 or 4 Data Words. Important PCIe system [17] is shown in the figure below.
fields are part of the first Data Word. The Fmt field Request completion handler is the interface which
gives information about how long is the header and operates in between the PCIe master and the PCIe
whether data payload is present. The Type field client. It provides the necessary interface to perform
defines the TLP operation. R fields are the reserved the data transactions between the PCIe master [5] and
fields. The TD field gives information about whether PCIe client. Requests are sent to the client through
there is an extra CRC on the TLP data. The Length request completion handler and completions [16] are
field defines the length of the data. The Requestor ID sent back to the master through the request completion
gives information about the sender of the handler.
packet[14].The First Word BE field (1st Double-
Word Byte Enable) allows to choose which of the four
bytes in the first Data Word are valid and should be
written. The Last Word BE field must be zero when
Length is unity, since the first Data Word and the last
is the same one. Address field is the address to which
the first Data Word is written. It is shown in the Figure
below.