参数资料
型号: IPR-POSPHY4
厂商: Altera
文件页数: 102/144页
文件大小: 0K
描述: IP POS-PHY L4 RENEW
标准包装: 1
系列: *
类型: MegaCore
功能: POS-PHY 4 级接口,链路层/物理层
许可证: 续用许可证
6–2
Chapter 6: Testbench
Receiver Testbench Description
The testbench consists of three basic modules: packet generation, user receiver
variation, and a data analyzer. All testbench modules are in the < variation name > _tb.v
file. The testbench also consists of multiple support modules for pin monitoring, clock
generation, and reset generation (refer to Figure 6–1 ). The packet generation module
generates SPI-4.2 packets. These packets are received by the receiver MegaCore
function, which processes the packets and converts them to Atlantic interface format.
Finally, the data analyzer module receives the data from the Atlantic interface and
verifies the correctness of the data with an individual monitor for each port.
Figure 6–1. Receiver Testbench
SPI-4.2
Interface
POS-PHY Le v el 4
Packet Generation
Reset
De v ice Under Test
POS-PHY
Le v el 4
Recei v er
Variation
Clock
Generator
Atlantic
Interface
Atlantic Interface
Data Analyser
(one per port)
Pin Monitor
The packet generation module begins by sending the idle pattern ( 16'h000f ) and then
the training pattern ( 16'h0fff , 16'hf000 ) until the POS-PHY Level 4 receiver
MegaCore function is synchronized to the data source.
The packet generation module then begins sending packets of lengths defined by the
top-level testbench. To allow for automated packet checking, a special packet format
is used. Table 6–1 shows the format of each packet.
Table 6–1. Packet Format
Packet Byte
Header byte
Extra length byte
Number byte
Payload bytes
Format
{0,0,len[5:1],ext}
{size[16:0]}
{N[7:0] ^ port_num}
{N++^ port_num}
Description
Contains information about the packet. len represents the length of
the packet if the length can be encoded in six bits. If the length is
beyond 32 bits, ext is set to indicate that the next byte in the packet
contains the length information.
If ext is 1, the extended expected packet size shows the length of the
packet including the header ( size > 16 bytes) (optional).
Packet number (packet number begins at 'h01 and is incremented by
one for each packet) XOR ed with the port number.
The following bytes in the packet are incremented by one and XOR ed
with the port number.
POS-PHY Level 4 MegaCore Function User Guide
May 2013 Altera Corporation
相关PDF资料
PDF描述
MAX6337US20D3+T IC MPU/RESET CIRC 2.00V SOT143-4
M3CWK-3436R IDC CABLE - MKC34K/MC34M/MPL34K
M3AWK-3436R IDC CABLE - MSC34K/MC34M/MPL34K
M3CKK-3436R IDC CABLE - MKC34K/MC34M/MPK34K
M3AKK-3436R IDC CABLE - MSC34K/MC34M/MPK34K
相关代理商/技术参数
参数描述
IPR-QDRII/UNI 功能描述:开发软件 QDRII SRAM Control MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-RAPIDIOII 功能描述:开发软件 RapidIO 1x/2x/4x MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-RIOPHY 功能描述:开发软件 RapidIO MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-RLDII/UNI 功能描述:开发软件 RLDRAM II Controller MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-RLDRAMII 功能描述:开发软件 RLDRAM II Controller MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors