Giter Site home page Giter Site logo

Merge multiple coverge reports about pyvsc HOT 4 OPEN

fvutils avatar fvutils commented on July 26, 2024 1
Merge multiple coverge reports

from pyvsc.

Comments (4)

rbarzic avatar rbarzic commented on July 26, 2024 1

Thank you Matthew. Our team is trying to do the exact opposite, i.e. not relying on any commercial tool for the functionnal coverage. As we are using cocotb with multiple tests spread over a few files, merging of coverage data is critical for us

from pyvsc.

edcote avatar edcote commented on July 26, 2024

I don't know if this is supported by pyvsc.

Maybe https://github.com/amiq-consulting/fc4sc/tree/master/tools/coverage_merge

.... would work for you?

If you have access to a VCS license, you can convert to .vdb format using:

Usage: covimport -readucis ucis.xml -dbname snps.vdb [-mapfile map.file] [-default_bin_as_user] [-help]

from pyvsc.

rbarzic avatar rbarzic commented on July 26, 2024

I've tried the tools/coverage_merge/merge.py utility from https://github.com/amiq-consulting/fc4sc but it does seem to work with UCIS files generated by pyvsc, apparently because the xml files do not include range information for coverpoints.

merge.py around line 158

def merge_bin_hits(self, bin, binMergeElement, parent_query):
        """ Sum the bin ranges' hit counts """
        # merge hits for bins which are present in both the parsed DB and mergeDBtree
        totalhits = 0
        for range in self.findall_ucis_children(bin, "range"):

Any idea on how to add this information to the UCIS files generated by pyvsc ?

from pyvsc.

mballance avatar mballance commented on July 26, 2024

Clearly this has taken a bit of lower priority, given that I (and others that I know) are taking the pyVSC coverage data directly into commercial-EDA flows for manipulation. Let me invest a bit more time here...

from pyvsc.

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.