Coder Social home page Coder Social logo

Comments (5)

JimLewis avatar JimLewis commented on June 12, 2024

Hi Sebastian,
On travel. Hope to look at it today or tomorrow. That said, I don't like what I am hearing.

Best Regards,
Jim

from osvvm.

JimLewis avatar JimLewis commented on June 12, 2024

Hi Sebastian,
Looks like a bug.

What follows is a work around. Build your ignore bins first, and then add your regular bins.

It can be done with either broad set of ignore bins

    AddCross(v_mycov2,IgnoreBin(3,4), ALL_COUNT) ;
    AddCross(v_mycov2,ALL_COUNT, IgnoreBin(7,8)); 
    AddCross(v_mycov2,GenBin(1,5),GenBin(6,10));

Or a focused set of ignore bins

    AddCross(v_mycov2,IgnoreBin(3,4), GenBin(6,10,1)) ;
    AddCross(v_mycov2,GenBin(1,5,1), IgnoreBin(7,8)); 
    AddCross(v_mycov2,GenBin(1,5),GenBin(6,10));

I will get to root cause later. It is time for Yoga.

Cheers,
Jim

from osvvm.

JimLewis avatar JimLewis commented on June 12, 2024

Hi Sebastian,
First I improved the message so it prints which bins it did not like and your original test case prints:

# %% Alert  ERROR     in MyCov2,   CoveragePkg.InsertBin (AddBins/AddCross): ignore bin (3 to 4) (7)  dropped.  It is a subset of prior bin at 0 ns
# %% Alert  ERROR     in MyCov2,   CoveragePkg.InsertBin (AddBins/AddCross): ignore bin (3 to 4) (8)  dropped.  It is a subset of prior bin at 0 ns
# %% Alert  ERROR     in MyCov2,   CoveragePkg.InsertBin (AddBins/AddCross): ignore bin (3) (7 to 8)  dropped.  It is a subset of prior bin at 0 ns
# %% Alert  ERROR     in MyCov2,   CoveragePkg.InsertBin (AddBins/AddCross): ignore bin (4) (7 to 8)  dropped.  It is a subset of prior bin at 0 ns

These are clearly just overlapping ignore bins. The Alert there should have been a log DEBUG, so I changed it to that.

I have pushed this to the Dev branch.

Thanks for reporting the bug.

Cheers,
Jim

from osvvm.

JimLewis avatar JimLewis commented on June 12, 2024

This is now fixed on the Dev branch

from osvvm.

SebDunst avatar SebDunst commented on June 12, 2024

Hi Jim,
changing the log level from ERROR to DEBUG is certainly a good solution. But I do not understand why there is an overlapping issue at all? Where do the ignore bins overlap? (3,4) and (7,8).

Regards,
Sebastian

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.