Forum Discussion
Altera_Forum
Honored Contributor
14 years agoMessages in function during sythesis
I have errors that I want the compiler to check for inside a funciton, but Quartus just seems to jump over them. As an example if I create the following function: function test_error(test : bool...
Altera_Forum
Honored Contributor
14 years agoThanks for the reply Tricky.
No luck with setting the severity to Failure. I'm not having any issues with using assert within an architecture, it just seems to be within functions that's not working. As a work around I'm thinking I could switch the function to a procedure that also outputs a string and then put an assert statement in the architecture that assert the error if the string is not empty, but I'd prefer to not have to do something like that (seems very hacky). I'm using Quartus 10.1, so I'm going to try updating to the latest version and see if it helps any.