• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Set -access +rw for regression

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 1520
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set -access +rw for regression

PeterAF
PeterAF over 7 years ago

I have an issue where forcing a value on a register works in simulator but not in regression

This is how it is done in the testcase.

uvm_hdl_deposit("tb_top.dut.infra_i.inst.gen_ing[0].inst.o_ing_pkt_cnt",32'hFFFFFFFF);

And the error I get in vManager for regression is

Attempting to place a value into tb_top.dut.infra_i.inst.gen_ing[0].inst.o_ing_pkt_cnt which does not have write access.

I found someone else on the internet that had a similar problem and solved it by setting -access +rw.

I need to know how to set this when running the regression. Should I set it in the testcase? In the vsif? Is it a setting in vManager?

  • Cancel
  • StephenH
    StephenH over 7 years ago

    This "attempting to place value" error is coming from the simulator, not from vManager.

    You will need to find where in your flow you are elaborating the design, and add the switches there. It's unlikely that your env would have been set up so that you add the switch directly in the VSIF, but it depends entirely on your flow, the tool doesn't control your flow.

    In any case, I would advise against using -access +rw, because it's a global switch that will hurt simulation performance. It would be better to work out which signals you need access to, then put them into a text file to use with the "-afile" option, documented here

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information