Skip to content
Snippets Groups Projects
Commit 1761d061 authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

Added description to dp_sync_recover

parent a8401194
No related branches found
No related tags found
1 merge request!107resolve L2SDP-363
......@@ -20,16 +20,16 @@
-------------------------------------------------------------------------------
-- Author : R vd Walle
-- Purpose : * Insert extra sync pulses.
-- Description:
-- Every nof_blk_per_sync block a sync pulse is created at the output. The block
-- counter resets if a sync arrives at the input or when nof_blk_per_sync is reached.
-- nof_blk_per_sync is controllable using M&C.
--
-- Purpose : Recover DP control signals (sync, valid, sop, eop, bsn) from input with only valid and sync.
-- Description: dp_sync_recover generates the control signals based on in_sosi.sync, in_sosi.bsn and val.
-- . A data counter is used to count the valids from the input "val" and compare to g_nof_data_per_block to generate sop/eop.
-- . A block counter is used generate the BSN
-- . The BSN at sync of in_sosi is captured to determine when to generate the sync at the output.
-- . out_sosi.valid is directly connected to val.
-- Remarks:
-- . There is no support for back pressure.
-- . It does not compensate for missing data or extra data. There is NO reset function. It assumes that the
-- incoming data is perfectly aligned. Use a dp_sync_checker to assure the incoming data is perfect.
-- . The val input signal should be connected to the desired valid of the output. It determines when
-- the first block will start.
-- . g_initial_bsn can be used to start with a non-zero bsn
-------------------------------------------------------------------------------
LIBRARY IEEE, common_lib;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment