Jump to content

uvm_reg_bit_bash_seq always write value 1

Recommended Posts

uvm_reg_bit_bash_seq always writes value 1, both the times and always keep the exp value to default value of the register.

in this sequence bash_kth_bit task i tried just adding rg.set(val) after write is done. it started working fine.

i am using uvm-1.0p1 version of UVM package.

Does anyone face this issue in uvm-1.1 also? or is it fixed in new version?

Link to comment
Share on other sites

i am just using uvm_reg_bit_bash_seq which is with UVM package. monitoring is not done in my defined sequence.

this is how i am using it.

uvm_reg_bit_bash_seq pie8_ral_seq = uvm_reg_bit_bash_seq::type_id::create("pie8_ral_seq",this)

pie8_ral_seq.model = tbEnv.regmodel;


Link to comment
Share on other sites

The pre-defined sequence depends on the mirror being properly updated in a timely manner between consecutive register operations. I suspect that it is that mirror update that is too slow.

Make a copy of the pre-defined sequence and add a delay before a register read or write and see if that fixes it. if it does, your monitoring path is slower than your stimulus path.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...