From fdb75203cb8292ad07858e83c029c559bf4f44a2 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Tue, 14 Nov 2023 10:55:22 -0600 Subject: [PATCH 1/2] Added cbop to to rv32gc. --- config/rv32gc/config.vh | 2 +- sim/lint-wally | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rv32gc/config.vh b/config/rv32gc/config.vh index 69d3329f5..3b306a005 100644 --- a/config/rv32gc/config.vh +++ b/config/rv32gc/config.vh @@ -45,7 +45,7 @@ localparam ZFH_SUPPORTED = 0; localparam SSTC_SUPPORTED = 1; localparam ZICBOM_SUPPORTED = 1; localparam ZICBOZ_SUPPORTED = 1; -localparam ZICBOP_SUPPORTED = 0; +localparam ZICBOP_SUPPORTED = 1; localparam ZICCLSM_SUPPORTED = 0; localparam SVPBMT_SUPPORTED = 0; localparam SVNAPOT_SUPPORTED = 0; diff --git a/sim/lint-wally b/sim/lint-wally index 263fb864f..eb6ad62b0 100755 --- a/sim/lint-wally +++ b/sim/lint-wally @@ -5,7 +5,7 @@ export PATH=$PATH:/usr/local/bin/ verilator=`which verilator` basepath=$(dirname $0)/.. -for config in fpga rv32e rv64gc rv32gc rv32imc rv32i rv64i rv64fpquad; do +for config in rv32e rv64gc rv32gc rv32imc rv32i rv64i rv64fpquad; do #for config in rv64gc; do echo "$config linting..." if !($verilator --no-timing --lint-only "$@" --top-module wallywrapper "-I$basepath/config/shared" "-I$basepath/config/$config" $basepath/src/cvw.sv $basepath/testbench/wallywrapper.sv $basepath/src/*/*.sv $basepath/src/*/*/*.sv --relative-includes ); then From efc1d732d800b87128480d977d1b8e7480dcc43d Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Tue, 14 Nov 2023 12:57:44 -0600 Subject: [PATCH 2/2] Fixed the imperas testbench to be compatible with the config changes. --- testbench/testbench-imperas.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbench/testbench-imperas.sv b/testbench/testbench-imperas.sv index b503372d4..c27722f9f 100644 --- a/testbench/testbench-imperas.sv +++ b/testbench/testbench-imperas.sv @@ -237,7 +237,7 @@ module testbench; assign HRDATAEXT = 0; end - if(P.FPGA) begin : sdcard + if(P.SDC_SUPPORTED) begin : sdcard // *** fix later /* -----\/----- EXCLUDED -----\/----- sdModel sdcard