I'm facing an issue when trying to write to the EPN field while configuring TLBs. The final value being written does not match the value which I had set in code.
Here is what I was trying to do:
I was trying to set up a TLB with page size of 1M with EPN representing start address of 0x60080000. Once the code executed, I looked at the debugger and the EPN showed up as being set to represent address of 0x60000000. However, if I change the TLB size to 512k, the relevant TLB would work fine and show up as having EPN being set to 0x60080000.
Why am I not able to set the EPN to 0x60080000 when having TLB size of 1M? I was not able to find anything in the e200 manual.