aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue293/tb_test.vhdl
blob: 5b17dda1824e3d872ec91c60a28723f5d1e40a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;