Port-write reception module, Port-write transmission module, Input/output avalon-mm slave – Altera RapidIO II MegaCore Function User Manual

Page 122

Advertising
background image

4–80

Chapter 4: Functional Description

Error Detection and Management

RapidIO II MegaCore Function

August 2014

Altera Corporation

User Guide

Port-Write Reception Module

The Port-Write reception module processes receive port-write request MAINTENANCE
packets. The following bits in the Maintenance Interrupt register (

Table 6–39 on

page 6–34

) in the implementation-defined space report any detected anomaly. The

mnt_mnt_s_irq

interrupt signal is asserted if the corresponding bit in the Maintenance

Interrupt Enable

register (

Table 6–40 on page 6–35

) is set.

The PORT_WRITE_ERROR bit is set when the packet is either too small (no payload) or
too large (more than 64 bytes of payload), or if the actual size of the packet is larger
than indicated by the wrsize field. These errors do not cause any of the standard
defined errors to be declared and recorded in the error management registers.

The PACKET_DROPPED bit is set when a port-write request packet is received but
port-write reception is not enabled (by setting bit PORT_WRITE_ENA in the Rx Port
Write Control

register, described in

Table 6–48 on page 6–37

) or if a previously

received port-write has not been read out from the Rx Port Write Buffer register
(

Table 6–50 on page 6–37

).

Port-Write Transmission Module

Port-write requests do not cause response packets to be generated. Therefore, the
port-write transmission module does not detect or report any errors.

Input/Output Avalon-MM Slave

The I/O Avalon-MM slave module creates request packets for the Avalon-MM
transaction on its read and write slave interfaces and processes the response packets
that it receives. Anomalies are reported through one or more of the following three
channels:

Standard error management registers

Registers in the implementation defined space

The Avalon-MM slave interface's error indication signal

Standard Error Management Registers

The following standard defined error types can be declared by the I/O Avalon-MM
slave module. The corresponding error bits are then set and the required packet
information is captured in the appropriate error management registers.

IO Error Response

is declared when a response with ERROR status is received for a

pending NREAD or NWRITE_R request.

Unsolicited Response

is declared when a response is received that does not

correspond to any pending NREAD or NWRITE_R request.

Packet Response Time-Out

is declared when a response is not received within the

time specified by the Port Response Time-Out Response CSR (

Table 6–8 on

page 6–8

) for an NREAD or NWRITE_R request.

Advertising