Coder Social home page Coder Social logo

Comments (5)

JimLewis avatar JimLewis commented on May 20, 2024 2

Resolution:
Overload Check so that it returns boolean to indicate PASS/FAIL status of check

from osvvm.

JimLewis avatar JimLewis commented on May 20, 2024

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
variable ErrCntVar : IntegerArrayPointerType := new IntegerArrayType'(1 => 0) ;

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:
variable ErrorCount : integer := 0 ;
variable AlertCount : AlertCountType := (0, 0, 0) ;

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.

from osvvm.

SkydiverTricky avatar SkydiverTricky commented on May 20, 2024

Thanks
My code lives inside a AXI bus sink BFM/checker entity, which is intended for use by users who may not be familiar with OSVVM or more advanced simulator/VHDL behaviour (most users have never seen a protected type before, let alone used one), so having a missmatch signal directly available on the waveform may be more obvious to them.

from osvvm.

JimLewis avatar JimLewis commented on May 20, 2024

Not hard to do. Just tedious to add the additional tests to support the overloading.

from osvvm.

JimLewis avatar JimLewis commented on May 20, 2024

Released in 2020.05

from osvvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.