Top-level example design hdl, Ethernet frame stimulus – Xilinx IP Ethernet AVB Endpoint v2.4 UG492 User Manual
Page 153

Ethernet AVB Endpoint User Guide
153
UG492 September 21, 2010
Example Design
Top-Level Example Design HDL
The following files describe the top-level example design for the Ethernet AVB Endpoint
core.
VHDL
_design.vhd
Verilog
_design.v
The example design HDL top level contains the following:
•
An instance of the Ethernet AVB Endpoint core
•
block, configured differently and
connected as follows:
♦
One instance is connected to the AV transmitter interface, configured to produce
VLAN Ethernet frames with a priority of 3.
♦
A second instance is connected to the Legacy transmitter interface, configured to
produce standard Ethernet frames without a VLAN field
•
An instance of a
, instantiated in place of where an Ethernet MAC
should exist, enables the example design to be standalone. All AV and Legacy frames
transmitted are then looped back and received at the corresponding AV and Legacy
receive client interfaces.
•
Two instances of an
block, configured differently and
connected as follows:
♦
One instance is connected to the AV receiver interface, configured to expect the
VLAN frames produced by the AV Frame Stimulus block
♦
A second instance is connected to the Legacy receiver interface, configured to
expect the standard Ethernet frames produced by the Legacy Frame Stimulus
block
•
that connects to the PLB interface of the core and contains simple state
machines to perform initialization of configuration and interrupt management state
machines.
Ethernet Frame Stimulus
The following files describe the Ethernet Frame Stimulus logic:
VHDL
Verilog
This module contains the logic to produce an Ethernet test frame. The MAC header fields
of this frame are defined by generics (Destination Address, Source Address,
Length/Type); the VLAN field is optional. Additionally, the length of the Ethernet frame
can also be set using a generic.