Examples of using PSL for functional and formal verification of VHDL with GHDL (and SymbiYosys)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
503 B

vunit issue_vunit (issue(psl)) {
-- All is sensitive to rising edge of clk
default clock is rising_edge(clk);
-- GHDL crash if condition evaluates to true
test_g : if true generate
-- This assertion holds
CHECK_0_a : assert always (a -> b);
end generate test_g;
}
library ieee;
use ieee.std_logic_1164.all;
entity issue is
port (
clk : in std_logic
);
end entity issue;
architecture psl of issue is
signal a, b : std_logic := '1';
begin
end architecture psl;