-
Notifications
You must be signed in to change notification settings - Fork 792
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
[tl_agent,dv] Disable covg_disable_cg for xcelium #24926
Conversation
That's odd! Can you show me the command you're running? I've run something that worked just fine with VCS, but suspect you're doing something slightly different :-)
|
Yes, with |
Duh, sorry! You're right and I've managed to reproduce it. Figuring out the problem took me ages, but it's a 1-line fix! I wrote a commit but it doesn't really make sense without the work you've got here anyway, so maybe the best thing would be to fold the change into your commit?
|
Xcelium does not support the cov_disable_cg flag. Create a runmode that dynamically selects between different build flags depending on the selected tool. Explicitly include tl_agent_test_pkg. This is needed to make sure that the `uvm_component_utils initialisation stuff runs (registering tl_agent_base_test with the UVM database) before we try to create a tl_agent_base_test instance through that database. Apparently, this already works with VCS (presumably because the include ordering happens to be convenient), but it doesn't work without the patch on Xcelium. Co-authored-by: Rupert Swarbrick <[email protected]> Signed-off-by: Robert Schilling <[email protected]>
cf8184f
to
d9866d3
Compare
@rswarbrick Thanks for the help, could you take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow response. Looks good to me!
The code successfully removes the
covg_disable_cg
flag for xcelium.However, the test still fails for xcelium with:
@rswarbrick As an UVM expert, could you help me on that one?