Forum Discussion
Altera_Forum
Honored Contributor
8 years agoBest practices for verifying PWM (measuring time)...
Folks: I am writing a testbench for a pulse-width modulator and wanted to check for several hundred different values. I figured I'd use a loop for each value, but I'm not sure of the best way to ...
Altera_Forum
Honored Contributor
8 years agoYou can use the 'stable' VHDL attribute with a value consistent with the pwd command.
Example: assert pwm_out'stable(TIME) report "signal is not stable during the expected time" severity error;