Forum Discussion
Altera_Forum
Honored Contributor
10 years ago$display in synthesized SystemVerilog module
I wish generate assertion info or error and write code: generate
if ((WIDTH != 8) && (WIDTH != 14))
$("Error in f_AmplCpx : parameter WIDTH is incorrect, found %d, should be 8 or 14"...
Altera_Forum
Honored Contributor
10 years agoYes, if you mean
Settings -> Compiler Settings -> Verilog HDL Input -> Verilog version -> SystemVerilog