kiranbhaskar Posted September 29, 2011 Report Share Posted September 29, 2011 Hi, I have a register sequence which reads two registers and resets the register model and then updates the reset value to the DUT. my sequence is class xyz extends uvm_reg_sequence task body read_reg(regmodel.SPICR,status,data); read_reg(regmodel.SPISR,status,data); regmodel.reset(); update_reg(regmodel.SPIDR,status,data) //and all other registers in the model. end Problem: Simulation stops at regmodel.reset(). The same sequence if written in the following manner works fine. class xyz extends uvm_reg_sequence task body regmodel.reset(); read_reg(regmodel.SPICR,status,data); read_reg(regmodel.SPISR,status,data); update_reg(regmodel.SPIDR,status,data) //and all other registers in the model. end why does the simulation stop in the first sequence??? regards, KB 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.