verilator/test_regress/t/t_x_sim_struct.py

18 lines
359 B
Python

#!/usr/bin/env python3
# DESCRIPTION: Verilator: Test X/Z four-state simulation with structs
#
# This test verifies X and Z value propagation in struct members.
#
# SPDX-FileCopyrightText: 2026
# SPDX-License-Identifier: LGPL-3.0-only
import vltest_bootstrap
test.scenarios('simulator')
test.compile_extra_args = ['--x-sim']
test.execute()
test.passes()