Forum Discussion
2 Replies
- Altera_Forum
Honored Contributor
In VHDL, you can use the ASSERT. Example:
So long as the argument is true, the assert will execute.ASSERT ('0' = '0') REPORT "'0' is still the same as '0'" SEVERITY ERROR; - Altera_Forum
Honored Contributor
Interesting solution. I should have mentioned that we're a verilog crew, and I don't think it has an assertion capability. I suppose we could roll a vhdl wrapper