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

processed review comments

parent 41eb7c55
No related branches found
No related tags found
1 merge request!125inital commit of dp_block_validate_channel and its TBs
......@@ -25,7 +25,6 @@
-- Test bench for dp_block_validate_channel.
-- Description:
-- Verifies the output sosi of the DUT with the expected sosi.
-- The TB also reads the register values via MM and verifies them against the
-- expected values.
-- Usage:
-- . as 5
......@@ -157,31 +156,37 @@ BEGIN
ASSERT keep_sosi.valid = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.eop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sync = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ELSIF g_mode = "=" THEN
ASSERT keep_sosi = reference_sosi REPORT "No block in keep_sosi" SEVERITY ERROR;
ASSERT remove_sosi.valid = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.eop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sync = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ELSIF TO_UINT(reference_sosi.channel) < g_remove_channel AND g_mode = "<" THEN
ASSERT remove_sosi = reference_sosi REPORT "remove_sosi does not contain removed block!" SEVERITY ERROR;
ASSERT keep_sosi.valid = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.eop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sync = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ELSIF g_mode = "<" THEN
ASSERT keep_sosi = reference_sosi REPORT "No block in keep_sosi" SEVERITY ERROR;
ASSERT remove_sosi.valid = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.eop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sync = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ELSIF TO_UINT(reference_sosi.channel) > g_remove_channel AND g_mode = ">" THEN
ASSERT remove_sosi = reference_sosi REPORT "remove_sosi does not contain removed block!" SEVERITY ERROR;
ASSERT keep_sosi.valid = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.eop = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ASSERT keep_sosi.sync = '0' REPORT "Wrong, removed block occurs in keep_sosi!" SEVERITY ERROR;
ELSIF g_mode = ">" THEN
ASSERT keep_sosi = reference_sosi REPORT "No block in keep_sosi" SEVERITY ERROR;
ASSERT remove_sosi.valid = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.eop = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
ASSERT remove_sosi.sync = '0' REPORT "Wrong, block occurs in remove_sosi which is unexpected!" SEVERITY ERROR;
END IF;
END IF;
END IF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment