Skip to content

Commit

Permalink
fixup! fixup! coherence: Pack Valid/Dirty SRAM (#36)
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Wistoff <[email protected]>
  • Loading branch information
niwis committed Sep 26, 2024
1 parent c3a24c1 commit ae42c74
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ endif
# cv64a6_imafdc_sv39, cv32a6_imac_sv0, cv32a6_imac_sv32, cv32a6_imafc_sv32, cv32a6_ima_sv32_fpga
# Changing the default target to cv32a60x for Step1 verification
target ?= cv64a6_imafdc_sv39
ifeq ($(target), cv64a6_imafdc_sv39)
XLEN ?= 64
else
XLEN ?= 32
endif
XLEN ?= 64
ifndef TARGET_CFG
export TARGET_CFG = $(target)
endif
Expand Down
2 changes: 1 addition & 1 deletion core/cache_subsystem/hpdcache
2 changes: 1 addition & 1 deletion corev_apu/fpga/src/bootrom/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
XLEN ?= 64
CROSSCOMPILE ?= riscv-none-elf-
CROSSCOMPILE ?= riscv64-unknown-elf-

ifeq ($(BOARD), nexys_video)
DRAM_SIZE_64 ?= 0x20000000 #512MB
Expand Down
2 changes: 1 addition & 1 deletion corev_apu/tb/ariane_tb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ int main(int argc, char **argv) {
#if (VERILATOR_VERSION_INTEGER >= 5000000)
// Verilator v5: Use rootp pointer and .data() accessor.
#define MEM top->rootp->ariane_testharness__DOT__i_sram__DOT__i_tc_sram__DOT__sram.m_storage
#define MEM_USER top->rootp->ariane_testharness__DOT__i_sram__DOT__gen_mem_user__DOT__itc_sram__DOT__sram.m_storage
#define MEM_USER top->rootp->ariane_testharness__DOT__i_sram__DOT__gen_mem_user__DOT__i_tc_sram__DOT__sram.m_storage
#else
// Verilator v4
#define MEM top->ariane_testharness__DOT__i_sram__DOT__i_tc_sram__DOT__sram
Expand Down
3 changes: 2 additions & 1 deletion verif/regress/dv-riscv-arch-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ! [ -n "$RISCV" ]; then
fi

# install the required tools
source ./verif/regress/install-verilator.sh
#source ./verif/regress/install-verilator.sh
source ./verif/regress/install-spike.sh
source verif/regress/install-riscv-arch-test.sh

Expand All @@ -36,4 +36,5 @@ else
fi

cd verif/sim
echo "python3 cva6.py --testlist=$TESTLIST --target $DV_TARGET --iss_yaml=cva6.yaml --iss=$DV_SIMULATORS $DV_OPTS --linker=../tests/riscv-arch-test/riscv-target/spike/link.ld"
python3 cva6.py --testlist=$TESTLIST --target $DV_TARGET --iss_yaml=cva6.yaml --iss=$DV_SIMULATORS $DV_OPTS --linker=../tests/riscv-arch-test/riscv-target/spike/link.ld
4 changes: 2 additions & 2 deletions verif/sim/cva6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ def check_cc_version():

cc_path = get_env_var("RISCV_CC")
cc_version = run_cmd(f"{cc_path} --version")
cc_version_string = cc_version.split("\n")[0].split(" ")[2]
cc_version_string = cc_version.split("\n")[0].split(" ")[3]
cc_version_number = re.split(r'\D+', cc_version_string)

logging.info(f"GCC Version: {cc_version_string}")
Expand Down Expand Up @@ -1283,7 +1283,7 @@ def main():
# Join the list back into a string
args.iss = ','.join(args_list)

check_tools_version()
# check_tools_version()

# create file handler which logs even debug messages13.1.1
fh = logging.FileHandler('logfile.log')
Expand Down

0 comments on commit ae42c74

Please sign in to comment.