156
www.xilinx.com
Ethernet AVB Endpoint User Guide
UG492 September 21, 2010
Chapter 15:
Detailed Example Design (Standard Format)
Demonstration Test Bench
Figure 15-2
illustrates the Ethernet AVB Endpoint demonstration test bench, a simple
VHDL or Verilog program for exercising the example design and the core.
The following files describe the top level of the demonstration test bench:
VHDL
<project_dir>/<component_name>/simulation/demo_tb.vhd
Verilog
<project_dir>/<component_name>/simulation/demo_tb.v
The top-level test bench entity instantiates the example design for the core, which is the
Device Under Test (DUT). The test bench provides clocks and resets, and gathers statistics
for the duration of the simulation. A final statistic report is created at the end of the
simulation run time that contains the following:
•
The number of PTP frames transmitted and received
•
The number of AV frames transmitted and received
•
The number of legacy frames transmitted and received.
All transmitted frame statistics should exactly match the received frame statistics for
each particular frame type; if this is not the case, an error message is issued.
•
Finally, the test bench estimates the percentage of overall Ethernet line rate consumed
by each of the three types. This should illustrate the bandwidth policing functionality
of the core, which should only allow the AV frames to consume a maximum of 75% of
the overall bandwidth.
X-Ref Target - Figure 15-2
Figure 15-2:
Ethernet AVB Endpoint Demonstration Test Bench
Ex
a
mple De
s
ign Top Level
Ethernet
AVB
Endpoint
LogiCORE
leg
a
cy
tr
a
ffic
AV tr
a
ffic
Tx fr
a
me
s
tim
u
l
us
loop
ba
ck
mod
u
le
Tx fr
a
me
s
tim
u
l
us
Rx fr
a
me
checker
Rx fr
a
me
checker
PLB
Interr
u
pt
s
PLB
mod
u
le
AV tr
a
ffic
leg
a
cy
tr
a
ffic
Clock
a
nd
Re
s
et
gener
a
tion
S
t
a
ti
s
tic
G
a
thering
Demon
s
tr
a
tion Te
s
t Bench
Содержание LogiCORE Endpoint v2.4
Страница 1: ...LogiCORETM IP Ethernet AVB Endpoint v2 4 User Guide UG492 September 21 2010...
Страница 8: ...8 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010...
Страница 12: ...12 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010...
Страница 16: ...16 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010...
Страница 22: ...22 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010 Preface About This Guide...
Страница 26: ...26 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010 Chapter 1 Introduction...
Страница 102: ...102 www xilinx com Ethernet AVB Endpoint User Guide UG492 September 21 2010 Chapter 10 Configuration and Status...