Merge pull request #516 from davidharrishmc/dev

Imperas Testbench fix for SPI
This commit is contained in:
Rose Thompson 2023-12-07 10:29:19 -08:00 committed by GitHub
commit 14148933a3
3 changed files with 7 additions and 1 deletions

View File

@ -189,6 +189,9 @@ module testbench;
end
if (P.SDC_SUPPORTED) begin
void'(rvviRefMemorySetVolatile(P.SDC_BASE, (P.SDC_BASE + P.SDC_RANGE)));
end
if (P.SPI_SUPPORTED) begin
void'(rvviRefMemorySetVolatile(P.SPI_BASE, (P.SPI_BASE + P.SPI_RANGE)));
end
if(P.XLEN==32) begin

View File

@ -375,6 +375,9 @@ module testbench;
if (P.SDC_SUPPORTED) begin
void'(rvviRefMemorySetVolatile(P.SDC_BASE, (P.SDC_BASE + P.SDC_RANGE)));
end
if (P.SPI_SUPPORTED) begin
void'(rvviRefMemorySetVolatile(P.SPI_BASE, (P.SPI_BASE + P.SPI_RANGE)));
end
if(P.XLEN==32) begin
void'(rvviRefCsrSetVolatile(0, 32'hC80)); // CYCLEH

View File

@ -8,8 +8,8 @@ wally_workdir = $(work)/wally-riscv-arch-test
current_dir = $(shell pwd)
#XLEN ?= 64
#all: root wally32 wally64
all: root arch32 wally32 wally32e arch64 wally64
wally-riscv-arch-test: root wally32 wally64
root:
mkdir -p $(work_dir)