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

added channel check to counter

parent fc9844d8
No related branches found
No related tags found
1 merge request!183Resolve L2SDP-557
Checking pipeline status
......@@ -192,7 +192,10 @@ BEGIN
);
bsn_at_sync <= bs_sosi.bsn WHEN bs_sosi.sync = '1' ELSE bsn_at_sync_reg;
bsn_ok <= bsn_ok_reg WHEN in_sosi.sync = '0' ELSE '1' WHEN in_sosi.bsn = bsn_at_sync ELSE '0';
bsn_ok <= bsn_ok_reg WHEN in_sosi.sync = '0' ELSE
'1' WHEN in_sosi.bsn = bsn_at_sync AND TO_UINT(in_sosi.channel) = g_check_channel ELSE '0';
out_valid <= '1' WHEN in_sosi.sop = '1' AND TO_UINT(in_sosi.channel) /= g_check_channel ELSE
bsn_ok WHEN in_sosi.sop = '1' AND TO_UINT(in_sosi.channel) = g_check_channel ELSE
out_valid_reg;
......
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