loki Posted September 14, 2011 Report Share Posted September 14, 2011 On page 118 of the UVM 1.1 (May 18, 2011), I do not understand this line of code: subblk.regmodel = regmodel.subblk; Shouldn't it be: subblk.regmodel = regmodel; Thanks. Quote Link to comment Share on other sites More sharing options...
uwes Posted September 14, 2011 Report Share Posted September 14, 2011 hi, i think the doc is correct: it sets the regmodel property of the subblock to the matching subblk of the register model. (your code would set the regmodel of the subblock to the same as the parent block) /uwe Quote Link to comment Share on other sites More sharing options...
loki Posted September 14, 2011 Author Report Share Posted September 14, 2011 I see. To each block of the entire register model corresponds a sub-environment, which gets a pointer to just that block of the register model. Thanks. 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.