B
Benjamin Couillard
Hi everyone,
I was wondering if I can do the following in VHDL :
my_process : process(CLK)
begin
if rising_edge(CLK) then
if (load_reg = '1') then
assert unsigned(DATA) > 10
report "error, DATA must be greater than 10"
severity error;
end if;
end if;
end process;
I've tried the following code in Active-HDL, and no assertions were
triggered in simulation even though there should have. Is it supposed
to trigger? Is there another way to write that assertion?
Best regards
I was wondering if I can do the following in VHDL :
my_process : process(CLK)
begin
if rising_edge(CLK) then
if (load_reg = '1') then
assert unsigned(DATA) > 10
report "error, DATA must be greater than 10"
severity error;
end if;
end if;
end process;
I've tried the following code in Active-HDL, and no assertions were
triggered in simulation even though there should have. Is it supposed
to trigger? Is there another way to write that assertion?
Best regards