In my case, the 2 interfaces dont have seperate Base Address. We differentiate them by writing a particular value into interface_no register. Eg., If IF1 wants to write the DUT registers, it writes the register address in a predefined address - say 1A. If IF2 wants to write the same regsiter, it writes the register address into -1B.
So,when I create the map for IF1 and IF2, BA and offset will be same
So, even if I pass the register map for IF1,IF2 during calls to write or read, will it be able to differentiate?
Or Should I pass any more options.