Eingabe löschen




PRP-1 IP Core

Das InES bietet VHDL Code (IP) an, der die Funktion einer PRP-RedBox umfasst. Da die Verarbeitung in Hardware (FPGA) erfolgt, kann die maximale Bandbreite des Netzes verarbeitet werden, ohne dass der Prozessor, der die Applikation betreiben soll, belastet wird.

Der VHDL Code kann sowohl für die Realisierung einer eigenständigen RedBox, als auch für die Anschaltung eines PRP-Geräts verwendet werden.

FPGA implementation

ZHAW offers an implementation of the Parallel Redundancy Protocol (PRP according to IEC 62439‑3 / 2012) as a VHDL IP core.


The ZHAW PRP-1 Core is an IP to implement a PRP Redundancy Box (RedBox) on a FPGA. It is designed to be ported easily to different platforms. Version 1 of the PRP protocol is implemented, which is not compatible with the older version of the standard (called PRP-0 or IEC 62439‑3 / 2010).


The PRP-1 Core is interface-compatible with the ZHAW HSR Core, sharing a big part of the code base. PRP-1 requires fewer FPGA resources, but shares some of the HSR specific infrastructure.


The delivery consists of:

In order to run the reference implementation a suitable hardware kit is available. The board is delivered as a ready to run PRP RedBox. It is equipped with a Cyclone III FPGA, four Ethernet PHYs, RAM and Flash. The NIOS II softcore CPU (with MMU) provides basic functions such as initialization of the device and sending supervision.

The documentation includes a quickstart guide and a detailed manual. The quickstart guide describes the reference implementation, how to rebuild it and how to run the testbench. The manual describes the Core interfaces, the process of porting to a new platform, the purpose and working of internal modules, the register set and most of the internal signals.


The ZHAW PRP Core provides a byte-oriented signal interface to connect to 100 Mbit/s full-duplex Ethernet. To connect to a standard PHY, a conversion to MII is provided. To connect to the CPU for supervision, management, and link-local protocols, a Wishbone interface is provided.

The reference implementation is shown below.

Configuration Variant

The IP Core can be configured to use FPGA-Internal RAM. It is also possible to use an external CPU connected via Ethernet. However the CPU still needs access to the registers of the IP Core.