KestrelComputer / polaris

RISC-V RV64IS-compatible processor for the Kestrel-3
Mozilla Public License 2.0
21 stars 9 forks source link

mimpid register identifies as 116100801; change to 2016101600. #10

Closed sam-falvo closed 8 years ago

sam-falvo commented 8 years ago

I had intended the leading nybble to identify whether it was a Polaris-1, Polaris-2, etc. part. However, since I'm abandoning that naming scheme, I can free the nybble up to represent the leading digit of a full 4-digit year instead.

The remaining digits were in YYMMDDpp format (where pp was the semver concept of a patch number). The new format should read YYYYMMDDpp instead.

sam-falvo commented 8 years ago

U-mode does not expose an impid register. Emulate this in software.