EmbDev.net

Forum: FPGA, VHDL & Verilog Ko counter in Test Bench


von imed m. (imed_m)


Rate this post
useful
not useful
Hi!
What's the best way to handle KO number in test benches?
- manually increment a counter inside TB code?
- do all the checks through a procedure which increment the err_cnt as a 
shared variable ?
- what to do if you have, besides your TB, an assertions module that is 
active all the time ? same issue when you have a comparison module that 
is run at the end of your tests
all these modules are activated in parallel to the main TB and they may 
return Ko as well.

If you have an answer to any of these questions I would be thankful.

von Duke Scarring (Guest)


Rate this post
useful
not useful
> What's the best way to handle KO number in test benches?
Maybe you describe at first what does im mean: "KO number"

Duke

von imed m. (imed_m)


Rate this post
useful
not useful
I meant number of errors:
Number of test failure.
I suppose you know what it means if you worked on design verification 
based on requirements

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.