Spike, a RISC-V ISA Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
732 B

/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
cpus { // Container for all CPU cores
#address-cells = <1>; // CPU children use 1 cell for hartid
#size-cells = <0>; // CPU children don't specify size
timebase-frequency = <10000000>; // Timer ticks at 10 MHz (for OS timing)
CPU0: cpu@0 { // First CPU core (label: CPU0, unit address: 0)
device_type = "cpu"; // Identifies this as a CPU device
reg = <0>; // Hartid = 0 (hardware thread ID)
riscv,isa = "rv64imafdc"; // ISA: RV64 with I,M,A,F,D,C extensions
};
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>; // 256MB
};
};