-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scoreboard: Add Check Function that returns TRUE when PASSED #32
Comments
Ok. I will add this to my todo list. If you are just trying to track when an error occurs, you might check out if your simulator supports displaying variables within a protected type. WIthin the scoreboard package, the error count is kept in the Similarly, if you want to track the overall error count for all errors, the AlertLogPkg on the DEV branch has a variable to do this: With these you should be able to use your simulator's jump to change capability to find the error location in the wave window. Note that ErrorCount and AlertCount were added specifically for this functionality. Note it is the the DEV branch and I missed adding the "Var" suffix that I normally have for the other PT body variables, so the name may change when it goes to the Main branch. Note if this capability is a superset of what you wanted let me know. |
Thanks |
Not hard to do. Just tedious to add the additional tests to support the overloading. |
Resolution: |
Released in 2020.05 |
It would be useful to have a check function in the scoreboard that returns a boolean. This way you can easily connect a signal to the function to allow quick debugging on a waveform. I have the following current workaround:
I think it would be easier to simply write:
missmatch <= sboard.check(act), false after 1 ns;
It would also allow a testbench to take user controlled action on a missmatch.
The text was updated successfully, but these errors were encountered: