diff options
Diffstat (limited to 'rtl/core/cp15/cpuid.sv')
| -rw-r--r-- | rtl/core/cp15/cpuid.sv | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rtl/core/cp15/cpuid.sv b/rtl/core/cp15/cpuid.sv new file mode 100644 index 0000000..fd24631 --- /dev/null +++ b/rtl/core/cp15/cpuid.sv @@ -0,0 +1,18 @@ +`include "core/uarch.sv" +`include "core/cp15/map.sv" + +module core_cp15_cpuid +( + output word read +); + + /* If an <opcode2> value corresponding to an unimplemented or + * reserved ID register is encountered, the System Control + * coprocessor returns the value of the main ID register. + * + * ARM810.pdf, p. 104: Reading from CP15 register 0 returns + * the value 0x4101810x. + */ + assign read = 32'h41018100; + +endmodule |
