Changing access policy for a register in different Map

Hi,
I have an IP, which can be accessed either by local bus/external bus. local bus/external bus will have different address map, for some registers access policy is different for both the access. May i know, how to implement it ?

In reply to voltron:

You are asking a strange question, because the register access pilocy is a register feature which is independent of the access through different buses. But if you want to have this behavior you have to use 2 different register models with the different access rights implemented.

In reply to chr_sue:

In the link given below, it is mentioned as

“A field is contained within a single register, but may have different access policies depending on the adddress map use the access the register (thus the field)”

https://verificationacademy.com/verification-methodology-reference/uvm/docs_1.1a/html/files/reg/uvm_reg_field-svh.html

In reply to voltron:

When you’re adding particular register into register map, you can set the access of register by configuring rights field(string) with appropriate attributes. As per my knowledge, each bus must be associated with specified register map.