qwerty Posted April 24, 2017 Report Share Posted April 24, 2017 Hi, We have single register space and 3 masters can accessing that space. I want all the masters to access those registers parallely. What can be the best possible way to do it. Currently, I have to select one at compilation time. Thanks Quote Link to comment Share on other sites More sharing options...
Logger Posted April 28, 2017 Report Share Posted April 28, 2017 You need to provide more detail. Like, why do you currently have to select one at compilation time? What exactly do you mean by parallel access? Do you have 3 separate physical interfaces which can simultaneously access the same register? Or as often the case, do you have 3 masters which can all access the same registers via a fabric and a single physical interface to the registers? What are you using for your register model? RAL ( uvm_reg ) ? Quote Link to comment Share on other sites More sharing options...
qwerty Posted April 28, 2017 Author Report Share Posted April 28, 2017 yes, i am using uvm_reg. There are 3 separate interfaces pcie, spi and i2c which can access same set of registers/memory. Thanks Quote Link to comment Share on other sites More sharing options...
Logger Posted May 5, 2017 Report Share Posted May 5, 2017 You should use a register model with multiple uvm_reg_maps. One per interface. Assuming you're generating your register model using some sort of tool (rather than by hand), you need to find out how your tool supports that. 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.