Altera RapidIO MegaCore Function User Manual
Page 141
![background image](https://www.manualsdir.com/files/763760/content/doc141.png)
Chapter 6: Software Interface
6–9
Physical Layer Registers
August 2014
Altera Corporation
RapidIO MegaCore Function
User Guide
PORT_ERR
[2]
RW1C
This bit is set if the input port error recovery state machine encounters
an unrecoverable error or the output port error recovery state machine
enters the fatal_error state.
The input port error recovery state machine encounters an
unrecoverable error if it times out while waiting for a link-request after
sending a packet-not-accepted control symbol.
The output port error recovery state machine enters the fatal_error state
if the following sequence of events occurs:
1. The output port error recovery state machine enters the stop_output
state when it receives a packet-not-accepted control symbol. In
response, it sends the
input-status
link-request/input-status (restart-from-error)
control symbol.
2. One of the following events occurs in response to the link-request
control symbol:
■
If the link-response is received but the ackID is outside of the
outstanding ackID set, or the port_status value is Error, then
the output port error recovery state machine enters the fatal_error
state.
■
If the port times out before receiving link-response, and the
number of times this time-out event has occurred reaches the
number you set in the RapidIO parameter editor as the value for
Link-request attempts, then the output port error recovery state
machine enters the fatal_error state.
When the PORT_ERR bit is set, the RapidIO IP core performs an internal
soft reset sequence, as described in
The port_error output signal mirrors this register bit.
1'b0
PORT_OK
[1]
RO
Input and output ports are initialized and can communicate with the
adjacent device. This bit is asserted when port_initialized is
asserted and the following conditions exist:
■
The IP core has received at least 7 status control symbols.
■
The output port retry recovery state machine is not in the
stop_output state.
■
The output port error recovery state machine is not in the
stop_output state.
■
The input port retry recovery state machine is not in the stop_input
state.
■
The input port error recovery state machine is not in the stop_input
state.
1'b0
PORT_UNINIT
[0]
RO
Input and output ports are not initialized and are in training mode. This
bit is the negation of the PORT_OK bit.
1'b1
Note to
:
(1) Refer to
“Error Detection and Management” on page 4–61
for details.
Table 6–10. Port 0 Error and Status CSR—Offset: 0x158
(1)
(Part 3 of 3)
Field
Bits
Access
Function
Default