ggorman Posted February 11, 2012 Report Share Posted February 11, 2012 In a sequence, I normally call regmodel.reg_name.write(status, data); then it uses default_map For a different map, instead regmodel.reg_name.write(status,data,,alt_map); assuming alt_map is defined in regmodel What I'd like to do is to remove knowledge of the maps from the sequence so its read/write calls will be to different maps at the descretion of the test that starts the sequence. I don't think I wand to set regmodel.default_map = regmodel.alt_map before starting the sequence. Maybe I need to have the sequence always read and write with a local_map and set myseq.local_map = regmodel.alt_map or regmodel.default map before starting it? Something better? George Quote Link to comment Share on other sites More sharing options...
janick Posted February 13, 2012 Report Share Posted February 13, 2012 That's how I'd do it... 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.