beautypg.com

Table 7–25 on, Holds the value 2, and the, Holds the value – Altera CPRI IP Core User Manual

Page 128: Is re

background image

7–12

Chapter 7: Software Interface

CPRI Protocol Interface Registers

CPRI MegaCore Function

December 2013

Altera Corporation

User Guide

hw_reset_pending

[1]

RW

Indicates a hw_reset interrupt is pending (the interrupt
occurred but is not yet serviced).

In an RE slave, this bit is set when a reset request is detected
in incoming CPRI communication at Z.130.0, but neither the

reset_gen_en

bit nor the

reset_hw_en

bit in the

CPRI_HW_RESET

register is set (so that a reset acknowledge

cannot be sent to the RE master), or when the CPRI RE slave
sends a reset acknowledge on the outgoing CPRI link at
Z.130.0.

In a master, this bit is set when a reset acknowledge is
received on the incoming CPRI link at Z.130.0.

Software can count assertions of this bit to confirm the reset
bit in Z.130.0 was asserted in ten consecutive hyperframes to
complete a CPRI-compliant reset acknowledge.

Note that when a reset request is detected in incoming CPRI
communication, and the

reset_hw_en

bit in the

CPRI_HW_RESET

register is set, the user must assert the

hw_reset_assert

input signal to the CPRI RE slave, to force

it to send a reset acknowledge by setting the reset bit in
outgoing CPRI communication at Z.130.0. After the reset bit is
sent on the CPRI link,

hw_reset_pending

is asserted.

1’h1

RSRV

[0] UR0

Reserved.

1’h0

Table 7–22. CPRI_INTR_PEND—Interrupt Pending Status—Offset: 0x4C (Part 2 of 2)

Field Bits

Access

Function

Default

Table 7–23. CPRI_N_LCV—LCV Threshold—Offset: 0x50

Field Bits

Access

Function

Default

N_LCV

[31:0] RW

The number of LCVs that triggers the assertion of the

cpri_rx_los

signal.

32’h0

Table 7–24. CPRI_T_LCV—LCV Test Period—Offset: 0x54

Field Bits

Access

Function

Default

T_LCV

[31:0] RW

The number of bytes in the initialization period during which
we do not yet count LCVs toward assertion of the

cpri_rx_los

signal.

32d’614400

Table 7–25. CPRI_TX_PROT_VER— Tx Protocol Version —Offset: 0x58

Field Bits

Access

Function

Default

RSRV

[31:8] UR0

Reserved.

24’h0

tx_prot_version

[7:0] RW

Transmit protocol version to be mapped to Z.2.0 to indicate
whether or not the current hyperframe transmission is
scrambled. The value 1 indicates it is not scrambled and the
value 2 indicates it is scrambled.

8’h01