forked from Firmware/Firmwares
extend spn_checker to comapre the results from 2nd XSPN accelerator
This commit is contained in:
@ -14,8 +14,7 @@ LINK_TARGET=flash
|
||||
RISCV_ARCH=rv32imac
|
||||
RISCV_ABI=ilp32
|
||||
|
||||
TOOL_DIR=/home/stas/Downloads/riscv64-unknown-elf-gcc-8.3.0-2020.04.0-x86_64-linux-ubuntu14/bin
|
||||
#TOOL_DIR?=/opt/riscv/FreedomStudio/20180122/SiFive/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin
|
||||
TOOL_DIR=/opt/shared/riscv/tools/Ubuntu/riscv64-unknown-elf-gcc-8.3.0-2020.04.1-x86_64-linux-ubuntu14/bin
|
||||
|
||||
BSP_BASE = ./bsp
|
||||
include $(BSP_BASE)/env/common.mk
|
||||
|
Binary file not shown.
@ -93,7 +93,7 @@ void platform_init(){
|
||||
int main() {
|
||||
volatile int * target_mem_base = (int *)(end + 0x10000000);
|
||||
int * local_mem_base = (int *) end;
|
||||
int * plic_b_pending = (int *)(0xA0000000+PLIC_PENDING_OFFSET);
|
||||
int * plic_b_pending = (int *)(0xC0000000+PLIC_PENDING_OFFSET);
|
||||
|
||||
int hartid = read_csr(mhartid);
|
||||
|
||||
|
Reference in New Issue
Block a user