diff options
Diffstat (limited to 'testsuite/gna/issue293/tb_test.vhdl')
-rw-r--r-- | testsuite/gna/issue293/tb_test.vhdl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue293/tb_test.vhdl b/testsuite/gna/issue293/tb_test.vhdl new file mode 100644 index 000000000..5b17dda18 --- /dev/null +++ b/testsuite/gna/issue293/tb_test.vhdl @@ -0,0 +1,24 @@ +library vunit_lib; +context vunit_lib.vunit_context; + +library ieee; +use ieee.float_pkg.all; + +entity tb_test is + generic ( + runner_cfg : string); +end tb_test; + +architecture tb of tb_test is +begin + test_runner : process + alias fp32 is float32; + begin + test_runner_setup(runner, runner_cfg); + + assert zerofp = neg_zerofp; + + test_runner_cleanup(runner); + wait; + end process test_runner; +end; |