sri.cvcblr Posted January 2, 2021 Report Share Posted January 2, 2021 Hello, I pulled the latest UVM lib from https://www.accellera.org/images/downloads/standards/uvm/UVM-18002-2020-10tar.gz Tried compiling a trivial hello-world example using Cadence XLM 20.09 version (I believe this is fairly recent release). Getting some strange compile error as below, though I can dig deeper and fix, wondering what is the recommended version that is compatible with this UVM library. I am able to run UVM 1.1d, UVM 1.2 etc. using this XLM version and so am sure the tool version is fine. It perhaps has to do with some new code inside UVM lib release hence asking here. Thanks Srini Quote TOOL: xrun(64) 20.09-s001: Started on Jan 02, 2021 at 11:19:58 IST xrun -uvmhome /home/srini/proj/CVC/IEEE_UVM/UVM_1800.2-2020-1.0 ../hw_uvm.sv Compiling UVM packages (uvm_pkg.sv cdns_uvm_pkg.sv) using uvmhome location /home/srini/proj/CVC/IEEE_UVM/UVM_1800.2-2020-1.0 protected bit m_pending_blocked_gets[process]; | Quote Link to comment Share on other sites More sharing options...
sri.cvcblr Posted January 2, 2021 Author Report Share Posted January 2, 2021 To confirm, I tried UVM 2017-1.1 Reference Implementation on same tool version, it works fine. So it is an issue with the latest UVM lib code and tool compatibility. Any clues? Thanks Quote Link to comment Share on other sites More sharing options...
sri.cvcblr Posted January 2, 2021 Author Report Share Posted January 2, 2021 Sorry for multiple replies - I believe I found a fix with some debug: From the compile log, it led me to uvm_tlm_fifo and I found a define being checked for `ifndef. As a hack I added below line to uvm_macros.svh `ifdef XCELIUM `define UVM_XCELIUM // CVC `define UVM_USE_PROCESS_CONTAINER `define DPI_COMPATIBILITY_VERSION_1800v2005 `endif With that my code compiles and runs. Is this a known issue? Is there a bug tracker for UVM lib out there (Mantis/Git/etc.)? More importantly, is this the recommended fix from UVM dev team? Cheers Srini Quote Link to comment Share on other sites More sharing options...
Mark Strickland Posted March 1, 2021 Report Share Posted March 1, 2021 That uvm_macros.svh fix is the correct fix and is now in https://www.accellera.org/images/downloads/standards/uvm/UVM-18002-2020-11tar.gz Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.