ISIM crashes when the assert command and the 'delayed attribute are used inside the same process.
This error is received in the testbench.:
FATAL_ERROR:Simulator:CompilerAssert.h:40:1.67 - Internal Compiler Error in file ../src/VhdlExpr.cpp at line 10551
Example Code:
CHECK_TIMING: process
begin
wait until falling_edge(test_signal);
assert test_signal'delayed'stable(100 ns) -- Check pulse width
report "Pulse width of test_signal was < 100 ns, pulse width was: " & time'image(test_signal'delayed'last_event)
severity WARNING;
end process;
Removing the line with the 'delayed attribute from the above code will not result in any errors.
The code will also work if the line containing the assert command is commented out.
This can be used as a workaround but it always prints the sentence.
This seems to be a compilation error from the VhdlExpr.cpp library.
AR# 45212 | |
---|---|
日期 | 10/23/2014 |
状态 | Active |
Type | 综合文章 |