mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge pull request #550 from davidharrishmc/dev
Fixed unsupported riscof YAML string; preparing for Verilator -G test case
This commit is contained in:
		
						commit
						564b5abeb5
					
				| @ -1,6 +1,8 @@ | ||||
| #!/bin/bash | ||||
| # simulate with Verilator | ||||
| 
 | ||||
| # verilator --timescale "1ns/1ns" --timing --binary -GTEST="arch64i" --top-module testbench "-I../config/shared" "-I../config/rv64gc" ../src/cvw.sv ../testbench/testbench.sv ../testbench/common/*.sv ../src/*/*.sv ../src/*/*/*.sv --relative-includes | ||||
| 
 | ||||
| export PATH=$PATH:/usr/local/bin/ | ||||
| verilator=`which verilator` | ||||
| 
 | ||||
| @ -9,7 +11,7 @@ basepath=$(dirname $0)/.. | ||||
| for config in  rv64gc; do | ||||
|     echo "$config simulating..." | ||||
|     # not working: -GTEST="arch64i" | ||||
|     if !($verilator --timescale "1ns/1ns" --timing --binary "$@" --top-module testbench "-I$basepath/config/shared" "-I$basepath/config/$config" $basepath/src/cvw.sv $basepath/testbench/testbench.sv $basepath/testbench/common/*.sv   $basepath/src/*/*.sv $basepath/src/*/*/*.sv --relative-includes ); then | ||||
|     if !($verilator --timescale "1ns/1ns" --timing --binary "$@" -GTEST="arch64i" --top-module testbench "-I$basepath/config/shared" "-I$basepath/config/$config" $basepath/src/cvw.sv $basepath/testbench/testbench.sv $basepath/testbench/common/*.sv   $basepath/src/*/*.sv $basepath/src/*/*/*.sv --relative-includes ); then | ||||
|         echo "Exiting after $config lint due to errors or warnings" | ||||
|         exit 1 | ||||
|     fi | ||||
|  | ||||
| @ -35,7 +35,7 @@ module testbench; | ||||
|   /* verilator lint_off WIDTHTRUNC */ | ||||
|   /* verilator lint_off WIDTHEXPAND */ | ||||
|   parameter DEBUG=0; | ||||
|   parameter TEST="none"; | ||||
|   parameter string TEST="arch64m"; | ||||
|   parameter PrintHPMCounters=0; | ||||
|   parameter BPRED_LOGGER=0; | ||||
|   parameter I_CACHE_ADDR_LOGGER=0; | ||||
|  | ||||
| @ -1,7 +1,8 @@ | ||||
| hart_ids: [0] | ||||
| hart0: | ||||
| #  ISA: RV64IMAFDCSUZicsr_Zicboz_Zifencei_Zbb_Zbc_Zbs # Zkbs_Zcb | ||||
|   ISA: RV64IMAFDCSUZicsr_Zifencei_Zca_Zcb_Zbb_Zbc_Zbs # Zkbs_Zcb | ||||
| #  ISA: RV64IMAFDCSUZicsr_Zifencei_Zca_Zcb_Zbb_Zbc_Zbs # Zkbs_Zcb | ||||
|   ISA: RV64IMAFDCSUZicsr_Zifencei_Zbb_Zbc_Zbs # Zkbs_Zcb | ||||
|   physical_addr_sz: 56 | ||||
|   User_Spec_Version: '2.3' | ||||
|   supported_xlen: [64] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user