Author Topic: CPU registers - emulated or real?  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

Offline JaneTopic starter

  • Frequent Contributor
  • **
  • Posts: 381
CPU registers - emulated or real?
« on: October 31, 2015, 02:56:10 pm »
I started recently playing with a MIPS CPU( made by Broadcom). As far as I know it allows to use a Broadband Studio to communicate with that CPU.
That MIPS CPU has  Read/Write registers. I can write to these registers and in the Broadband studio I can see the new value was written. But if I restart mainboard, that uses the  MIPS CPU, there is the previous value before I changed it.
Do you think the Broadband studio only emulates those registers and I write to not the real registers?
I used a logic analyzer to check how  the Broadband studio writes to registers.
It does write to CPU but the address is different than a documentation says.
For example
Address Offset = 32'h001a_00d8
Physical Address = 32'h101a_00d8

but I can not see that address during sniffing with a logic analyzer
Any idea?



 

Offline Paul Price

  • Super Contributor
  • ***
  • Posts: 1419
Re: CPU registers - emulated or real?
« Reply #1 on: October 31, 2015, 04:30:10 pm »
The upper address bit is probably ignored in decoding the address of the registers for reading and writting.

The registers are probably not reset when you restart the mainboard, so the previous values remain.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf