From 560800489dcf2f4fc3edc4c3a8dc18a05d1cfa94 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 1 Oct 2023 09:04:07 -0700 Subject: [PATCH] tests: sv_queue_vec: Change base type to 4-state The sv_queue_vec test uses queues of 2-state vectors, but also checks if certain operations on the queue yield 'X. 2-state queues should never yield 'X and the test only passes because of a bug. In preparation for fixing the bug change the test to use a 4-state base type instead. Signed-off-by: Lars-Peter Clausen --- ivtest/ivltests/sv_queue_vec.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ivtest/ivltests/sv_queue_vec.v b/ivtest/ivltests/sv_queue_vec.v index e422ccfba..ced6113a5 100644 --- a/ivtest/ivltests/sv_queue_vec.v +++ b/ivtest/ivltests/sv_queue_vec.v @@ -1,7 +1,7 @@ module top; - int q_tst [$]; - int q_tmp [$]; - int elem; + integer q_tst [$]; + integer q_tmp [$]; + integer elem; integer idx; bit passed;