Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16666 Discussions

Equivalent to assert for Quartus compile (Verilog source)

Altera_Forum
Honored Contributor II
1,067 Views

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
0 Kudos
0 Replies
Reply