Home > Community > Forums > Functional Verification > functional coverage database not getting merged

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 functional coverage database not getting merged 

Last post Wed, Dec 1 2010 5:29 AM by sautech. 3 replies.
Started by sautech 30 Nov 2010 01:37 AM. Topic has 3 replies and 2018 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Nov 30 2010 1:37 AM

    • sautech
    • Not Ranked
    • Joined on Tue, Nov 30 2010
    • Posts 4
    • Points 20
    functional coverage database not getting merged Reply

     hi

    I tried to merge functional coverage for 2 test. its not getting merged. it always show same figure.

    can anybody comment on it. further when I collect coverage for individual test, for both test, it shows 30%. but for second test when I see internal covergroup figures, those are different. strange behaviour. I am using IRUN to dump coverage data.

     I am using following commands to merge it.

    set_dut_modules DUT_TOP
    merge ./coverage/design/test1 ./coverage/design/test2 -output all_tests
    load_test ./coverage/design/all_tests
    report_html  * > ./coverage/report.html
    view_graphics

    Your help will be highly appreciated. thanks in advance.

    -saurabh

     

    • Post Points: 5
  • Tue, Nov 30 2010 9:21 PM

    • sautech
    • Not Ranked
    • Joined on Tue, Nov 30 2010
    • Posts 4
    • Points 20
    Re: functional coverage database not getting merged Reply

     when I prepared an example to check this issue. tool works perfectly fine. I dont know why it is not able to merge with our setup. this is a strange behaviour of this tool.

    • Post Points: 5
  • Wed, Dec 1 2010 4:30 AM

    • sautech
    • Not Ranked
    • Joined on Tue, Nov 30 2010
    • Posts 4
    • Points 20
    Re: functional coverage database not getting merged Reply

    This is solved.

    Basically I had a filelist for testbench and I was giving this filelist for compilation to this tool. in that case all classes probably will be in compilation unit scope. and we were setting set_dut_modules to our DUT. so I took all Testbench files inside TOP module. the moment i did so, it started merging correctly.

     

    If anybody is facing this issue check your coverage classes not to be in compilation unit scope. if it is, take it inside top module and while coverage options , give -covdut "top_module". and you are done. for me it worked fine.

    --saurabh makwana

    • Post Points: 5
  • Wed, Dec 1 2010 5:29 AM

    • sautech
    • Not Ranked
    • Joined on Tue, Nov 30 2010
    • Posts 4
    • Points 20
    Re: functional coverage database not getting merged Reply

    sorry guys. ignore previous solution, that i gave. it doesn't work fully.

    the real issue was "set_dut_modules <top_module>".

    if you have set your dut module while merging, it will try to merge only this module across all tests. in my case i had testbench classes in compilation unit scope and hence was not merging it. by not setting set_dut_modules, it worked fine for me without any more issues.

     

    --saurabh makwana 

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by sautech at 30 Nov 2010 01:37 AM. Topic has 3 replies.