How do I create a streaming interface out of the frame-delineated interface (i.e., remove all data that is not valid as defined by REM)?
The current GFP MAP Core provides only frame-delineated data out of the line interface. However, the example design that is provided with the core does show how to create a streaming interface out of the frame-delineated interface; hence, remove all data that is not valid as defined by REM. This module is the loopback module and is used in GFP example design to convert MAP line interface data that is frame-delineated into UNMAP line interface data that is streaming. It is recommended to append this loopback module onto the output of the MAP Core.
To obtain the example design, generate a GFP Core (32-bit or 64-bit) with a UNMAP Core with either in Idle hunting or Parallel Hunting (Full Synchronization) selected. This will customize the loopback example design to perform the framing to streaming data conversion. The file will be located in:
The example design configuration is discussed on page 29 of the Getting Started User Guide:
The configuration of the UNMAP Core dictates the required data format the UNMAP Core expects to receive.
- If No Hunting is selected in the CORE Generator GUI, the UNMAP Core requires word-aligned frames, using SOF_N, EOF_N, and REM to perform frame delineation. When the UNMAP Core is configured for No Hunting, the loopback module wires the MAP and UNMAP line interfaces together.
- If Idle Only Hunting or Parallel Hunting (Full Synchronization) is selected, signals SOF_N, EOF_N, DSC_N, and REM are not present and the UNMAP Core requires streaming data. In this case, the loopback module is required to create a streaming interface out of aligned packets coming from the MAP Core. The loopback module takes the word-aligned data from the MAP interface and creates a packed stream of data for the UNMAP Core. For detailed information about the UNMAP Core behavior, please see GFP User Guide generated in the <component_name>/doc/ directory.