Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Equivalent to assert for Quartus compile (Verilog source)

Hi,

is there a way to force a compile error and generate a user message using Verilog source (not System Verilog)? Sort of equivalent to an assert macro in C.

This would be really useful in cases where I have created a re-usable module which will only work if parameters are within prescribed ranges, for example.

Thanks,

D
No RepliesBe the first to reply