The TMR Manager and TMR Inject can be configured to restrict allowed accesses when one or
more of the connected masters provide the optional LMB_Prot signal. The
configuration parameter C_PROT_CFG defines if read or write access is
allowed for each of the four possible LMB_Prot signal values, as shown
in the following table.
| Access | LMB_Prot Value | C_PROT_CFG Bit | Description |
|---|---|---|---|
| Read | 00 | 0 | Read allowed when set to 1 |
| 01 | 1 | ||
| 10 | 2 | ||
| 11 | 3 | ||
| Write | 00 | 4 | Write allowed when set to 1 |
| 01 | 5 | ||
| 10 | 6 | ||
| 11 | 7 |
Typical configurations with read-write access for different LMB masters are exemplified in the following table.
| Master | Privilege Mode | C_PROT_CFG |
|---|---|---|
| MicroBlaze | Privileged Only | 0010 0010 |
| User Only | 0100 0100 | |
| Privileged and User | 0110 0110 | |
| MicroBlaze V | Machine Only | 0010 0010 |
| User Only | 0100 0100 | |
| Supervisor Only | 0001 0001 | |
| User and Supervisor | 0101 0101 | |
| AXI LMB Bridge | Privileged | 0010 0010 |
| Unprivileged | 0100 0100 |