Reputation: 315
I have a vhdl entity which I instanciate in a testbench.
I would like it to print a report just once at the beginning of the simulation to show which generic was used.
Is that possible with synthetisable code ?
Thanks,
SLP
Upvotes: 0
Views: 260
Reputation: 463
process
begin
report "Integer parameter FOO value = " & integer'image(FOO);
wait;
end process;
Caution on the wait;
statement! As @user1155120 notes, processes without a sensitivity list will loop infinitely, unless stopped with a wait;
statement.
Upvotes: 1