From 76f4db5155c151311ae8812b3c7d0fe0055c58bf Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Mon, 16 Sep 2019 23:41:59 +0100 Subject: [PATCH] Compliance test suite: Prefer D over I accesses Give higher priority to data accesses from the CPU to improve performance. This is the recommended setup for Ibex. The test utility host needs still higher priority, otherwise the CPU takes all bus capacity (the downside of strict priority arbitration). --- dv/riscv_compliance/rtl/ibex_riscv_compliance.sv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv b/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv index c55ec67b..eaf7ba46 100644 --- a/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv +++ b/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv @@ -23,10 +23,11 @@ module ibex_riscv_compliance ( assign clk_sys = IO_CLK; assign rst_sys_n = IO_RST_N; + // Bus hosts, ordered in decreasing priority typedef enum { TestUtilHost, - CoreI, - CoreD + CoreD, + CoreI } bus_host_e; typedef enum {