How would you compare the output of your functional block to a value? say my code has an output signal defined in the entity part, and I want to see if this signal equals a binary value at a certain instance.
How would you compare the output of your functional block to a value? say my code has an output signal defined in the entity part, and I want to see if this signal equals a binary value at a certain instance.
The real challenge is in computing the "expected value", that's an involved job, no generic solution, depending on the design/system there are several approaches. We cover that during our Comprehensive Functional Verification (CFV) course, see www.noveldv.com for more.