aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/psl02/verif4.vhdl
blob: a8e4fff5adc18f0bef59c3c33cba522747f5eb6e (plain)
1
2
3
4
5
6
7
8
9
10
vunit verif4 (assert2(behav))
{
  default clock is rising_edge(clk);
  function check_val (v : unsigned) return boolean is
  begin
    return v < 10;
  end check_val;
  assume always check_val (val);
  assert always val /= 5 abort rst;
}