Crate xlsynth_test_helpers

Crate xlsynth_test_helpers 

Source

Structs§

FlistEntry

Functions§

assert_valid_sv
Helper that asserts that the given SV string is valid.
assert_valid_sv_flist
compare_golden_sv
compare_golden_text
Compare arbitrary text against a golden file on disk, with an opt-in update mechanism controlled by the XLSYNTH_UPDATE_GOLDEN environment variable. Uses full-string equality (no trimming) for exactness.
make_test_tmpdir
Creates a unique temporary directory for tests under the system temp dir, using the provided base prefix combined with the process id and a nanosecond timestamp.
simulate_pipeline_single_pulse
Backward-compat wrapper that uses default signal names.
simulate_pipeline_single_pulse_custom
Simulates a pipeline design with parameterized signal names.
simulate_sv_flist
Compiles and simulates the given SystemVerilog/Verilog sources and returns the contents of the VCD file produced by the simulation.