Home > VHDL > Concurrent Statements > Report Statement

Report Statement :

This statement seem to be similar to assertion statement. The difference in the statements is the message is displayed unconditionally. The main idea is to help in troubleshooting The expression specified should have type STRING message which reports the assertion violations.

The Syntax is :
report string;
report string severity

Example :

while CR <= 75 loop 
 if CR > 25 
 then report
"the CR is over 25"; 
 end if; 
 . . . 
 end loop;