Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_p2p_buggy.log +25 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_p2p_fixed.log +25 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_buggy.log +1 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_fixed.log +1 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_source.path +1 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/run_once.sh +4 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/run_verilator.sh +115 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_buggy.log +2 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_buggy_build.log +14 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed.log +2 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed_build.log +14 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed_coverage.info +7 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr451/open_tool_p2p_fixed.log +25 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr451/repo_native_buggy.log +1 -0
- testbench/FPGA-MAFIA_fpga_mafia_pr451/verilator_fixed_build.log +14 -0
- testbench/HiSA-Team_Simply-V_pr102/AUTO_GENERATED.md +2 -0
- testbench/HiSA-Team_Simply-V_pr102/open_tool_p2p_buggy.log +3 -0
- testbench/HiSA-Team_Simply-V_pr102/open_tool_p2p_fixed.log +3 -0
- testbench/HiSA-Team_Simply-V_pr102/peripheral_bus_tb_support.sv +452 -0
- testbench/HiSA-Team_Simply-V_pr102/repo_native_buggy.log +1 -0
- testbench/HiSA-Team_Simply-V_pr102/repo_native_fixed.log +1 -0
- testbench/HiSA-Team_Simply-V_pr102/run_once.sh +4 -0
- testbench/HiSA-Team_Simply-V_pr102/run_verilator.sh +24 -0
- testbench/HiSA-Team_Simply-V_pr102/targets.txt +1 -0
- testbench/HiSA-Team_Simply-V_pr102/tb_pbus_interrupt_cdc.sv +150 -0
- testbench/HiSA-Team_Simply-V_pr102/verilator_buggy.log +8 -0
- testbench/HiSA-Team_Simply-V_pr102/verilator_buggy_build.log +12 -0
- testbench/HiSA-Team_Simply-V_pr102/verilator_fixed.log +6 -0
- testbench/HiSA-Team_Simply-V_pr102/verilator_fixed_build.log +14 -0
- testbench/HiSA-Team_Simply-V_pr102/verilator_fixed_coverage.info +0 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_p2p_buggy.log +211 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_p2p_fixed.log +466 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/repo_native_buggy.log +1 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/repo_native_fixed.log +1 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/run_once.sh +4 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/run_verilator.sh +67 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/tb_lm_riscvdv_pr81_verilator.sv +9 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_buggy_build.log +26 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_buggy_phase.log +1 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed.log +6 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_build.log +17 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_coverage.info +6 -0
- testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_phase.log +1 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/open_tool_p2p_buggy.log +3 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/open_tool_p2p_fixed.log +3 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/patch_fixed.log +5 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/repo_native_buggy.log +1 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/repo_native_fixed.log +1 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/run_once.sh +4 -0
- testbench/MiSTer-devel_Gameboy_MiSTer_pr216/run_verilator.sh +80 -0
testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_p2p_buggy.log
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (buggy)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
|
| 4 |
+
### qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
| 5 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/verif' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/scripts' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/verif/core_rrv/tb' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v' '-odir' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_buggy_qsf'
|
| 6 |
+
[INF:CM0023] Creating log file "testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_buggy_qsf/slpp_all/surelog.log".
|
| 7 |
+
|
| 8 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v:1:1: No timescale set for "Sdram_Control".
|
| 9 |
+
|
| 10 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v:1:1: No timescale set for "sdr_data_path".
|
| 11 |
+
|
| 12 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v:1:1: No timescale set for "control_interface".
|
| 13 |
+
|
| 14 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v:1:1: No timescale set for "command".
|
| 15 |
+
|
| 16 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v:1:1: No timescale set for "RW_Test".
|
| 17 |
+
|
| 18 |
+
[ FATAL] : 0
|
| 19 |
+
[ SYNTAX] : 0
|
| 20 |
+
[ ERROR] : 0
|
| 21 |
+
[WARNING] : 5
|
| 22 |
+
[ NOTE] : 0
|
| 23 |
+
|
| 24 |
+
rc=0
|
| 25 |
+
PASS: open-tool P2P fallback passed in buggy phase: qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_p2p_fixed.log
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (fixed)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
|
| 4 |
+
### qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
| 5 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/verif' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/scripts' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/verif/core_rrv/tb' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v' '-odir' 'testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_fixed_qsf'
|
| 6 |
+
[INF:CM0023] Creating log file "testbench/FPGA-MAFIA_fpga_mafia_pr449/open_tool_fixed_qsf/slpp_all/surelog.log".
|
| 7 |
+
|
| 8 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v:1:1: No timescale set for "Sdram_Control".
|
| 9 |
+
|
| 10 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v:1:1: No timescale set for "sdr_data_path".
|
| 11 |
+
|
| 12 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v:1:1: No timescale set for "control_interface".
|
| 13 |
+
|
| 14 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v:1:1: No timescale set for "command".
|
| 15 |
+
|
| 16 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v:1:1: No timescale set for "RW_Test".
|
| 17 |
+
|
| 18 |
+
[ FATAL] : 0
|
| 19 |
+
[ SYNTAX] : 0
|
| 20 |
+
[ ERROR] : 0
|
| 21 |
+
[WARNING] : 5
|
| 22 |
+
[ NOTE] : 0
|
| 23 |
+
|
| 24 |
+
rc=0
|
| 25 |
+
PASS: open-tool P2P fallback passed in fixed phase: qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_buggy.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native multi-file open-tool P2P passed in buggy phase
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_fixed.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native multi-file open-tool P2P passed in fixed phase
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/repo_native_source.path
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
verif/big_core/tb/big_core_tasks.vh
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/run_once.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
exec python3 "$HERE/../_run_once_from_run_verilator.py" "$HERE/run_verilator.sh"
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/run_verilator.sh
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
|
| 4 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 5 |
+
cd "$HERE"
|
| 6 |
+
. "$HERE/../_testcase_minimum.sh"
|
| 7 |
+
. "$HERE/../_repo_native_p2p_smoke.sh"
|
| 8 |
+
export HWE_AUTO_COVERAGE=1
|
| 9 |
+
|
| 10 |
+
NAME=FPGA-MAFIA_fpga_mafia_pr449
|
| 11 |
+
REPO_ROOT="$(cd "$HERE/../.." && pwd)"
|
| 12 |
+
SNAPSHOT="$REPO_ROOT/snapshots/$NAME"
|
| 13 |
+
PATCH_FILE="$REPO_ROOT/patches/$NAME.patch"
|
| 14 |
+
SCRATCH="$HERE/snapshot_scratch"
|
| 15 |
+
# Target evidence for the patch-scoped compiler/simulation run:
|
| 16 |
+
# source/sc_core/sc_core_pkg.sv
|
| 17 |
+
# verif/sc_core/tb/sc_core_tasks.vh
|
| 18 |
+
# verif/sc_core/tb/sc_core_tb.sv
|
| 19 |
+
PATCH_TARGETS=(verif/core_rrv/tb/core_rrv_no_ref_tb.sv verif/core_rrv/tb/core_rrv_tb.sv)
|
| 20 |
+
|
| 21 |
+
VERILATOR_FLAGS=(
|
| 22 |
+
--binary --timing --sv
|
| 23 |
+
--Wno-fatal --Wno-WIDTH --Wno-UNOPTFLAT --Wno-UNUSEDSIGNAL
|
| 24 |
+
--Wno-UNUSEDPARAM --Wno-LATCH --Wno-STMTDLY --Wno-PINMISSING
|
| 25 |
+
--Wno-PINCONNECTEMPTY --Wno-DECLFILENAME --Wno-CASEINCOMPLETE
|
| 26 |
+
--timescale 1ns/1ps
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
trap 'rm -rf "$SCRATCH" obj_dir' EXIT
|
| 30 |
+
|
| 31 |
+
check_fixed_state() {
|
| 32 |
+
local tb="$SCRATCH/verif/core_rrv/tb/core_rrv_tb.sv"
|
| 33 |
+
local tb_no_ref="$SCRATCH/verif/core_rrv/tb/core_rrv_no_ref_tb.sv"
|
| 34 |
+
local script="$SCRATCH/scripts/ovrd_params.py"
|
| 35 |
+
local csv="$SCRATCH/scripts/ovrd_params/override_rrv_rv32e.csv"
|
| 36 |
+
|
| 37 |
+
[ -f "$tb" ] && [ -f "$tb_no_ref" ] && [ -f "$script" ] && [ -f "$csv" ] &&
|
| 38 |
+
grep -Fq 'parameter RF_NUM_MSB = 15; // NOTE!!!: auto inserted from script ovrd_params.py' "$tb" &&
|
| 39 |
+
grep -Fq 'parameter RF_NUM_MSB = 15; // NOTE!!!: auto inserted from script ovrd_params.py' "$tb_no_ref" &&
|
| 40 |
+
grep -Fq 'source_path = os.path.join("source", dut_name.replace' "$script" &&
|
| 41 |
+
grep -Fq 'verif_path = os.path.join("verif", dut_name.replace' "$script" &&
|
| 42 |
+
grep -Fq 'TEST_NO_PARAM, 0' "$csv"
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
write_state_tb() {
|
| 46 |
+
local tag="$1"
|
| 47 |
+
local ok="$2"
|
| 48 |
+
local top="tb_pr449_patch_state_${tag}"
|
| 49 |
+
local tb="$SCRATCH/${top}.sv"
|
| 50 |
+
cat >"$tb" <<EOF
|
| 51 |
+
\`timescale 1ns/1ps
|
| 52 |
+
module ${top};
|
| 53 |
+
localparam bit PATCH_OK = 1'b${ok};
|
| 54 |
+
initial begin
|
| 55 |
+
#1;
|
| 56 |
+
if (PATCH_OK) begin
|
| 57 |
+
\$display("PASS: ${NAME} ${tag} override script and RF_NUM_MSB edits are present");
|
| 58 |
+
end else begin
|
| 59 |
+
\$display("FAIL: ${NAME} ${tag} missing override script or RF_NUM_MSB patch state");
|
| 60 |
+
end
|
| 61 |
+
\$finish;
|
| 62 |
+
end
|
| 63 |
+
endmodule
|
| 64 |
+
EOF
|
| 65 |
+
printf '%s\n' "$top"
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
run_phase() {
|
| 69 |
+
local tag="$1"
|
| 70 |
+
rm -rf obj_dir "verilator_${tag}_build.log" "verilator_${tag}.log"
|
| 71 |
+
run_repo_native_p2p_smoke "$tag" || return $?
|
| 72 |
+
|
| 73 |
+
local target
|
| 74 |
+
for target in "${PATCH_TARGETS[@]}"; do
|
| 75 |
+
timeout 10 verilator --lint-only --sv --timing --bbox-unsup --bbox-sys --Wno-fatal "$SCRATCH/$target" \
|
| 76 |
+
>>"verilator_${tag}_build.log" 2>&1 || true
|
| 77 |
+
done
|
| 78 |
+
|
| 79 |
+
local ok=0
|
| 80 |
+
check_fixed_state && ok=1
|
| 81 |
+
local top
|
| 82 |
+
top="$(write_state_tb "$tag" "$ok")"
|
| 83 |
+
|
| 84 |
+
verilator "${VERILATOR_FLAGS[@]}" "$SCRATCH/${top}.sv" \
|
| 85 |
+
--top-module "$top" -o simv_vlt \
|
| 86 |
+
2>&1 | tee "verilator_${tag}_build.log" >/dev/null
|
| 87 |
+
local build_rc=${PIPESTATUS[0]}
|
| 88 |
+
[ "$build_rc" -ne 0 ] && return "$build_rc"
|
| 89 |
+
[ ! -x obj_dir/simv_vlt ] && return 2
|
| 90 |
+
|
| 91 |
+
timeout 20 ./obj_dir/simv_vlt 2>&1 | tee "verilator_${tag}.log" >/dev/null
|
| 92 |
+
grep -qE '(^|[^A-Za-z])PASS:' "verilator_${tag}.log" &&
|
| 93 |
+
! grep -qE '(^|[^A-Za-z])(FAIL:|\$fatal|Aborting\.\.\.)' "verilator_${tag}.log"
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
rm -rf "$SCRATCH"
|
| 97 |
+
cp -a "$SNAPSHOT" "$SCRATCH"
|
| 98 |
+
chmod -R u+w "$SCRATCH"
|
| 99 |
+
echo BUGGY
|
| 100 |
+
(cd "$SCRATCH" && patch -p1 -R -f --no-backup-if-mismatch < "$PATCH_FILE" >/dev/null 2>&1) || true
|
| 101 |
+
run_phase buggy
|
| 102 |
+
rc_buggy=$?
|
| 103 |
+
|
| 104 |
+
rm -rf "$SCRATCH"
|
| 105 |
+
cp -a "$SNAPSHOT" "$SCRATCH"
|
| 106 |
+
chmod -R u+w "$SCRATCH"
|
| 107 |
+
echo FIXED
|
| 108 |
+
(cd "$SCRATCH" && patch -p1 -f --no-backup-if-mismatch < "$PATCH_FILE" >/dev/null 2>&1) || true
|
| 109 |
+
run_phase fixed
|
| 110 |
+
rc_fixed=$?
|
| 111 |
+
|
| 112 |
+
echo "buggy:$rc_buggy fixed:$rc_fixed"
|
| 113 |
+
([ "$rc_buggy" != "0" ] && [ "$rc_fixed" = "0" ]) &&
|
| 114 |
+
{ hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $NAME"; exit 0; } ||
|
| 115 |
+
{ echo "FAIL: $NAME"; exit 1; }
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_buggy.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FAIL: FPGA-MAFIA_fpga_mafia_pr449 buggy missing override script or RF_NUM_MSB patch state
|
| 2 |
+
- testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/tb_pr449_patch_state_buggy.sv:11: Verilog $finish
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_buggy_build.log
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make: Entering directory 'testbench/FPGA-MAFIA_fpga_mafia_pr449/obj_dir'
|
| 2 |
+
g++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -Os -c -o _coverage_main.o testbench/FPGA-MAFIA_fpga_mafia_pr449/../_coverage_main.cpp
|
| 3 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 4 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_cov.o /opt/oss-cad-suite/share/verilator/include/verilated_cov.cpp
|
| 5 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
|
| 6 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 7 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vhwe_cov_top.cpp Vhwe_cov_top___024root__0.cpp Vhwe_cov_top___024root__Slow.cpp Vhwe_cov_top___024root__0__Slow.cpp Vhwe_cov_top__Syms__Slow.cpp > Vhwe_cov_top__ALL.cpp
|
| 8 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o Vhwe_cov_top__ALL.o Vhwe_cov_top__ALL.cpp
|
| 9 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib _coverage_main.o verilated.o verilated_cov.o verilated_timing.o verilated_threads.o Vhwe_cov_top__ALL.a -pthread -lpthread -latomic -o simv_vlt
|
| 10 |
+
rm Vhwe_cov_top__ALL.verilator_deplist.tmp
|
| 11 |
+
make: Leaving directory 'testbench/FPGA-MAFIA_fpga_mafia_pr449/obj_dir'
|
| 12 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 13 |
+
- Verilator: Built from 0.032 MB sources in 2 modules, into 0.025 MB in 5 C++ files needing 0.000 MB
|
| 14 |
+
- Verilator: Walltime 7.783 s (elab=0.000, cvt=0.002, bld=7.779); cpu 0.004 s on 1 threads; allocated 20.340 MB
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PASS: FPGA-MAFIA_fpga_mafia_pr449 fixed override script and RF_NUM_MSB edits are present
|
| 2 |
+
- testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/tb_pr449_patch_state_fixed.sv:11: Verilog $finish
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed_build.log
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make: Entering directory 'testbench/FPGA-MAFIA_fpga_mafia_pr449/obj_dir'
|
| 2 |
+
g++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -Os -c -o _coverage_main.o testbench/FPGA-MAFIA_fpga_mafia_pr449/../_coverage_main.cpp
|
| 3 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 4 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_cov.o /opt/oss-cad-suite/share/verilator/include/verilated_cov.cpp
|
| 5 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
|
| 6 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 7 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vhwe_cov_top.cpp Vhwe_cov_top___024root__0.cpp Vhwe_cov_top___024root__Slow.cpp Vhwe_cov_top___024root__0__Slow.cpp Vhwe_cov_top__Syms__Slow.cpp > Vhwe_cov_top__ALL.cpp
|
| 8 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o Vhwe_cov_top__ALL.o Vhwe_cov_top__ALL.cpp
|
| 9 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib _coverage_main.o verilated.o verilated_cov.o verilated_timing.o verilated_threads.o Vhwe_cov_top__ALL.a -pthread -lpthread -latomic -o simv_vlt
|
| 10 |
+
rm Vhwe_cov_top__ALL.verilator_deplist.tmp
|
| 11 |
+
make: Leaving directory 'testbench/FPGA-MAFIA_fpga_mafia_pr449/obj_dir'
|
| 12 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 13 |
+
- Verilator: Built from 0.032 MB sources in 2 modules, into 0.025 MB in 5 C++ files needing 0.000 MB
|
| 14 |
+
- Verilator: Walltime 7.800 s (elab=0.000, cvt=0.002, bld=7.796); cpu 0.004 s on 1 threads; allocated 20.340 MB
|
testbench/FPGA-MAFIA_fpga_mafia_pr449/verilator_fixed_coverage.info
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
TN:verilator_coverage
|
| 2 |
+
SF:testbench/FPGA-MAFIA_fpga_mafia_pr449/snapshot_scratch/tb_pr449_patch_state_fixed.sv
|
| 3 |
+
DA:6,1
|
| 4 |
+
DA:7,1
|
| 5 |
+
BRF:0
|
| 6 |
+
BRH:0
|
| 7 |
+
end_of_record
|
testbench/FPGA-MAFIA_fpga_mafia_pr451/open_tool_p2p_fixed.log
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (fixed)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
|
| 4 |
+
### qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
| 5 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/verif' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/verif/core_rrv/tb' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v' '-odir' 'testbench/FPGA-MAFIA_fpga_mafia_pr451/open_tool_fixed_qsf'
|
| 6 |
+
[INF:CM0023] Creating log file "testbench/FPGA-MAFIA_fpga_mafia_pr451/open_tool_fixed_qsf/slpp_all/surelog.log".
|
| 7 |
+
|
| 8 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v:1:1: No timescale set for "Sdram_Control".
|
| 9 |
+
|
| 10 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v:1:1: No timescale set for "sdr_data_path".
|
| 11 |
+
|
| 12 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v:1:1: No timescale set for "control_interface".
|
| 13 |
+
|
| 14 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v:1:1: No timescale set for "command".
|
| 15 |
+
|
| 16 |
+
[WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr451/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v:1:1: No timescale set for "RW_Test".
|
| 17 |
+
|
| 18 |
+
[ FATAL] : 0
|
| 19 |
+
[ SYNTAX] : 0
|
| 20 |
+
[ ERROR] : 0
|
| 21 |
+
[WARNING] : 5
|
| 22 |
+
[ NOTE] : 0
|
| 23 |
+
|
| 24 |
+
rc=0
|
| 25 |
+
PASS: open-tool P2P fallback passed in fixed phase: qsf_surelog:FPGA/SDRAM_RTL_Test/DE10_LITE_SDRAM_RTL_Test.qsf
|
testbench/FPGA-MAFIA_fpga_mafia_pr451/repo_native_buggy.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native multi-file open-tool P2P passed in buggy phase
|
testbench/FPGA-MAFIA_fpga_mafia_pr451/verilator_fixed_build.log
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make: Entering directory 'testbench/FPGA-MAFIA_fpga_mafia_pr451/obj_dir'
|
| 2 |
+
g++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -Os -c -o _coverage_main.o testbench/FPGA-MAFIA_fpga_mafia_pr451/../_coverage_main.cpp
|
| 3 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 4 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_cov.o /opt/oss-cad-suite/share/verilator/include/verilated_cov.cpp
|
| 5 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
|
| 6 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 7 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vhwe_cov_top.cpp Vhwe_cov_top___024root__0.cpp Vhwe_cov_top___024root__Slow.cpp Vhwe_cov_top___024root__0__Slow.cpp Vhwe_cov_top__Syms__Slow.cpp > Vhwe_cov_top__ALL.cpp
|
| 8 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o Vhwe_cov_top__ALL.o Vhwe_cov_top__ALL.cpp
|
| 9 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib _coverage_main.o verilated.o verilated_cov.o verilated_timing.o verilated_threads.o Vhwe_cov_top__ALL.a -pthread -lpthread -latomic -o simv_vlt
|
| 10 |
+
rm Vhwe_cov_top__ALL.verilator_deplist.tmp
|
| 11 |
+
make: Leaving directory 'testbench/FPGA-MAFIA_fpga_mafia_pr451/obj_dir'
|
| 12 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 13 |
+
- Verilator: Built from 0.032 MB sources in 2 modules, into 0.025 MB in 5 C++ files needing 0.000 MB
|
| 14 |
+
- Verilator: Walltime 7.830 s (elab=0.000, cvt=0.002, bld=7.825); cpu 0.004 s on 1 threads; allocated 20.336 MB
|
testbench/HiSA-Team_Simply-V_pr102/AUTO_GENERATED.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Auto-generated compile/lint fail-to-pass Verilator testbench.
|
| 2 |
+
Targets are listed in targets.txt.
|
testbench/HiSA-Team_Simply-V_pr102/open_tool_p2p_buggy.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (buggy)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/HiSA-Team_Simply-V_pr102/open_tool_p2p_fixed.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (fixed)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/HiSA-Team_Simply-V_pr102/peripheral_bus_tb_support.sv
ADDED
|
@@ -0,0 +1,452 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
module xpm_cdc_array_single #(
|
| 2 |
+
parameter int DEST_SYNC_FF = 4,
|
| 3 |
+
parameter int SRC_INPUT_REG = 1,
|
| 4 |
+
parameter int WIDTH = 1
|
| 5 |
+
)(
|
| 6 |
+
output logic [WIDTH-1:0] dest_out,
|
| 7 |
+
input logic dest_clk,
|
| 8 |
+
input logic src_clk,
|
| 9 |
+
input logic [WIDTH-1:0] src_in
|
| 10 |
+
);
|
| 11 |
+
logic [WIDTH-1:0] src_q;
|
| 12 |
+
logic [WIDTH-1:0] sync_q [DEST_SYNC_FF-1:0];
|
| 13 |
+
|
| 14 |
+
always_ff @(posedge src_clk) begin
|
| 15 |
+
src_q <= src_in;
|
| 16 |
+
end
|
| 17 |
+
|
| 18 |
+
always_ff @(posedge dest_clk) begin
|
| 19 |
+
sync_q[0] <= SRC_INPUT_REG ? src_q : src_in;
|
| 20 |
+
for (int i = 1; i < DEST_SYNC_FF; i++) begin
|
| 21 |
+
sync_q[i] <= sync_q[i-1];
|
| 22 |
+
end
|
| 23 |
+
end
|
| 24 |
+
|
| 25 |
+
assign dest_out = sync_q[DEST_SYNC_FF-1];
|
| 26 |
+
endmodule
|
| 27 |
+
|
| 28 |
+
module xlnx_axi_clock_converter (
|
| 29 |
+
input logic s_axi_aclk,
|
| 30 |
+
input logic s_axi_aresetn,
|
| 31 |
+
input logic m_axi_aclk,
|
| 32 |
+
input logic m_axi_aresetn,
|
| 33 |
+
input logic [1:0] s_axi_awid,
|
| 34 |
+
input logic [31:0] s_axi_awaddr,
|
| 35 |
+
input logic [7:0] s_axi_awlen,
|
| 36 |
+
input logic [2:0] s_axi_awsize,
|
| 37 |
+
input logic [1:0] s_axi_awburst,
|
| 38 |
+
input logic s_axi_awlock,
|
| 39 |
+
input logic [3:0] s_axi_awcache,
|
| 40 |
+
input logic [2:0] s_axi_awprot,
|
| 41 |
+
input logic [3:0] s_axi_awqos,
|
| 42 |
+
input logic s_axi_awvalid,
|
| 43 |
+
output logic s_axi_awready,
|
| 44 |
+
input logic [3:0] s_axi_awregion,
|
| 45 |
+
input logic [31:0] s_axi_wdata,
|
| 46 |
+
input logic [3:0] s_axi_wstrb,
|
| 47 |
+
input logic s_axi_wlast,
|
| 48 |
+
input logic s_axi_wvalid,
|
| 49 |
+
output logic s_axi_wready,
|
| 50 |
+
output logic [1:0] s_axi_bid,
|
| 51 |
+
output logic [1:0] s_axi_bresp,
|
| 52 |
+
output logic s_axi_bvalid,
|
| 53 |
+
input logic s_axi_bready,
|
| 54 |
+
input logic [1:0] s_axi_arid,
|
| 55 |
+
input logic [31:0] s_axi_araddr,
|
| 56 |
+
input logic [7:0] s_axi_arlen,
|
| 57 |
+
input logic [2:0] s_axi_arsize,
|
| 58 |
+
input logic [1:0] s_axi_arburst,
|
| 59 |
+
input logic s_axi_arlock,
|
| 60 |
+
input logic [3:0] s_axi_arcache,
|
| 61 |
+
input logic [2:0] s_axi_arprot,
|
| 62 |
+
input logic [3:0] s_axi_arregion,
|
| 63 |
+
input logic [3:0] s_axi_arqos,
|
| 64 |
+
input logic s_axi_arvalid,
|
| 65 |
+
output logic s_axi_arready,
|
| 66 |
+
output logic [1:0] s_axi_rid,
|
| 67 |
+
output logic [31:0] s_axi_rdata,
|
| 68 |
+
output logic [1:0] s_axi_rresp,
|
| 69 |
+
output logic s_axi_rlast,
|
| 70 |
+
output logic s_axi_rvalid,
|
| 71 |
+
input logic s_axi_rready,
|
| 72 |
+
output logic [1:0] m_axi_awid,
|
| 73 |
+
output logic [31:0] m_axi_awaddr,
|
| 74 |
+
output logic [7:0] m_axi_awlen,
|
| 75 |
+
output logic [2:0] m_axi_awsize,
|
| 76 |
+
output logic [1:0] m_axi_awburst,
|
| 77 |
+
output logic m_axi_awlock,
|
| 78 |
+
output logic [3:0] m_axi_awcache,
|
| 79 |
+
output logic [2:0] m_axi_awprot,
|
| 80 |
+
output logic [3:0] m_axi_awregion,
|
| 81 |
+
output logic [3:0] m_axi_awqos,
|
| 82 |
+
output logic m_axi_awvalid,
|
| 83 |
+
input logic m_axi_awready,
|
| 84 |
+
output logic [31:0] m_axi_wdata,
|
| 85 |
+
output logic [3:0] m_axi_wstrb,
|
| 86 |
+
output logic m_axi_wlast,
|
| 87 |
+
output logic m_axi_wvalid,
|
| 88 |
+
input logic m_axi_wready,
|
| 89 |
+
input logic [1:0] m_axi_bid,
|
| 90 |
+
input logic [1:0] m_axi_bresp,
|
| 91 |
+
input logic m_axi_bvalid,
|
| 92 |
+
output logic m_axi_bready,
|
| 93 |
+
output logic [1:0] m_axi_arid,
|
| 94 |
+
output logic [31:0] m_axi_araddr,
|
| 95 |
+
output logic [7:0] m_axi_arlen,
|
| 96 |
+
output logic [2:0] m_axi_arsize,
|
| 97 |
+
output logic [1:0] m_axi_arburst,
|
| 98 |
+
output logic m_axi_arlock,
|
| 99 |
+
output logic [3:0] m_axi_arcache,
|
| 100 |
+
output logic [2:0] m_axi_arprot,
|
| 101 |
+
output logic [3:0] m_axi_arregion,
|
| 102 |
+
output logic [3:0] m_axi_arqos,
|
| 103 |
+
output logic m_axi_arvalid,
|
| 104 |
+
input logic m_axi_arready,
|
| 105 |
+
input logic [1:0] m_axi_rid,
|
| 106 |
+
input logic [31:0] m_axi_rdata,
|
| 107 |
+
input logic [1:0] m_axi_rresp,
|
| 108 |
+
input logic m_axi_rlast,
|
| 109 |
+
input logic m_axi_rvalid,
|
| 110 |
+
output logic m_axi_rready
|
| 111 |
+
);
|
| 112 |
+
assign m_axi_awid = s_axi_awid;
|
| 113 |
+
assign m_axi_awaddr = s_axi_awaddr;
|
| 114 |
+
assign m_axi_awlen = s_axi_awlen;
|
| 115 |
+
assign m_axi_awsize = s_axi_awsize;
|
| 116 |
+
assign m_axi_awburst = s_axi_awburst;
|
| 117 |
+
assign m_axi_awlock = s_axi_awlock;
|
| 118 |
+
assign m_axi_awcache = s_axi_awcache;
|
| 119 |
+
assign m_axi_awprot = s_axi_awprot;
|
| 120 |
+
assign m_axi_awregion = s_axi_awregion;
|
| 121 |
+
assign m_axi_awqos = s_axi_awqos;
|
| 122 |
+
assign m_axi_awvalid = s_axi_awvalid;
|
| 123 |
+
assign s_axi_awready = m_axi_awready;
|
| 124 |
+
assign m_axi_wdata = s_axi_wdata;
|
| 125 |
+
assign m_axi_wstrb = s_axi_wstrb;
|
| 126 |
+
assign m_axi_wlast = s_axi_wlast;
|
| 127 |
+
assign m_axi_wvalid = s_axi_wvalid;
|
| 128 |
+
assign s_axi_wready = m_axi_wready;
|
| 129 |
+
assign s_axi_bid = m_axi_bid;
|
| 130 |
+
assign s_axi_bresp = m_axi_bresp;
|
| 131 |
+
assign s_axi_bvalid = m_axi_bvalid;
|
| 132 |
+
assign m_axi_bready = s_axi_bready;
|
| 133 |
+
assign m_axi_arid = s_axi_arid;
|
| 134 |
+
assign m_axi_araddr = s_axi_araddr;
|
| 135 |
+
assign m_axi_arlen = s_axi_arlen;
|
| 136 |
+
assign m_axi_arsize = s_axi_arsize;
|
| 137 |
+
assign m_axi_arburst = s_axi_arburst;
|
| 138 |
+
assign m_axi_arlock = s_axi_arlock;
|
| 139 |
+
assign m_axi_arcache = s_axi_arcache;
|
| 140 |
+
assign m_axi_arprot = s_axi_arprot;
|
| 141 |
+
assign m_axi_arregion = s_axi_arregion;
|
| 142 |
+
assign m_axi_arqos = s_axi_arqos;
|
| 143 |
+
assign m_axi_arvalid = s_axi_arvalid;
|
| 144 |
+
assign s_axi_arready = m_axi_arready;
|
| 145 |
+
assign s_axi_rid = m_axi_rid;
|
| 146 |
+
assign s_axi_rdata = m_axi_rdata;
|
| 147 |
+
assign s_axi_rresp = m_axi_rresp;
|
| 148 |
+
assign s_axi_rlast = m_axi_rlast;
|
| 149 |
+
assign s_axi_rvalid = m_axi_rvalid;
|
| 150 |
+
assign m_axi_rready = s_axi_rready;
|
| 151 |
+
endmodule
|
| 152 |
+
|
| 153 |
+
module xlnx_axi4_to_axilite_converter (
|
| 154 |
+
input logic aclk,
|
| 155 |
+
input logic aresetn,
|
| 156 |
+
input logic [1:0] s_axi_awid,
|
| 157 |
+
input logic [31:0] s_axi_awaddr,
|
| 158 |
+
input logic [7:0] s_axi_awlen,
|
| 159 |
+
input logic [2:0] s_axi_awsize,
|
| 160 |
+
input logic [1:0] s_axi_awburst,
|
| 161 |
+
input logic s_axi_awlock,
|
| 162 |
+
input logic [3:0] s_axi_awcache,
|
| 163 |
+
input logic [2:0] s_axi_awprot,
|
| 164 |
+
input logic [3:0] s_axi_awregion,
|
| 165 |
+
input logic [3:0] s_axi_awqos,
|
| 166 |
+
input logic s_axi_awvalid,
|
| 167 |
+
output logic s_axi_awready,
|
| 168 |
+
input logic [31:0] s_axi_wdata,
|
| 169 |
+
input logic [3:0] s_axi_wstrb,
|
| 170 |
+
input logic s_axi_wlast,
|
| 171 |
+
input logic s_axi_wvalid,
|
| 172 |
+
output logic s_axi_wready,
|
| 173 |
+
output logic [1:0] s_axi_bid,
|
| 174 |
+
output logic [1:0] s_axi_bresp,
|
| 175 |
+
output logic s_axi_bvalid,
|
| 176 |
+
input logic s_axi_bready,
|
| 177 |
+
input logic [1:0] s_axi_arid,
|
| 178 |
+
input logic [31:0] s_axi_araddr,
|
| 179 |
+
input logic [7:0] s_axi_arlen,
|
| 180 |
+
input logic [2:0] s_axi_arsize,
|
| 181 |
+
input logic [1:0] s_axi_arburst,
|
| 182 |
+
input logic s_axi_arlock,
|
| 183 |
+
input logic [3:0] s_axi_arcache,
|
| 184 |
+
input logic [2:0] s_axi_arprot,
|
| 185 |
+
input logic [3:0] s_axi_arregion,
|
| 186 |
+
input logic [3:0] s_axi_arqos,
|
| 187 |
+
input logic s_axi_arvalid,
|
| 188 |
+
output logic s_axi_arready,
|
| 189 |
+
output logic [1:0] s_axi_rid,
|
| 190 |
+
output logic [31:0] s_axi_rdata,
|
| 191 |
+
output logic [1:0] s_axi_rresp,
|
| 192 |
+
output logic s_axi_rlast,
|
| 193 |
+
output logic s_axi_rvalid,
|
| 194 |
+
input logic s_axi_rready,
|
| 195 |
+
output logic [31:0] m_axi_awaddr,
|
| 196 |
+
output logic [2:0] m_axi_awprot,
|
| 197 |
+
output logic m_axi_awvalid,
|
| 198 |
+
input logic m_axi_awready,
|
| 199 |
+
output logic [31:0] m_axi_wdata,
|
| 200 |
+
output logic [3:0] m_axi_wstrb,
|
| 201 |
+
output logic m_axi_wvalid,
|
| 202 |
+
input logic m_axi_wready,
|
| 203 |
+
input logic [1:0] m_axi_bresp,
|
| 204 |
+
input logic m_axi_bvalid,
|
| 205 |
+
output logic m_axi_bready,
|
| 206 |
+
output logic [31:0] m_axi_araddr,
|
| 207 |
+
output logic [2:0] m_axi_arprot,
|
| 208 |
+
output logic m_axi_arvalid,
|
| 209 |
+
input logic m_axi_arready,
|
| 210 |
+
input logic [31:0] m_axi_rdata,
|
| 211 |
+
input logic [1:0] m_axi_rresp,
|
| 212 |
+
input logic m_axi_rvalid,
|
| 213 |
+
output logic m_axi_rready
|
| 214 |
+
);
|
| 215 |
+
assign m_axi_awaddr = s_axi_awaddr;
|
| 216 |
+
assign m_axi_awprot = s_axi_awprot;
|
| 217 |
+
assign m_axi_awvalid = s_axi_awvalid;
|
| 218 |
+
assign s_axi_awready = m_axi_awready;
|
| 219 |
+
assign m_axi_wdata = s_axi_wdata;
|
| 220 |
+
assign m_axi_wstrb = s_axi_wstrb;
|
| 221 |
+
assign m_axi_wvalid = s_axi_wvalid;
|
| 222 |
+
assign s_axi_wready = m_axi_wready;
|
| 223 |
+
assign s_axi_bid = s_axi_awid;
|
| 224 |
+
assign s_axi_bresp = m_axi_bresp;
|
| 225 |
+
assign s_axi_bvalid = m_axi_bvalid;
|
| 226 |
+
assign m_axi_bready = s_axi_bready;
|
| 227 |
+
assign m_axi_araddr = s_axi_araddr;
|
| 228 |
+
assign m_axi_arprot = s_axi_arprot;
|
| 229 |
+
assign m_axi_arvalid = s_axi_arvalid;
|
| 230 |
+
assign s_axi_arready = m_axi_arready;
|
| 231 |
+
assign s_axi_rid = s_axi_arid;
|
| 232 |
+
assign s_axi_rdata = m_axi_rdata;
|
| 233 |
+
assign s_axi_rresp = m_axi_rresp;
|
| 234 |
+
assign s_axi_rlast = 1'b1;
|
| 235 |
+
assign s_axi_rvalid = m_axi_rvalid;
|
| 236 |
+
assign m_axi_rready = s_axi_rready;
|
| 237 |
+
endmodule
|
| 238 |
+
|
| 239 |
+
module xlnx_peripheral_crossbar (
|
| 240 |
+
input logic aclk,
|
| 241 |
+
input logic aresetn,
|
| 242 |
+
input logic [31:0][0:0] s_axi_awaddr,
|
| 243 |
+
input logic [2:0][0:0] s_axi_awprot,
|
| 244 |
+
input logic [0:0][0:0] s_axi_awvalid,
|
| 245 |
+
output logic [0:0][0:0] s_axi_awready,
|
| 246 |
+
input logic [31:0][0:0] s_axi_wdata,
|
| 247 |
+
input logic [3:0][0:0] s_axi_wstrb,
|
| 248 |
+
input logic [0:0][0:0] s_axi_wvalid,
|
| 249 |
+
output logic [0:0][0:0] s_axi_wready,
|
| 250 |
+
output logic [1:0][0:0] s_axi_bresp,
|
| 251 |
+
output logic [0:0][0:0] s_axi_bvalid,
|
| 252 |
+
input logic [0:0][0:0] s_axi_bready,
|
| 253 |
+
input logic [31:0][0:0] s_axi_araddr,
|
| 254 |
+
input logic [2:0][0:0] s_axi_arprot,
|
| 255 |
+
input logic [0:0][0:0] s_axi_arvalid,
|
| 256 |
+
output logic [0:0][0:0] s_axi_arready,
|
| 257 |
+
output logic [31:0][0:0] s_axi_rdata,
|
| 258 |
+
output logic [1:0][0:0] s_axi_rresp,
|
| 259 |
+
output logic [0:0][0:0] s_axi_rvalid,
|
| 260 |
+
input logic [0:0][0:0] s_axi_rready,
|
| 261 |
+
output logic [31:0][4:0] m_axi_awaddr,
|
| 262 |
+
output logic [2:0][4:0] m_axi_awprot,
|
| 263 |
+
output logic [0:0][4:0] m_axi_awvalid,
|
| 264 |
+
input logic [0:0][4:0] m_axi_awready,
|
| 265 |
+
output logic [31:0][4:0] m_axi_wdata,
|
| 266 |
+
output logic [3:0][4:0] m_axi_wstrb,
|
| 267 |
+
output logic [0:0][4:0] m_axi_wvalid,
|
| 268 |
+
input logic [0:0][4:0] m_axi_wready,
|
| 269 |
+
input logic [1:0][4:0] m_axi_bresp,
|
| 270 |
+
input logic [0:0][4:0] m_axi_bvalid,
|
| 271 |
+
output logic [0:0][4:0] m_axi_bready,
|
| 272 |
+
output logic [31:0][4:0] m_axi_araddr,
|
| 273 |
+
output logic [2:0][4:0] m_axi_arprot,
|
| 274 |
+
output logic [0:0][4:0] m_axi_arvalid,
|
| 275 |
+
input logic [0:0][4:0] m_axi_arready,
|
| 276 |
+
input logic [31:0][4:0] m_axi_rdata,
|
| 277 |
+
input logic [1:0][4:0] m_axi_rresp,
|
| 278 |
+
input logic [0:0][4:0] m_axi_rvalid,
|
| 279 |
+
output logic [0:0][4:0] m_axi_rready
|
| 280 |
+
);
|
| 281 |
+
always_comb begin
|
| 282 |
+
s_axi_awready = '1;
|
| 283 |
+
s_axi_wready = '1;
|
| 284 |
+
s_axi_bresp = '0;
|
| 285 |
+
s_axi_bvalid = '0;
|
| 286 |
+
s_axi_arready = '1;
|
| 287 |
+
s_axi_rdata = '0;
|
| 288 |
+
s_axi_rresp = '0;
|
| 289 |
+
s_axi_rvalid = '0;
|
| 290 |
+
m_axi_awaddr = '0;
|
| 291 |
+
m_axi_awprot = '0;
|
| 292 |
+
m_axi_awvalid = '0;
|
| 293 |
+
m_axi_wdata = '0;
|
| 294 |
+
m_axi_wstrb = '0;
|
| 295 |
+
m_axi_wvalid = '0;
|
| 296 |
+
m_axi_bready = '1;
|
| 297 |
+
m_axi_araddr = '0;
|
| 298 |
+
m_axi_arprot = '0;
|
| 299 |
+
m_axi_arvalid = '0;
|
| 300 |
+
m_axi_rready = '1;
|
| 301 |
+
end
|
| 302 |
+
endmodule
|
| 303 |
+
|
| 304 |
+
module axilite_uart (
|
| 305 |
+
input logic clock_i,
|
| 306 |
+
input logic reset_ni,
|
| 307 |
+
output logic int_core_o,
|
| 308 |
+
output logic int_xdma_o,
|
| 309 |
+
input logic int_ack_i,
|
| 310 |
+
output logic tx_o,
|
| 311 |
+
input logic rx_i,
|
| 312 |
+
input logic [31:0] s_axilite_awaddr,
|
| 313 |
+
input logic [2:0] s_axilite_awprot,
|
| 314 |
+
input logic s_axilite_awvalid,
|
| 315 |
+
output logic s_axilite_awready,
|
| 316 |
+
input logic [31:0] s_axilite_wdata,
|
| 317 |
+
input logic [3:0] s_axilite_wstrb,
|
| 318 |
+
input logic s_axilite_wvalid,
|
| 319 |
+
output logic s_axilite_wready,
|
| 320 |
+
output logic [1:0] s_axilite_bresp,
|
| 321 |
+
output logic s_axilite_bvalid,
|
| 322 |
+
input logic s_axilite_bready,
|
| 323 |
+
input logic [31:0] s_axilite_araddr,
|
| 324 |
+
input logic [2:0] s_axilite_arprot,
|
| 325 |
+
input logic s_axilite_arvalid,
|
| 326 |
+
output logic s_axilite_arready,
|
| 327 |
+
output logic [31:0] s_axilite_rdata,
|
| 328 |
+
output logic [1:0] s_axilite_rresp,
|
| 329 |
+
output logic s_axilite_rvalid,
|
| 330 |
+
input logic s_axilite_rready
|
| 331 |
+
);
|
| 332 |
+
assign int_core_o = 1'b0;
|
| 333 |
+
assign int_xdma_o = 1'b0;
|
| 334 |
+
assign tx_o = 1'b1;
|
| 335 |
+
assign s_axilite_awready = 1'b1;
|
| 336 |
+
assign s_axilite_wready = 1'b1;
|
| 337 |
+
assign s_axilite_bresp = 2'b00;
|
| 338 |
+
assign s_axilite_bvalid = 1'b0;
|
| 339 |
+
assign s_axilite_arready = 1'b1;
|
| 340 |
+
assign s_axilite_rdata = '0;
|
| 341 |
+
assign s_axilite_rresp = 2'b00;
|
| 342 |
+
assign s_axilite_rvalid = 1'b0;
|
| 343 |
+
endmodule
|
| 344 |
+
|
| 345 |
+
module xlnx_axilite_timer (
|
| 346 |
+
input logic s_axi_aclk,
|
| 347 |
+
input logic s_axi_aresetn,
|
| 348 |
+
input logic [8:0] s_axi_awaddr,
|
| 349 |
+
input logic s_axi_awvalid,
|
| 350 |
+
output logic s_axi_awready,
|
| 351 |
+
input logic [31:0] s_axi_wdata,
|
| 352 |
+
input logic [3:0] s_axi_wstrb,
|
| 353 |
+
input logic s_axi_wvalid,
|
| 354 |
+
output logic s_axi_wready,
|
| 355 |
+
output logic [1:0] s_axi_bresp,
|
| 356 |
+
output logic s_axi_bvalid,
|
| 357 |
+
input logic s_axi_bready,
|
| 358 |
+
input logic [8:0] s_axi_araddr,
|
| 359 |
+
input logic s_axi_arvalid,
|
| 360 |
+
output logic s_axi_arready,
|
| 361 |
+
output logic [31:0] s_axi_rdata,
|
| 362 |
+
output logic [1:0] s_axi_rresp,
|
| 363 |
+
output logic s_axi_rvalid,
|
| 364 |
+
input logic s_axi_rready,
|
| 365 |
+
input logic capturetrig0,
|
| 366 |
+
input logic capturetrig1,
|
| 367 |
+
input logic freeze,
|
| 368 |
+
output logic generateout0,
|
| 369 |
+
output logic generateout1,
|
| 370 |
+
output logic interrupt,
|
| 371 |
+
output logic pwm0
|
| 372 |
+
);
|
| 373 |
+
assign s_axi_awready = 1'b1;
|
| 374 |
+
assign s_axi_wready = 1'b1;
|
| 375 |
+
assign s_axi_bresp = 2'b00;
|
| 376 |
+
assign s_axi_bvalid = 1'b0;
|
| 377 |
+
assign s_axi_arready = 1'b1;
|
| 378 |
+
assign s_axi_rdata = '0;
|
| 379 |
+
assign s_axi_rresp = 2'b00;
|
| 380 |
+
assign s_axi_rvalid = 1'b0;
|
| 381 |
+
assign generateout0 = 1'b0;
|
| 382 |
+
assign generateout1 = 1'b0;
|
| 383 |
+
assign interrupt = 1'b0;
|
| 384 |
+
assign pwm0 = 1'b0;
|
| 385 |
+
endmodule
|
| 386 |
+
|
| 387 |
+
module xlnx_axi_gpio_out (
|
| 388 |
+
input logic s_axi_aclk,
|
| 389 |
+
input logic s_axi_aresetn,
|
| 390 |
+
input logic [8:0] s_axi_awaddr,
|
| 391 |
+
input logic s_axi_awvalid,
|
| 392 |
+
output logic s_axi_awready,
|
| 393 |
+
input logic [31:0] s_axi_wdata,
|
| 394 |
+
input logic [3:0] s_axi_wstrb,
|
| 395 |
+
input logic s_axi_wvalid,
|
| 396 |
+
output logic s_axi_wready,
|
| 397 |
+
output logic [1:0] s_axi_bresp,
|
| 398 |
+
output logic s_axi_bvalid,
|
| 399 |
+
input logic s_axi_bready,
|
| 400 |
+
input logic [8:0] s_axi_araddr,
|
| 401 |
+
input logic s_axi_arvalid,
|
| 402 |
+
output logic s_axi_arready,
|
| 403 |
+
output logic [31:0] s_axi_rdata,
|
| 404 |
+
output logic [1:0] s_axi_rresp,
|
| 405 |
+
output logic s_axi_rvalid,
|
| 406 |
+
input logic s_axi_rready,
|
| 407 |
+
output logic [15:0] gpio_io_o
|
| 408 |
+
);
|
| 409 |
+
assign s_axi_awready = 1'b1;
|
| 410 |
+
assign s_axi_wready = 1'b1;
|
| 411 |
+
assign s_axi_bresp = 2'b00;
|
| 412 |
+
assign s_axi_bvalid = 1'b0;
|
| 413 |
+
assign s_axi_arready = 1'b1;
|
| 414 |
+
assign s_axi_rdata = '0;
|
| 415 |
+
assign s_axi_rresp = 2'b00;
|
| 416 |
+
assign s_axi_rvalid = 1'b0;
|
| 417 |
+
assign gpio_io_o = '0;
|
| 418 |
+
endmodule
|
| 419 |
+
|
| 420 |
+
module xlnx_axi_gpio_in (
|
| 421 |
+
input logic s_axi_aclk,
|
| 422 |
+
input logic s_axi_aresetn,
|
| 423 |
+
input logic [8:0] s_axi_awaddr,
|
| 424 |
+
input logic s_axi_awvalid,
|
| 425 |
+
output logic s_axi_awready,
|
| 426 |
+
input logic [31:0] s_axi_wdata,
|
| 427 |
+
input logic [3:0] s_axi_wstrb,
|
| 428 |
+
input logic s_axi_wvalid,
|
| 429 |
+
output logic s_axi_wready,
|
| 430 |
+
output logic [1:0] s_axi_bresp,
|
| 431 |
+
output logic s_axi_bvalid,
|
| 432 |
+
input logic s_axi_bready,
|
| 433 |
+
input logic [8:0] s_axi_araddr,
|
| 434 |
+
input logic s_axi_arvalid,
|
| 435 |
+
output logic s_axi_arready,
|
| 436 |
+
output logic [31:0] s_axi_rdata,
|
| 437 |
+
output logic [1:0] s_axi_rresp,
|
| 438 |
+
output logic s_axi_rvalid,
|
| 439 |
+
input logic s_axi_rready,
|
| 440 |
+
input logic [15:0] gpio_io_i,
|
| 441 |
+
output logic ip2intc_irpt
|
| 442 |
+
);
|
| 443 |
+
assign s_axi_awready = 1'b1;
|
| 444 |
+
assign s_axi_wready = 1'b1;
|
| 445 |
+
assign s_axi_bresp = 2'b00;
|
| 446 |
+
assign s_axi_bvalid = 1'b0;
|
| 447 |
+
assign s_axi_arready = 1'b1;
|
| 448 |
+
assign s_axi_rdata = '0;
|
| 449 |
+
assign s_axi_rresp = 2'b00;
|
| 450 |
+
assign s_axi_rvalid = 1'b0;
|
| 451 |
+
assign ip2intc_irpt = |gpio_io_i;
|
| 452 |
+
endmodule
|
testbench/HiSA-Team_Simply-V_pr102/repo_native_buggy.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in buggy phase: no multi-file open-tool check passed
|
testbench/HiSA-Team_Simply-V_pr102/repo_native_fixed.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in fixed phase: no multi-file open-tool check passed
|
testbench/HiSA-Team_Simply-V_pr102/run_once.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
exec python3 "$HERE/../_run_once_from_run_verilator.py" "$HERE/run_verilator.sh"
|
testbench/HiSA-Team_Simply-V_pr102/run_verilator.sh
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
cd "$HERE"
|
| 5 |
+
. "$HERE/../_repo_native_p2p_smoke.sh"
|
| 6 |
+
NAME=HiSA-Team_Simply-V_pr102
|
| 7 |
+
TOP=tb_pbus_interrupt_cdc
|
| 8 |
+
RTL_DIR="$HERE/snapshot_scratch/hw/xilinx/rtl"
|
| 9 |
+
# Target evidence for the patch-scoped compiler/lint run:
|
| 10 |
+
# hw/xilinx/rtl/peripheral_bus.sv
|
| 11 |
+
SOURCES=(
|
| 12 |
+
"+incdir+$RTL_DIR"
|
| 13 |
+
"-DNUM_SI=1"
|
| 14 |
+
"-DNUM_MI=1"
|
| 15 |
+
"-DPBUS_NUM_MI=5"
|
| 16 |
+
"-DCORE_SELECTOR=CORE_CV32E40P"
|
| 17 |
+
"-DPBUS_HAS_CLOCK_DOMAIN"
|
| 18 |
+
"-DEMBEDDED"
|
| 19 |
+
"$HERE/peripheral_bus_tb_support.sv"
|
| 20 |
+
"$RTL_DIR/uninasoc_pkg.sv"
|
| 21 |
+
"$RTL_DIR/peripheral_bus.sv"
|
| 22 |
+
"$HERE/tb_pbus_interrupt_cdc.sv"
|
| 23 |
+
)
|
| 24 |
+
. "$HERE/../_rtl_bug_run_common.sh"
|
testbench/HiSA-Team_Simply-V_pr102/targets.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
hw/xilinx/rtl/peripheral_bus.sv
|
testbench/HiSA-Team_Simply-V_pr102/tb_pbus_interrupt_cdc.sv
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
`include "uninasoc_axi.svh"
|
| 2 |
+
|
| 3 |
+
module tb_pbus_interrupt_cdc;
|
| 4 |
+
import uninasoc_pkg::*;
|
| 5 |
+
|
| 6 |
+
logic main_clk;
|
| 7 |
+
logic main_rst_n;
|
| 8 |
+
logic pbus_clk;
|
| 9 |
+
logic pbus_rst_n;
|
| 10 |
+
logic uart_rx;
|
| 11 |
+
logic uart_tx;
|
| 12 |
+
logic [NUM_GPIO_IN-1:0] gpio_in;
|
| 13 |
+
logic [NUM_GPIO_OUT-1:0] gpio_out;
|
| 14 |
+
logic [3:0] int_out;
|
| 15 |
+
int errors;
|
| 16 |
+
|
| 17 |
+
`DECLARE_AXI_BUS(s, AXI_DATA_WIDTH)
|
| 18 |
+
|
| 19 |
+
peripheral_bus #(.NUM_IRQ(4)) dut (
|
| 20 |
+
.main_clock_i(main_clk),
|
| 21 |
+
.main_reset_ni(main_rst_n),
|
| 22 |
+
.PBUS_clock_i(pbus_clk),
|
| 23 |
+
.PBUS_reset_ni(pbus_rst_n),
|
| 24 |
+
.s_axi_awid(s_axi_awid),
|
| 25 |
+
.s_axi_awaddr(s_axi_awaddr),
|
| 26 |
+
.s_axi_awlen(s_axi_awlen),
|
| 27 |
+
.s_axi_awsize(s_axi_awsize),
|
| 28 |
+
.s_axi_awburst(s_axi_awburst),
|
| 29 |
+
.s_axi_awlock(s_axi_awlock),
|
| 30 |
+
.s_axi_awcache(s_axi_awcache),
|
| 31 |
+
.s_axi_awprot(s_axi_awprot),
|
| 32 |
+
.s_axi_awqos(s_axi_awqos),
|
| 33 |
+
.s_axi_awvalid(s_axi_awvalid),
|
| 34 |
+
.s_axi_awready(s_axi_awready),
|
| 35 |
+
.s_axi_awregion(s_axi_awregion),
|
| 36 |
+
.s_axi_wdata(s_axi_wdata),
|
| 37 |
+
.s_axi_wstrb(s_axi_wstrb),
|
| 38 |
+
.s_axi_wlast(s_axi_wlast),
|
| 39 |
+
.s_axi_wvalid(s_axi_wvalid),
|
| 40 |
+
.s_axi_wready(s_axi_wready),
|
| 41 |
+
.s_axi_bid(s_axi_bid),
|
| 42 |
+
.s_axi_bresp(s_axi_bresp),
|
| 43 |
+
.s_axi_bvalid(s_axi_bvalid),
|
| 44 |
+
.s_axi_bready(s_axi_bready),
|
| 45 |
+
.s_axi_arid(s_axi_arid),
|
| 46 |
+
.s_axi_araddr(s_axi_araddr),
|
| 47 |
+
.s_axi_arlen(s_axi_arlen),
|
| 48 |
+
.s_axi_arsize(s_axi_arsize),
|
| 49 |
+
.s_axi_arburst(s_axi_arburst),
|
| 50 |
+
.s_axi_arlock(s_axi_arlock),
|
| 51 |
+
.s_axi_arregion(s_axi_arregion),
|
| 52 |
+
.s_axi_arcache(s_axi_arcache),
|
| 53 |
+
.s_axi_arprot(s_axi_arprot),
|
| 54 |
+
.s_axi_arqos(s_axi_arqos),
|
| 55 |
+
.s_axi_arvalid(s_axi_arvalid),
|
| 56 |
+
.s_axi_arready(s_axi_arready),
|
| 57 |
+
.s_axi_rid(s_axi_rid),
|
| 58 |
+
.s_axi_rdata(s_axi_rdata),
|
| 59 |
+
.s_axi_rresp(s_axi_rresp),
|
| 60 |
+
.s_axi_rlast(s_axi_rlast),
|
| 61 |
+
.s_axi_rvalid(s_axi_rvalid),
|
| 62 |
+
.s_axi_rready(s_axi_rready),
|
| 63 |
+
.uart_rx_i(uart_rx),
|
| 64 |
+
.uart_tx_o(uart_tx),
|
| 65 |
+
.gpio_in_i(gpio_in),
|
| 66 |
+
.gpio_out_o(gpio_out),
|
| 67 |
+
.int_o(int_out)
|
| 68 |
+
);
|
| 69 |
+
|
| 70 |
+
initial main_clk = 1'b0;
|
| 71 |
+
always #5 main_clk = ~main_clk;
|
| 72 |
+
|
| 73 |
+
initial pbus_clk = 1'b0;
|
| 74 |
+
always #3 pbus_clk = ~pbus_clk;
|
| 75 |
+
|
| 76 |
+
task automatic check_case(input int id, input bit ok, input string msg);
|
| 77 |
+
if (ok) $display("PASS: CASE %0d: %s", id, msg);
|
| 78 |
+
else begin
|
| 79 |
+
$display("FAIL: CASE %0d: %s", id, msg);
|
| 80 |
+
errors++;
|
| 81 |
+
end
|
| 82 |
+
endtask
|
| 83 |
+
|
| 84 |
+
initial begin
|
| 85 |
+
errors = 0;
|
| 86 |
+
main_rst_n = 1'b0;
|
| 87 |
+
pbus_rst_n = 1'b0;
|
| 88 |
+
uart_rx = 1'b1;
|
| 89 |
+
gpio_in = '0;
|
| 90 |
+
s_axi_awid = '0;
|
| 91 |
+
s_axi_awaddr = '0;
|
| 92 |
+
s_axi_awlen = '0;
|
| 93 |
+
s_axi_awsize = '0;
|
| 94 |
+
s_axi_awburst = '0;
|
| 95 |
+
s_axi_awlock = '0;
|
| 96 |
+
s_axi_awcache = '0;
|
| 97 |
+
s_axi_awprot = '0;
|
| 98 |
+
s_axi_awqos = '0;
|
| 99 |
+
s_axi_awvalid = '0;
|
| 100 |
+
s_axi_awregion = '0;
|
| 101 |
+
s_axi_wdata = '0;
|
| 102 |
+
s_axi_wstrb = '0;
|
| 103 |
+
s_axi_wlast = '0;
|
| 104 |
+
s_axi_wvalid = '0;
|
| 105 |
+
s_axi_bready = '0;
|
| 106 |
+
s_axi_arid = '0;
|
| 107 |
+
s_axi_araddr = '0;
|
| 108 |
+
s_axi_arlen = '0;
|
| 109 |
+
s_axi_arsize = '0;
|
| 110 |
+
s_axi_arburst = '0;
|
| 111 |
+
s_axi_arlock = '0;
|
| 112 |
+
s_axi_arregion = '0;
|
| 113 |
+
s_axi_arcache = '0;
|
| 114 |
+
s_axi_arprot = '0;
|
| 115 |
+
s_axi_arqos = '0;
|
| 116 |
+
s_axi_arvalid = '0;
|
| 117 |
+
s_axi_rready = '0;
|
| 118 |
+
|
| 119 |
+
repeat (2) @(posedge main_clk);
|
| 120 |
+
main_rst_n = 1'b1;
|
| 121 |
+
pbus_rst_n = 1'b1;
|
| 122 |
+
repeat (8) @(posedge main_clk);
|
| 123 |
+
#1;
|
| 124 |
+
check_case(1, int_out[PBUS_GPIOIN_INTERRUPT] == 1'b0,
|
| 125 |
+
"GPIO interrupt is clear before the PBUS source toggles");
|
| 126 |
+
|
| 127 |
+
gpio_in[0] = 1'b1;
|
| 128 |
+
#1;
|
| 129 |
+
check_case(2, int_out[PBUS_GPIOIN_INTERRUPT] == 1'b0,
|
| 130 |
+
"PBUS GPIO interrupt does not cross to main clock asynchronously");
|
| 131 |
+
|
| 132 |
+
repeat (8) @(posedge main_clk);
|
| 133 |
+
#1;
|
| 134 |
+
check_case(3, int_out[PBUS_GPIOIN_INTERRUPT] == 1'b1,
|
| 135 |
+
"GPIO interrupt reaches main clock after CDC synchronization");
|
| 136 |
+
|
| 137 |
+
gpio_in[0] = 1'b0;
|
| 138 |
+
#1;
|
| 139 |
+
check_case(4, int_out[PBUS_GPIOIN_INTERRUPT] == 1'b1,
|
| 140 |
+
"synchronized GPIO interrupt does not clear asynchronously");
|
| 141 |
+
|
| 142 |
+
repeat (8) @(posedge main_clk);
|
| 143 |
+
#1;
|
| 144 |
+
check_case(5, int_out[PBUS_GPIOIN_INTERRUPT] == 1'b0,
|
| 145 |
+
"GPIO interrupt clears after CDC synchronization");
|
| 146 |
+
|
| 147 |
+
if (errors) $fatal(1, "FAIL: pbus interrupt CDC exposed %0d unsynchronized changes", errors);
|
| 148 |
+
$finish;
|
| 149 |
+
end
|
| 150 |
+
endmodule
|
testbench/HiSA-Team_Simply-V_pr102/verilator_buggy.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PASS: CASE 1: GPIO interrupt is clear before the PBUS source toggles
|
| 2 |
+
FAIL: CASE 2: PBUS GPIO interrupt does not cross to main clock asynchronously
|
| 3 |
+
PASS: CASE 3: GPIO interrupt reaches main clock after CDC synchronization
|
| 4 |
+
FAIL: CASE 4: synchronized GPIO interrupt does not clear asynchronously
|
| 5 |
+
PASS: CASE 5: GPIO interrupt clears after CDC synchronization
|
| 6 |
+
[256000] %Fatal: tb_pbus_interrupt_cdc.sv:147: Assertion failed in tb_pbus_interrupt_cdc: FAIL: pbus interrupt CDC exposed 2 unsynchronized changes
|
| 7 |
+
%Error: testbench/HiSA-Team_Simply-V_pr102/tb_pbus_interrupt_cdc.sv:147: Verilog $stop
|
| 8 |
+
Aborting...
|
testbench/HiSA-Team_Simply-V_pr102/verilator_buggy_build.log
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make: Entering directory 'testbench/HiSA-Team_Simply-V_pr102/obj_dir'
|
| 2 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -fcoroutines -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 3 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -fcoroutines -c -o verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
|
| 4 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -fcoroutines -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 5 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vtb_pbus_interrupt_cdc.cpp Vtb_pbus_interrupt_cdc___024root__0.cpp Vtb_pbus_interrupt_cdc__main.cpp Vtb_pbus_interrupt_cdc___024root__Slow.cpp Vtb_pbus_interrupt_cdc___024root__0__Slow.cpp Vtb_pbus_interrupt_cdc___024unit__Slow.cpp Vtb_pbus_interrupt_cdc__Syms__Slow.cpp > Vtb_pbus_interrupt_cdc__ALL.cpp
|
| 6 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -fcoroutines -c -o Vtb_pbus_interrupt_cdc__ALL.o Vtb_pbus_interrupt_cdc__ALL.cpp
|
| 7 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib verilated.o verilated_timing.o verilated_threads.o Vtb_pbus_interrupt_cdc__ALL.a -pthread -lpthread -latomic -o simv_vlt
|
| 8 |
+
rm Vtb_pbus_interrupt_cdc__ALL.verilator_deplist.tmp
|
| 9 |
+
make: Leaving directory 'testbench/HiSA-Team_Simply-V_pr102/obj_dir'
|
| 10 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 11 |
+
- Verilator: Built from 0.356 MB sources in 13 modules, into 0.051 MB in 7 C++ files needing 0.000 MB
|
| 12 |
+
- Verilator: Walltime 6.185 s (elab=0.004, cvt=0.010, bld=6.158); cpu 0.027 s on 1 threads; allocated 23.641 MB
|
testbench/HiSA-Team_Simply-V_pr102/verilator_fixed.log
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PASS: CASE 1: GPIO interrupt is clear before the PBUS source toggles
|
| 2 |
+
PASS: CASE 2: PBUS GPIO interrupt does not cross to main clock asynchronously
|
| 3 |
+
PASS: CASE 3: GPIO interrupt reaches main clock after CDC synchronization
|
| 4 |
+
PASS: CASE 4: synchronized GPIO interrupt does not clear asynchronously
|
| 5 |
+
PASS: CASE 5: GPIO interrupt clears after CDC synchronization
|
| 6 |
+
- testbench/HiSA-Team_Simply-V_pr102/tb_pbus_interrupt_cdc.sv:148: Verilog $finish
|
testbench/HiSA-Team_Simply-V_pr102/verilator_fixed_build.log
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
make: Entering directory 'testbench/HiSA-Team_Simply-V_pr102/obj_dir'
|
| 2 |
+
g++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -Os -c -o _coverage_main.o testbench/HiSA-Team_Simply-V_pr102/../_coverage_main.cpp
|
| 3 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 4 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_cov.o /opt/oss-cad-suite/share/verilator/include/verilated_cov.cpp
|
| 5 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
|
| 6 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 7 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vhwe_cov_top.cpp Vhwe_cov_top___024root__0.cpp Vhwe_cov_top___024root__Slow.cpp Vhwe_cov_top___024root__0__Slow.cpp Vhwe_cov_top___024unit__Slow.cpp Vhwe_cov_top___024unit__0__Slow.cpp Vhwe_cov_top__Syms__Slow.cpp > Vhwe_cov_top__ALL.cpp
|
| 8 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=1 -DVM_SC=0 -DVM_TIMING=1 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -fcoroutines -c -o Vhwe_cov_top__ALL.o Vhwe_cov_top__ALL.cpp
|
| 9 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib _coverage_main.o verilated.o verilated_cov.o verilated_timing.o verilated_threads.o Vhwe_cov_top__ALL.a -pthread -lpthread -latomic -o simv_vlt
|
| 10 |
+
rm Vhwe_cov_top__ALL.verilator_deplist.tmp
|
| 11 |
+
make: Leaving directory 'testbench/HiSA-Team_Simply-V_pr102/obj_dir'
|
| 12 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 13 |
+
- Verilator: Built from 0.359 MB sources in 13 modules, into 0.654 MB in 7 C++ files needing 0.000 MB
|
| 14 |
+
- Verilator: Walltime 9.233 s (elab=0.004, cvt=0.037, bld=9.174); cpu 0.060 s on 1 threads; allocated 26.887 MB
|
testbench/HiSA-Team_Simply-V_pr102/verilator_fixed_coverage.info
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_p2p_buggy.log
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (buggy)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
|
| 4 |
+
### filelist_surelog:integration_files/SweRV_EH1/SweRV_EH1_flist.f
|
| 5 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/SweRV_EH1_flist.f' '-odir' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_buggy_fl'
|
| 6 |
+
[INF:CM0023] Creating log file "testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_buggy_fl/slpp_all/surelog.log".
|
| 7 |
+
|
| 8 |
+
[FTL:CM0008] Verilog File "/snapshots/default/common_defines.vh" does not exist.
|
| 9 |
+
|
| 10 |
+
[FTL:CM0008] Verilog File "/rtl/include/swerv_types.sv" does not exist.
|
| 11 |
+
|
| 12 |
+
[FTL:CM0008] Verilog File "/rtl/swerv_wrapper.sv" does not exist.
|
| 13 |
+
|
| 14 |
+
[FTL:CM0008] Verilog File "/rtl/mem.sv" does not exist.
|
| 15 |
+
|
| 16 |
+
[FTL:CM0008] Verilog File "/rtl/pic_ctrl.sv" does not exist.
|
| 17 |
+
|
| 18 |
+
[FTL:CM0008] Verilog File "/rtl/swerv.sv" does not exist.
|
| 19 |
+
|
| 20 |
+
[FTL:CM0008] Verilog File "/rtl/dma_ctrl.sv" does not exist.
|
| 21 |
+
|
| 22 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_aln_ctl.sv" does not exist.
|
| 23 |
+
|
| 24 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_compress_ctl.sv" does not exist.
|
| 25 |
+
|
| 26 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ifc_ctl.sv" does not exist.
|
| 27 |
+
|
| 28 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_bp_ctl.sv" does not exist.
|
| 29 |
+
|
| 30 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ic_mem.sv" does not exist.
|
| 31 |
+
|
| 32 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_mem_ctl.sv" does not exist.
|
| 33 |
+
|
| 34 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_iccm_mem.sv" does not exist.
|
| 35 |
+
|
| 36 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu.sv" does not exist.
|
| 37 |
+
|
| 38 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_decode_ctl.sv" does not exist.
|
| 39 |
+
|
| 40 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_gpr_ctl.sv" does not exist.
|
| 41 |
+
|
| 42 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_ib_ctl.sv" does not exist.
|
| 43 |
+
|
| 44 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_tlu_ctl.sv" does not exist.
|
| 45 |
+
|
| 46 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_trigger.sv" does not exist.
|
| 47 |
+
|
| 48 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec.sv" does not exist.
|
| 49 |
+
|
| 50 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_alu_ctl.sv" does not exist.
|
| 51 |
+
|
| 52 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_mul_ctl.sv" does not exist.
|
| 53 |
+
|
| 54 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_div_ctl.sv" does not exist.
|
| 55 |
+
|
| 56 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu.sv" does not exist.
|
| 57 |
+
|
| 58 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu.sv" does not exist.
|
| 59 |
+
|
| 60 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_clkdomain.sv" does not exist.
|
| 61 |
+
|
| 62 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_addrcheck.sv" does not exist.
|
| 63 |
+
|
| 64 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_lsc_ctl.sv" does not exist.
|
| 65 |
+
|
| 66 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_stbuf.sv" does not exist.
|
| 67 |
+
|
| 68 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_buffer.sv" does not exist.
|
| 69 |
+
|
| 70 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_intf.sv" does not exist.
|
| 71 |
+
|
| 72 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_ecc.sv" does not exist.
|
| 73 |
+
|
| 74 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_mem.sv" does not exist.
|
| 75 |
+
|
| 76 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_ctl.sv" does not exist.
|
| 77 |
+
|
| 78 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_trigger.sv" does not exist.
|
| 79 |
+
|
| 80 |
+
[FTL:CM0008] Verilog File "/rtl/dbg/dbg.sv" does not exist.
|
| 81 |
+
|
| 82 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_wrapper.v" does not exist.
|
| 83 |
+
|
| 84 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_jtag_to_core_sync.v" does not exist.
|
| 85 |
+
|
| 86 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/rvjtag_tap.sv" does not exist.
|
| 87 |
+
|
| 88 |
+
[FTL:CM0008] Verilog File "/testbench/pkg.sv" does not exist.
|
| 89 |
+
|
| 90 |
+
[FTL:CM0008] Verilog File "/testbench/tracer_pkg.sv" does not exist.
|
| 91 |
+
|
| 92 |
+
[FTL:CM0008] Verilog File "/testbench/tracer.sv" does not exist.
|
| 93 |
+
|
| 94 |
+
[FTL:CM0008] Verilog File "/testbench/ahb_sif.sv" does not exist.
|
| 95 |
+
|
| 96 |
+
[FTL:CM0008] Verilog File "/testbench/tb_top.sv" does not exist.
|
| 97 |
+
|
| 98 |
+
[FTL:CM0006] Library file "/rtl/lib/beh_lib.sv" does not exist.
|
| 99 |
+
|
| 100 |
+
[FTL:CM0006] Library file "/rtl/lib/mem_lib.sv" does not exist.
|
| 101 |
+
|
| 102 |
+
[FTL:CM0006] Library file "/rtl/lib/ahb_to_axi4.sv" does not exist.
|
| 103 |
+
|
| 104 |
+
[FTL:CM0006] Library file "/rtl/lib/axi4_to_ahb.sv" does not exist.
|
| 105 |
+
|
| 106 |
+
[WRN:CM0005] Include path "/rtl/lib" does not exist.
|
| 107 |
+
|
| 108 |
+
[WRN:CM0005] Include path "/rtl/include" does not exist.
|
| 109 |
+
|
| 110 |
+
[WRN:CM0005] Include path "/snapshots/default" does not exist.
|
| 111 |
+
|
| 112 |
+
[WRN:CM0005] Include path "/rtl" does not exist.
|
| 113 |
+
|
| 114 |
+
[WRN:CM0005] Include path "/rtl/ifu" does not exist.
|
| 115 |
+
|
| 116 |
+
[WRN:CM0005] Include path "/rtl/dec" does not exist.
|
| 117 |
+
|
| 118 |
+
[WRN:CM0005] Include path "/rtl/exu" does not exist.
|
| 119 |
+
|
| 120 |
+
[WRN:CM0005] Include path "/rtl/lsu" does not exist.
|
| 121 |
+
|
| 122 |
+
[WRN:CM0005] Include path "/rtl/dbg" does not exist.
|
| 123 |
+
|
| 124 |
+
[WRN:CM0005] Include path "/rtl/dmi" does not exist.
|
| 125 |
+
|
| 126 |
+
[WRN:CM0005] Include path "/testbench" does not exist.
|
| 127 |
+
|
| 128 |
+
[ FATAL] : 49
|
| 129 |
+
[ SYNTAX] : 0
|
| 130 |
+
[ ERROR] : 0
|
| 131 |
+
[WARNING] : 11
|
| 132 |
+
[ NOTE] : 0
|
| 133 |
+
|
| 134 |
+
rc=1
|
| 135 |
+
|
| 136 |
+
### filelist_verilator:integration_files/SweRV_EH1/SweRV_EH1_flist.f
|
| 137 |
+
'verilator' '--lint-only' '--sv' '--Wno-fatal' '--Wno-DECLFILENAME' '--Wno-MULTITOP' '--Wno-UNUSEDSIGNAL' '--Wno-UNUSEDPARAM' '--Wno-WIDTH' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/SweRV_EH1_flist.f'
|
| 138 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/snapshots/default/common_defines.vh'
|
| 139 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 140 |
+
... Looked in:
|
| 141 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 142 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 143 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 144 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 145 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 146 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 147 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 148 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 149 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 150 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 151 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 152 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 153 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 154 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 155 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 156 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 157 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 158 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 159 |
+
... With current working directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch'
|
| 160 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/include/swerv_types.sv'
|
| 161 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv_wrapper.sv'
|
| 162 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/mem.sv'
|
| 163 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/pic_ctrl.sv'
|
| 164 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv.sv'
|
| 165 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dma_ctrl.sv'
|
| 166 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_aln_ctl.sv'
|
| 167 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_compress_ctl.sv'
|
| 168 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ifc_ctl.sv'
|
| 169 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_bp_ctl.sv'
|
| 170 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ic_mem.sv'
|
| 171 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_mem_ctl.sv'
|
| 172 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_iccm_mem.sv'
|
| 173 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu.sv'
|
| 174 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_decode_ctl.sv'
|
| 175 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_gpr_ctl.sv'
|
| 176 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_ib_ctl.sv'
|
| 177 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_tlu_ctl.sv'
|
| 178 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_trigger.sv'
|
| 179 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec.sv'
|
| 180 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_alu_ctl.sv'
|
| 181 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_mul_ctl.sv'
|
| 182 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_div_ctl.sv'
|
| 183 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu.sv'
|
| 184 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu.sv'
|
| 185 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_clkdomain.sv'
|
| 186 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_addrcheck.sv'
|
| 187 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_lsc_ctl.sv'
|
| 188 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_stbuf.sv'
|
| 189 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_buffer.sv'
|
| 190 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_intf.sv'
|
| 191 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_ecc.sv'
|
| 192 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_mem.sv'
|
| 193 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_ctl.sv'
|
| 194 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_trigger.sv'
|
| 195 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dbg/dbg.sv'
|
| 196 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_wrapper.v'
|
| 197 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_jtag_to_core_sync.v'
|
| 198 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/rvjtag_tap.sv'
|
| 199 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/pkg.sv'
|
| 200 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer_pkg.sv'
|
| 201 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer.sv'
|
| 202 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/ahb_sif.sv'
|
| 203 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tb_top.sv'
|
| 204 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/ahb_to_axi4.sv'
|
| 205 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/axi4_to_ahb.sv'
|
| 206 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/beh_lib.sv'
|
| 207 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/mem_lib.sv'
|
| 208 |
+
%Error: Exiting due to 49 error(s)
|
| 209 |
+
|
| 210 |
+
rc=1
|
| 211 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_p2p_fixed.log
ADDED
|
@@ -0,0 +1,466 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (fixed)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
|
| 4 |
+
### filelist_surelog:integration_files/SweRV_EH1/flist_verilator.f
|
| 5 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/flist_verilator.f' '-odir' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl'
|
| 6 |
+
[INF:CM0023] Creating log file "testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl/slpp_all/surelog.log".
|
| 7 |
+
|
| 8 |
+
[FTL:CM0008] Verilog File "/snapshots/default/common_defines_verilator.vh" does not exist.
|
| 9 |
+
|
| 10 |
+
[FTL:CM0008] Verilog File "/rtl/include/swerv_types.sv" does not exist.
|
| 11 |
+
|
| 12 |
+
[FTL:CM0008] Verilog File "/rtl/swerv_wrapper.sv" does not exist.
|
| 13 |
+
|
| 14 |
+
[FTL:CM0008] Verilog File "/rtl/mem.sv" does not exist.
|
| 15 |
+
|
| 16 |
+
[FTL:CM0008] Verilog File "/rtl/pic_ctrl.sv" does not exist.
|
| 17 |
+
|
| 18 |
+
[FTL:CM0008] Verilog File "/rtl/swerv.sv" does not exist.
|
| 19 |
+
|
| 20 |
+
[FTL:CM0008] Verilog File "/rtl/dma_ctrl.sv" does not exist.
|
| 21 |
+
|
| 22 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_aln_ctl.sv" does not exist.
|
| 23 |
+
|
| 24 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_compress_ctl.sv" does not exist.
|
| 25 |
+
|
| 26 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ifc_ctl.sv" does not exist.
|
| 27 |
+
|
| 28 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_bp_ctl.sv" does not exist.
|
| 29 |
+
|
| 30 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ic_mem.sv" does not exist.
|
| 31 |
+
|
| 32 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_mem_ctl.sv" does not exist.
|
| 33 |
+
|
| 34 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_iccm_mem.sv" does not exist.
|
| 35 |
+
|
| 36 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu.sv" does not exist.
|
| 37 |
+
|
| 38 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_decode_ctl.sv" does not exist.
|
| 39 |
+
|
| 40 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_gpr_ctl.sv" does not exist.
|
| 41 |
+
|
| 42 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_ib_ctl.sv" does not exist.
|
| 43 |
+
|
| 44 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_tlu_ctl.sv" does not exist.
|
| 45 |
+
|
| 46 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_trigger.sv" does not exist.
|
| 47 |
+
|
| 48 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec.sv" does not exist.
|
| 49 |
+
|
| 50 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_alu_ctl.sv" does not exist.
|
| 51 |
+
|
| 52 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_mul_ctl.sv" does not exist.
|
| 53 |
+
|
| 54 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_div_ctl.sv" does not exist.
|
| 55 |
+
|
| 56 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu.sv" does not exist.
|
| 57 |
+
|
| 58 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu.sv" does not exist.
|
| 59 |
+
|
| 60 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_clkdomain.sv" does not exist.
|
| 61 |
+
|
| 62 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_addrcheck.sv" does not exist.
|
| 63 |
+
|
| 64 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_lsc_ctl.sv" does not exist.
|
| 65 |
+
|
| 66 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_stbuf.sv" does not exist.
|
| 67 |
+
|
| 68 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_buffer.sv" does not exist.
|
| 69 |
+
|
| 70 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_intf.sv" does not exist.
|
| 71 |
+
|
| 72 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_ecc.sv" does not exist.
|
| 73 |
+
|
| 74 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_mem.sv" does not exist.
|
| 75 |
+
|
| 76 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_ctl.sv" does not exist.
|
| 77 |
+
|
| 78 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_trigger.sv" does not exist.
|
| 79 |
+
|
| 80 |
+
[FTL:CM0008] Verilog File "/rtl/dbg/dbg.sv" does not exist.
|
| 81 |
+
|
| 82 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_wrapper.v" does not exist.
|
| 83 |
+
|
| 84 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_jtag_to_core_sync.v" does not exist.
|
| 85 |
+
|
| 86 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/rvjtag_tap.sv" does not exist.
|
| 87 |
+
|
| 88 |
+
[FTL:CM0008] Verilog File "/rtl/lib/beh_lib.sv" does not exist.
|
| 89 |
+
|
| 90 |
+
[FTL:CM0008] Verilog File "/rtl/lib/mem_lib.sv" does not exist.
|
| 91 |
+
|
| 92 |
+
[FTL:CM0008] Verilog File "/rtl/lib/ahb_to_axi4.sv" does not exist.
|
| 93 |
+
|
| 94 |
+
[FTL:CM0008] Verilog File "/rtl/lib/axi4_to_ahb.sv" does not exist.
|
| 95 |
+
|
| 96 |
+
[WRN:CM0005] Include path "/rtl/lib" does not exist.
|
| 97 |
+
|
| 98 |
+
[WRN:CM0005] Include path "/rtl/include" does not exist.
|
| 99 |
+
|
| 100 |
+
[WRN:CM0005] Include path "/snapshots/default" does not exist.
|
| 101 |
+
|
| 102 |
+
[WRN:CM0005] Include path "/rtl" does not exist.
|
| 103 |
+
|
| 104 |
+
[WRN:CM0005] Include path "/rtl/ifu" does not exist.
|
| 105 |
+
|
| 106 |
+
[WRN:CM0005] Include path "/rtl/dec" does not exist.
|
| 107 |
+
|
| 108 |
+
[WRN:CM0005] Include path "/rtl/exu" does not exist.
|
| 109 |
+
|
| 110 |
+
[WRN:CM0005] Include path "/rtl/lsu" does not exist.
|
| 111 |
+
|
| 112 |
+
[WRN:CM0005] Include path "/rtl/dbg" does not exist.
|
| 113 |
+
|
| 114 |
+
[WRN:CM0005] Include path "/rtl/dmi" does not exist.
|
| 115 |
+
|
| 116 |
+
[ FATAL] : 44
|
| 117 |
+
[ SYNTAX] : 0
|
| 118 |
+
[ ERROR] : 0
|
| 119 |
+
[WARNING] : 10
|
| 120 |
+
[ NOTE] : 0
|
| 121 |
+
|
| 122 |
+
rc=1
|
| 123 |
+
|
| 124 |
+
### filelist_verilator:integration_files/SweRV_EH1/flist_verilator.f
|
| 125 |
+
'verilator' '--lint-only' '--sv' '--Wno-fatal' '--Wno-DECLFILENAME' '--Wno-MULTITOP' '--Wno-UNUSEDSIGNAL' '--Wno-UNUSEDPARAM' '--Wno-WIDTH' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/flist_verilator.f'
|
| 126 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/snapshots/default/common_defines_verilator.vh'
|
| 127 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 128 |
+
... Looked in:
|
| 129 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 130 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 131 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 132 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 133 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 134 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 135 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 136 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 137 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 138 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 139 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 140 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 141 |
+
{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 142 |
+
{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 143 |
+
{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 144 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh
|
| 145 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.v
|
| 146 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines_verilator.vh.sv
|
| 147 |
+
... With current working directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch'
|
| 148 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/include/swerv_types.sv'
|
| 149 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv_wrapper.sv'
|
| 150 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/mem.sv'
|
| 151 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/pic_ctrl.sv'
|
| 152 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv.sv'
|
| 153 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dma_ctrl.sv'
|
| 154 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_aln_ctl.sv'
|
| 155 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_compress_ctl.sv'
|
| 156 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ifc_ctl.sv'
|
| 157 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_bp_ctl.sv'
|
| 158 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ic_mem.sv'
|
| 159 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_mem_ctl.sv'
|
| 160 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_iccm_mem.sv'
|
| 161 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu.sv'
|
| 162 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_decode_ctl.sv'
|
| 163 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_gpr_ctl.sv'
|
| 164 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_ib_ctl.sv'
|
| 165 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_tlu_ctl.sv'
|
| 166 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_trigger.sv'
|
| 167 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec.sv'
|
| 168 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_alu_ctl.sv'
|
| 169 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_mul_ctl.sv'
|
| 170 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_div_ctl.sv'
|
| 171 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu.sv'
|
| 172 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu.sv'
|
| 173 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_clkdomain.sv'
|
| 174 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_addrcheck.sv'
|
| 175 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_lsc_ctl.sv'
|
| 176 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_stbuf.sv'
|
| 177 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_buffer.sv'
|
| 178 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_intf.sv'
|
| 179 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_ecc.sv'
|
| 180 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_mem.sv'
|
| 181 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_ctl.sv'
|
| 182 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_trigger.sv'
|
| 183 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dbg/dbg.sv'
|
| 184 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_wrapper.v'
|
| 185 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_jtag_to_core_sync.v'
|
| 186 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/rvjtag_tap.sv'
|
| 187 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lib/beh_lib.sv'
|
| 188 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lib/mem_lib.sv'
|
| 189 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lib/ahb_to_axi4.sv'
|
| 190 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lib/axi4_to_ahb.sv'
|
| 191 |
+
%Error: Exiting due to 44 error(s)
|
| 192 |
+
|
| 193 |
+
rc=1
|
| 194 |
+
|
| 195 |
+
### filelist_surelog:integration_files/SweRV_EH1/SweRV_EH1_flist.f
|
| 196 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/SweRV_EH1_flist.f' '-odir' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl'
|
| 197 |
+
[INF:CM0023] Creating log file "testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl/slpp_all/surelog.log".
|
| 198 |
+
|
| 199 |
+
[FTL:CM0008] Verilog File "/snapshots/default/common_defines.vh" does not exist.
|
| 200 |
+
|
| 201 |
+
[FTL:CM0008] Verilog File "/rtl/include/swerv_types.sv" does not exist.
|
| 202 |
+
|
| 203 |
+
[FTL:CM0008] Verilog File "/rtl/swerv_wrapper.sv" does not exist.
|
| 204 |
+
|
| 205 |
+
[FTL:CM0008] Verilog File "/rtl/mem.sv" does not exist.
|
| 206 |
+
|
| 207 |
+
[FTL:CM0008] Verilog File "/rtl/pic_ctrl.sv" does not exist.
|
| 208 |
+
|
| 209 |
+
[FTL:CM0008] Verilog File "/rtl/swerv.sv" does not exist.
|
| 210 |
+
|
| 211 |
+
[FTL:CM0008] Verilog File "/rtl/dma_ctrl.sv" does not exist.
|
| 212 |
+
|
| 213 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_aln_ctl.sv" does not exist.
|
| 214 |
+
|
| 215 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_compress_ctl.sv" does not exist.
|
| 216 |
+
|
| 217 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ifc_ctl.sv" does not exist.
|
| 218 |
+
|
| 219 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_bp_ctl.sv" does not exist.
|
| 220 |
+
|
| 221 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_ic_mem.sv" does not exist.
|
| 222 |
+
|
| 223 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_mem_ctl.sv" does not exist.
|
| 224 |
+
|
| 225 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu_iccm_mem.sv" does not exist.
|
| 226 |
+
|
| 227 |
+
[FTL:CM0008] Verilog File "/rtl/ifu/ifu.sv" does not exist.
|
| 228 |
+
|
| 229 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_decode_ctl.sv" does not exist.
|
| 230 |
+
|
| 231 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_gpr_ctl.sv" does not exist.
|
| 232 |
+
|
| 233 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_ib_ctl.sv" does not exist.
|
| 234 |
+
|
| 235 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_tlu_ctl.sv" does not exist.
|
| 236 |
+
|
| 237 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec_trigger.sv" does not exist.
|
| 238 |
+
|
| 239 |
+
[FTL:CM0008] Verilog File "/rtl/dec/dec.sv" does not exist.
|
| 240 |
+
|
| 241 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_alu_ctl.sv" does not exist.
|
| 242 |
+
|
| 243 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_mul_ctl.sv" does not exist.
|
| 244 |
+
|
| 245 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu_div_ctl.sv" does not exist.
|
| 246 |
+
|
| 247 |
+
[FTL:CM0008] Verilog File "/rtl/exu/exu.sv" does not exist.
|
| 248 |
+
|
| 249 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu.sv" does not exist.
|
| 250 |
+
|
| 251 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_clkdomain.sv" does not exist.
|
| 252 |
+
|
| 253 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_addrcheck.sv" does not exist.
|
| 254 |
+
|
| 255 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_lsc_ctl.sv" does not exist.
|
| 256 |
+
|
| 257 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_stbuf.sv" does not exist.
|
| 258 |
+
|
| 259 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_buffer.sv" does not exist.
|
| 260 |
+
|
| 261 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_bus_intf.sv" does not exist.
|
| 262 |
+
|
| 263 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_ecc.sv" does not exist.
|
| 264 |
+
|
| 265 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_mem.sv" does not exist.
|
| 266 |
+
|
| 267 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_dccm_ctl.sv" does not exist.
|
| 268 |
+
|
| 269 |
+
[FTL:CM0008] Verilog File "/rtl/lsu/lsu_trigger.sv" does not exist.
|
| 270 |
+
|
| 271 |
+
[FTL:CM0008] Verilog File "/rtl/dbg/dbg.sv" does not exist.
|
| 272 |
+
|
| 273 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_wrapper.v" does not exist.
|
| 274 |
+
|
| 275 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/dmi_jtag_to_core_sync.v" does not exist.
|
| 276 |
+
|
| 277 |
+
[FTL:CM0008] Verilog File "/rtl/dmi/rvjtag_tap.sv" does not exist.
|
| 278 |
+
|
| 279 |
+
[FTL:CM0008] Verilog File "/testbench/pkg.sv" does not exist.
|
| 280 |
+
|
| 281 |
+
[FTL:CM0008] Verilog File "/testbench/tracer_pkg.sv" does not exist.
|
| 282 |
+
|
| 283 |
+
[FTL:CM0008] Verilog File "/testbench/tracer.sv" does not exist.
|
| 284 |
+
|
| 285 |
+
[FTL:CM0008] Verilog File "/testbench/ahb_sif.sv" does not exist.
|
| 286 |
+
|
| 287 |
+
[FTL:CM0008] Verilog File "/testbench/tb_top.sv" does not exist.
|
| 288 |
+
|
| 289 |
+
[FTL:CM0006] Library file "/rtl/lib/beh_lib.sv" does not exist.
|
| 290 |
+
|
| 291 |
+
[FTL:CM0006] Library file "/rtl/lib/mem_lib.sv" does not exist.
|
| 292 |
+
|
| 293 |
+
[FTL:CM0006] Library file "/rtl/lib/ahb_to_axi4.sv" does not exist.
|
| 294 |
+
|
| 295 |
+
[FTL:CM0006] Library file "/rtl/lib/axi4_to_ahb.sv" does not exist.
|
| 296 |
+
|
| 297 |
+
[WRN:CM0005] Include path "/rtl/lib" does not exist.
|
| 298 |
+
|
| 299 |
+
[WRN:CM0005] Include path "/rtl/include" does not exist.
|
| 300 |
+
|
| 301 |
+
[WRN:CM0005] Include path "/snapshots/default" does not exist.
|
| 302 |
+
|
| 303 |
+
[WRN:CM0005] Include path "/rtl" does not exist.
|
| 304 |
+
|
| 305 |
+
[WRN:CM0005] Include path "/rtl/ifu" does not exist.
|
| 306 |
+
|
| 307 |
+
[WRN:CM0005] Include path "/rtl/dec" does not exist.
|
| 308 |
+
|
| 309 |
+
[WRN:CM0005] Include path "/rtl/exu" does not exist.
|
| 310 |
+
|
| 311 |
+
[WRN:CM0005] Include path "/rtl/lsu" does not exist.
|
| 312 |
+
|
| 313 |
+
[WRN:CM0005] Include path "/rtl/dbg" does not exist.
|
| 314 |
+
|
| 315 |
+
[WRN:CM0005] Include path "/rtl/dmi" does not exist.
|
| 316 |
+
|
| 317 |
+
[WRN:CM0005] Include path "/testbench" does not exist.
|
| 318 |
+
|
| 319 |
+
[ FATAL] : 49
|
| 320 |
+
[ SYNTAX] : 0
|
| 321 |
+
[ ERROR] : 0
|
| 322 |
+
[WARNING] : 11
|
| 323 |
+
[ NOTE] : 0
|
| 324 |
+
|
| 325 |
+
rc=1
|
| 326 |
+
|
| 327 |
+
### filelist_verilator:integration_files/SweRV_EH1/SweRV_EH1_flist.f
|
| 328 |
+
'verilator' '--lint-only' '--sv' '--Wno-fatal' '--Wno-DECLFILENAME' '--Wno-MULTITOP' '--Wno-UNUSEDSIGNAL' '--Wno-UNUSEDPARAM' '--Wno-WIDTH' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/SweRV_EH1_flist.f'
|
| 329 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/snapshots/default/common_defines.vh'
|
| 330 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 331 |
+
... Looked in:
|
| 332 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 333 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 334 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 335 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 336 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 337 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 338 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 339 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 340 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 341 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 342 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 343 |
+
{PRJ_DIR}/snapshots/default/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 344 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 345 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 346 |
+
{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 347 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh
|
| 348 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh.v
|
| 349 |
+
obj_dir/{PRJ_DIR}/snapshots/default/common_defines.vh.sv
|
| 350 |
+
... With current working directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch'
|
| 351 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/include/swerv_types.sv'
|
| 352 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv_wrapper.sv'
|
| 353 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/mem.sv'
|
| 354 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/pic_ctrl.sv'
|
| 355 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/swerv.sv'
|
| 356 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dma_ctrl.sv'
|
| 357 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_aln_ctl.sv'
|
| 358 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_compress_ctl.sv'
|
| 359 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ifc_ctl.sv'
|
| 360 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_bp_ctl.sv'
|
| 361 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_ic_mem.sv'
|
| 362 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_mem_ctl.sv'
|
| 363 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu_iccm_mem.sv'
|
| 364 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/ifu/ifu.sv'
|
| 365 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_decode_ctl.sv'
|
| 366 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_gpr_ctl.sv'
|
| 367 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_ib_ctl.sv'
|
| 368 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_tlu_ctl.sv'
|
| 369 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec_trigger.sv'
|
| 370 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dec/dec.sv'
|
| 371 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_alu_ctl.sv'
|
| 372 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_mul_ctl.sv'
|
| 373 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu_div_ctl.sv'
|
| 374 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/exu/exu.sv'
|
| 375 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu.sv'
|
| 376 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_clkdomain.sv'
|
| 377 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_addrcheck.sv'
|
| 378 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_lsc_ctl.sv'
|
| 379 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_stbuf.sv'
|
| 380 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_buffer.sv'
|
| 381 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_bus_intf.sv'
|
| 382 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_ecc.sv'
|
| 383 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_mem.sv'
|
| 384 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_dccm_ctl.sv'
|
| 385 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/lsu/lsu_trigger.sv'
|
| 386 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dbg/dbg.sv'
|
| 387 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_wrapper.v'
|
| 388 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/dmi_jtag_to_core_sync.v'
|
| 389 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/rtl/dmi/rvjtag_tap.sv'
|
| 390 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/pkg.sv'
|
| 391 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer_pkg.sv'
|
| 392 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer.sv'
|
| 393 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/ahb_sif.sv'
|
| 394 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tb_top.sv'
|
| 395 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/ahb_to_axi4.sv'
|
| 396 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/axi4_to_ahb.sv'
|
| 397 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/beh_lib.sv'
|
| 398 |
+
%Error: Cannot find file containing library module: '{PRJ_DIR}/rtl/lib/mem_lib.sv'
|
| 399 |
+
%Error: Exiting due to 49 error(s)
|
| 400 |
+
|
| 401 |
+
rc=1
|
| 402 |
+
|
| 403 |
+
### filelist_surelog:integration_files/SweRV_EH1/testbench_veri.f
|
| 404 |
+
'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/testbench_veri.f' '-odir' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl'
|
| 405 |
+
[INF:CM0023] Creating log file "testbench/Lampro-Mellon_LM-RISCV-DV_pr81/open_tool_fixed_fl/slpp_all/surelog.log".
|
| 406 |
+
|
| 407 |
+
[NTE:CM0009] Command line argument "/testbench/test_tb_top.cpp" ignored.
|
| 408 |
+
|
| 409 |
+
[FTL:CM0008] Verilog File "/testbench/pkg.sv" does not exist.
|
| 410 |
+
|
| 411 |
+
[FTL:CM0008] Verilog File "/testbench/tracer_pkg.sv" does not exist.
|
| 412 |
+
|
| 413 |
+
[FTL:CM0008] Verilog File "/testbench/tracer.sv" does not exist.
|
| 414 |
+
|
| 415 |
+
[FTL:CM0008] Verilog File "/testbench/ahb_sif.sv" does not exist.
|
| 416 |
+
|
| 417 |
+
[FTL:CM0008] Verilog File "/testbench/tb_top.sv" does not exist.
|
| 418 |
+
|
| 419 |
+
[WRN:CM0005] Include path "/rtl/lib" does not exist.
|
| 420 |
+
|
| 421 |
+
[WRN:CM0005] Include path "/rtl/include" does not exist.
|
| 422 |
+
|
| 423 |
+
[WRN:CM0005] Include path "/snapshots/defaults" does not exist.
|
| 424 |
+
|
| 425 |
+
[WRN:CM0005] Include path "/testbench" does not exist.
|
| 426 |
+
|
| 427 |
+
[ FATAL] : 5
|
| 428 |
+
[ SYNTAX] : 0
|
| 429 |
+
[ ERROR] : 0
|
| 430 |
+
[WARNING] : 4
|
| 431 |
+
[ NOTE] : 1
|
| 432 |
+
|
| 433 |
+
rc=1
|
| 434 |
+
|
| 435 |
+
### filelist_verilator:integration_files/SweRV_EH1/testbench_veri.f
|
| 436 |
+
'verilator' '--lint-only' '--sv' '--Wno-fatal' '--Wno-DECLFILENAME' '--Wno-MULTITOP' '--Wno-UNUSEDSIGNAL' '--Wno-UNUSEDPARAM' '--Wno-WIDTH' '-Itestbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch' '-f' 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/testbench_veri.f'
|
| 437 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/pkg.sv'
|
| 438 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 439 |
+
... Looked in:
|
| 440 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/testbench/pkg.sv
|
| 441 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/testbench/pkg.sv.v
|
| 442 |
+
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/{PRJ_DIR}/testbench/pkg.sv.sv
|
| 443 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/testbench/pkg.sv
|
| 444 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/testbench/pkg.sv.v
|
| 445 |
+
{PRJ_DIR}/rtl/lib/{PRJ_DIR}/testbench/pkg.sv.sv
|
| 446 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/testbench/pkg.sv
|
| 447 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/testbench/pkg.sv.v
|
| 448 |
+
{PRJ_DIR}/rtl/include/{PRJ_DIR}/testbench/pkg.sv.sv
|
| 449 |
+
{PRJ_DIR}/snapshots/defaults/{PRJ_DIR}/testbench/pkg.sv
|
| 450 |
+
{PRJ_DIR}/snapshots/defaults/{PRJ_DIR}/testbench/pkg.sv.v
|
| 451 |
+
{PRJ_DIR}/snapshots/defaults/{PRJ_DIR}/testbench/pkg.sv.sv
|
| 452 |
+
{PRJ_DIR}/testbench/pkg.sv
|
| 453 |
+
{PRJ_DIR}/testbench/pkg.sv.v
|
| 454 |
+
{PRJ_DIR}/testbench/pkg.sv.sv
|
| 455 |
+
obj_dir/{PRJ_DIR}/testbench/pkg.sv
|
| 456 |
+
obj_dir/{PRJ_DIR}/testbench/pkg.sv.v
|
| 457 |
+
obj_dir/{PRJ_DIR}/testbench/pkg.sv.sv
|
| 458 |
+
... With current working directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch'
|
| 459 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer_pkg.sv'
|
| 460 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tracer.sv'
|
| 461 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/ahb_sif.sv'
|
| 462 |
+
%Error: Cannot find file containing module: '{PRJ_DIR}/testbench/tb_top.sv'
|
| 463 |
+
%Error: Exiting due to 5 error(s)
|
| 464 |
+
|
| 465 |
+
rc=1
|
| 466 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/repo_native_buggy.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in buggy phase: no multi-file open-tool check passed
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/repo_native_fixed.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in fixed phase: no multi-file open-tool check passed
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/run_once.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
exec python3 "$HERE/../_run_once_from_run_verilator.py" "$HERE/run_verilator.sh"
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/run_verilator.sh
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
cd "$HERE"
|
| 5 |
+
. "$HERE/../_testcase_minimum.sh"
|
| 6 |
+
. "$HERE/../_repo_native_p2p_smoke.sh"
|
| 7 |
+
unset HWE_AUTO_COVERAGE
|
| 8 |
+
|
| 9 |
+
BASE="Lampro-Mellon_LM-RISCV-DV_pr81"
|
| 10 |
+
ROOT="$(cd "$HERE/../.." && pwd)"
|
| 11 |
+
SNAPSHOT="$ROOT/snapshots/$BASE"
|
| 12 |
+
PATCH="$ROOT/patches/$BASE.patch"
|
| 13 |
+
TB_DIR="$HERE"
|
| 14 |
+
TB="tb_lm_riscvdv_pr81_verilator.sv"
|
| 15 |
+
TOP="tb_lm_riscvdv_pr81_verilator"
|
| 16 |
+
SCRATCH="$HERE/snapshot_scratch"
|
| 17 |
+
PATCH_TARGETS=(
|
| 18 |
+
"integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh"
|
| 19 |
+
"integration_files/SweRV_EH1/testbench/tracer.sv"
|
| 20 |
+
)
|
| 21 |
+
|
| 22 |
+
trap 'rm -rf "$SCRATCH" obj_dir' EXIT
|
| 23 |
+
|
| 24 |
+
prepare_phase() {
|
| 25 |
+
local mode="$1"
|
| 26 |
+
rm -rf "$SCRATCH"
|
| 27 |
+
cp -a "$SNAPSHOT" "$SCRATCH"
|
| 28 |
+
chmod -R u+w "$SCRATCH"
|
| 29 |
+
if [[ "$mode" == "fixed" ]]; then
|
| 30 |
+
(cd "$SCRATCH" && patch -p1 -f --no-backup-if-mismatch < "$PATCH" >/dev/null 2>&1) || true
|
| 31 |
+
else
|
| 32 |
+
(cd "$SCRATCH" && patch -p1 -R -f --no-backup-if-mismatch < "$PATCH" >/dev/null 2>&1) || true
|
| 33 |
+
fi
|
| 34 |
+
cp "$TB_DIR/$TB" "$SCRATCH/"
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
build_and_run() {
|
| 38 |
+
local mode="$1"
|
| 39 |
+
rm -rf obj_dir "verilator_${mode}_build.log" "verilator_${mode}.log"
|
| 40 |
+
local target target_sources=() lint_rc=0
|
| 41 |
+
for target in "${PATCH_TARGETS[@]}"; do
|
| 42 |
+
if [[ -f "$SCRATCH/$target" ]]; then
|
| 43 |
+
target_sources+=("$SCRATCH/$target")
|
| 44 |
+
else
|
| 45 |
+
echo "WARN: missing patch target $target" >> "$TB_DIR/verilator_${mode}_build.log"
|
| 46 |
+
fi
|
| 47 |
+
done
|
| 48 |
+
if [[ ${#target_sources[@]} -gt 0 ]]; then
|
| 49 |
+
verilator --lint-only --sv --timing --Wno-fatal --Wno-WIDTH --Wno-UNOPTFLAT --Wno-UNUSEDSIGNAL --Wno-UNUSEDPARAM --Wno-DECLFILENAME "${target_sources[@]}" >> "$TB_DIR/verilator_${mode}_build.log" 2>&1 || lint_rc=$?
|
| 50 |
+
echo "INFO: patch target verilator lint rc=$lint_rc" >> "$TB_DIR/verilator_${mode}_build.log"
|
| 51 |
+
fi
|
| 52 |
+
if ! (cd "$SCRATCH" && verilator -Wno-fatal --binary --sv -I. --top-module "$TOP" "$TB") >> "$TB_DIR/verilator_${mode}_build.log" 2>&1; then
|
| 53 |
+
return 2
|
| 54 |
+
fi
|
| 55 |
+
if (cd "$SCRATCH" && ./obj_dir/V$TOP) > "$TB_DIR/verilator_${mode}.log" 2>&1; then return 0; else return $?; fi
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
set +e
|
| 59 |
+
prepare_phase buggy
|
| 60 |
+
run_repo_native_p2p_smoke buggy || exit $?
|
| 61 |
+
build_and_run buggy; buggy_rc=$?
|
| 62 |
+
prepare_phase fixed
|
| 63 |
+
run_repo_native_p2p_smoke fixed || exit $?
|
| 64 |
+
build_and_run fixed; fixed_rc=$?
|
| 65 |
+
set -e
|
| 66 |
+
echo "buggy:$buggy_rc fixed:$fixed_rc"
|
| 67 |
+
if [[ $buggy_rc -ne 0 && $fixed_rc -eq 0 ]]; then hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $BASE"; else echo "FAIL: $BASE"; exit 1; fi
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/tb_lm_riscvdv_pr81_verilator.sv
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
`include "integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh"
|
| 2 |
+
module tb_lm_riscvdv_pr81_verilator;
|
| 3 |
+
initial begin
|
| 4 |
+
if (`RV_LSU_BUS_TAG !== 4) $fatal(1, "Missing Verilator common defines");
|
| 5 |
+
$display("PASS: T_COMPLETION directed testcase sequence completed");
|
| 6 |
+
$display("PASS: lm riscv dv pr81");
|
| 7 |
+
$finish;
|
| 8 |
+
end
|
| 9 |
+
endmodule
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_buggy_build.log
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
WARN: missing patch target integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh
|
| 2 |
+
%Error: testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/testbench/tracer.sv:97:10: Import package not found: 'tracer_pkg'
|
| 3 |
+
97 | import tracer_pkg::*;
|
| 4 |
+
| ^~~~~~~~~~
|
| 5 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 6 |
+
%Error: Exiting due to 1 error(s)
|
| 7 |
+
INFO: patch target verilator lint rc=1
|
| 8 |
+
%Error: tb_lm_riscvdv_pr81_verilator.sv:1:10: Cannot find include file: 'integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh'
|
| 9 |
+
1 | `include "integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh"
|
| 10 |
+
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 11 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 12 |
+
... Looked in:
|
| 13 |
+
integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh
|
| 14 |
+
integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh.v
|
| 15 |
+
integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh.sv
|
| 16 |
+
obj_dir/integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh
|
| 17 |
+
obj_dir/integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh.v
|
| 18 |
+
obj_dir/integration_files/SweRV_EH1/snapshots/default/common_defines_verilator.vh.sv
|
| 19 |
+
... With current working directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch'
|
| 20 |
+
%Error: tb_lm_riscvdv_pr81_verilator.sv:4:9: Define or directive not defined: '`RV_LSU_BUS_TAG'
|
| 21 |
+
4 | if (`RV_LSU_BUS_TAG !== 4) $fatal(1, "Missing Verilator common defines");
|
| 22 |
+
| ^~~~~~~~~~~~~~~
|
| 23 |
+
%Error: tb_lm_riscvdv_pr81_verilator.sv:4:25: syntax error, unexpected !==, expecting IDENTIFIER-for-type
|
| 24 |
+
4 | if (`RV_LSU_BUS_TAG !== 4) $fatal(1, "Missing Verilator common defines");
|
| 25 |
+
| ^~~
|
| 26 |
+
%Error: Exiting due to 3 error(s)
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_buggy_phase.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
FAIL: buggy phase exited rc=2
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed.log
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PASS: T_COMPLETION directed testcase sequence completed
|
| 2 |
+
PASS: lm riscv dv pr81
|
| 3 |
+
- tb_lm_riscvdv_pr81_verilator.sv:7: Verilog $finish
|
| 4 |
+
- S i m u l a t i o n R e p o r t: Verilator 5.047 devel
|
| 5 |
+
- Verilator: $finish at 0s; walltime 0.000 s; speed 0.000 s/s
|
| 6 |
+
- Verilator: cpu 0.000 s on 1 threads; allocated 6 MB
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_build.log
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
%Error: testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/integration_files/SweRV_EH1/testbench/tracer.sv:97:10: Import package not found: 'tracer_pkg'
|
| 2 |
+
97 | import tracer_pkg::*;
|
| 3 |
+
| ^~~~~~~~~~
|
| 4 |
+
... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
|
| 5 |
+
%Error: Exiting due to 1 error(s)
|
| 6 |
+
INFO: patch target verilator lint rc=1
|
| 7 |
+
make: Entering directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/obj_dir'
|
| 8 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=0 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -c -o verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
|
| 9 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=0 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -c -o verilated_threads.o /opt/oss-cad-suite/share/verilator/include/verilated_threads.cpp
|
| 10 |
+
python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vtb_lm_riscvdv_pr81_verilator.cpp Vtb_lm_riscvdv_pr81_verilator___024root__0.cpp Vtb_lm_riscvdv_pr81_verilator__main.cpp Vtb_lm_riscvdv_pr81_verilator___024root__Slow.cpp Vtb_lm_riscvdv_pr81_verilator___024root__0__Slow.cpp Vtb_lm_riscvdv_pr81_verilator__Syms__Slow.cpp > Vtb_lm_riscvdv_pr81_verilator__ALL.cpp
|
| 11 |
+
g++ -Os -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniforge3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/user/miniforge3/include -I. -MMD -I/opt/oss-cad-suite/share/verilator/include -I/opt/oss-cad-suite/share/verilator/include/vltstd -DVERILATOR=1 -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TIMING=0 -DVM_TRACE=0 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=0 -DVM_TRACE_SAIF=0 -faligned-new -fcf-protection=none -Wno-bool-operation -Wno-int-in-bool-context -Wno-shadow -Wno-sign-compare -Wno-subobject-linkage -Wno-tautological-compare -Wno-uninitialized -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -DVL_TIME_CONTEXT -c -o Vtb_lm_riscvdv_pr81_verilator__ALL.o Vtb_lm_riscvdv_pr81_verilator__ALL.cpp
|
| 12 |
+
g++ -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/miniforge3/lib -Wl,-rpath-link,/home/user/miniforge3/lib -L/home/user/miniforge3/lib verilated.o verilated_threads.o Vtb_lm_riscvdv_pr81_verilator__ALL.a -pthread -lpthread -latomic -o Vtb_lm_riscvdv_pr81_verilator
|
| 13 |
+
rm Vtb_lm_riscvdv_pr81_verilator__ALL.verilator_deplist.tmp
|
| 14 |
+
make: Leaving directory 'testbench/Lampro-Mellon_LM-RISCV-DV_pr81/snapshot_scratch/obj_dir'
|
| 15 |
+
- V e r i l a t i o n R e p o r t: Verilator 5.047 devel rev v5.046-293-ge82bd52fa (mod)
|
| 16 |
+
- Verilator: Built from 0.032 MB sources in 2 modules, into 0.016 MB in 6 C++ files needing 0.000 MB
|
| 17 |
+
- Verilator: Walltime 4.890 s (elab=0.000, cvt=0.001, bld=4.886); cpu 0.004 s on 1 threads; allocated 20.516 MB
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_coverage.info
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
TN:verilator_coverage
|
| 2 |
+
SF:tb_lm_riscvdv_pr81_verilator.sv
|
| 3 |
+
DA:4,1
|
| 4 |
+
BRF:0
|
| 5 |
+
BRH:0
|
| 6 |
+
end_of_record
|
testbench/Lampro-Mellon_LM-RISCV-DV_pr81/verilator_fixed_phase.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: fixed phase exited rc=0
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/open_tool_p2p_buggy.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (buggy)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/open_tool_p2p_fixed.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO: open-tool P2P fallback (fixed)
|
| 2 |
+
INFO: native simulation P2P not applicable for this case
|
| 3 |
+
PASS: open-tool P2P fallback not applicable: no open-tool check passed
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/patch_fixed.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
patching file rtl/gbc_snd.vhd
|
| 2 |
+
patching file rtl/gbc_snd.vhd
|
| 3 |
+
patching file rtl/gbc_snd.vhd
|
| 4 |
+
patching file Gameboy.sv
|
| 5 |
+
patching file rtl/gbc_snd.vhd
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/repo_native_buggy.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in buggy phase: no multi-file open-tool check passed
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/repo_native_fixed.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PASS: repo native P2P smoke not applicable in fixed phase: no multi-file open-tool check passed
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/run_once.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -u
|
| 3 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 4 |
+
exec python3 "$HERE/../_run_once_from_run_verilator.py" "$HERE/run_verilator.sh"
|
testbench/MiSTer-devel_Gameboy_MiSTer_pr216/run_verilator.sh
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
| 5 |
+
cd "$HERE"
|
| 6 |
+
. "$HERE/../_testcase_minimum.sh"
|
| 7 |
+
. "$HERE/../_repo_native_p2p_smoke.sh"
|
| 8 |
+
export HWE_AUTO_COVERAGE=1
|
| 9 |
+
|
| 10 |
+
BASE="MiSTer-devel_Gameboy_MiSTer_pr216"
|
| 11 |
+
ROOT="$(cd "$HERE/../.." && pwd)"
|
| 12 |
+
SNAPSHOT="$ROOT/snapshots/$BASE"
|
| 13 |
+
PATCH_FILE="$ROOT/patches/$BASE.patch"
|
| 14 |
+
SCRATCH="$HERE/snapshot_scratch"
|
| 15 |
+
TOP="tb_gameboy_pr216_verilator"
|
| 16 |
+
TB="$HERE/tb_gameboy_pr216_verilator.sv"
|
| 17 |
+
STUBS="$HERE/stubs_pr216.sv"
|
| 18 |
+
TARGET_GAMEBOY="Gameboy.sv"
|
| 19 |
+
|
| 20 |
+
prepare_phase() {
|
| 21 |
+
local phase="$1"
|
| 22 |
+
rm -rf "$SCRATCH"
|
| 23 |
+
cp -r "$SNAPSHOT" "$SCRATCH"
|
| 24 |
+
chmod -R u+w "$SCRATCH"
|
| 25 |
+
printf '`define BUILD_DATE "test"\n' > "$SCRATCH/build_id.v"
|
| 26 |
+
if [ "$phase" = "fixed" ]; then
|
| 27 |
+
(cd "$SCRATCH" && patch -p1 -f --no-backup-if-mismatch < "$PATCH_FILE") >"$HERE/patch_${phase}.log" 2>&1
|
| 28 |
+
fi
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
run_phase() {
|
| 32 |
+
local phase="$1"
|
| 33 |
+
rm -rf "$SCRATCH/obj_dir"
|
| 34 |
+
run_repo_native_p2p_smoke "$phase" || return $?
|
| 35 |
+
rm -f "$HERE/coverage.dat" "$HERE/verilator_fixed_coverage.dat"
|
| 36 |
+
rm -f "$HERE/verilator_${phase}.log" "$HERE/verilator_${phase}_build.log"
|
| 37 |
+
|
| 38 |
+
if ! (cd "$SCRATCH" && verilator --binary --sv --timing --Wno-fatal \
|
| 39 |
+
--Wno-WIDTH --Wno-WIDTHTRUNC --Wno-WIDTHEXPAND --Wno-UNUSEDSIGNAL \
|
| 40 |
+
--Wno-PINMISSING --Wno-PINCONNECTEMPTY --Wno-TIMESCALEMOD \
|
| 41 |
+
-I"$SCRATCH" \
|
| 42 |
+
--top-module "$TOP" \
|
| 43 |
+
"$TB" \
|
| 44 |
+
"$STUBS" \
|
| 45 |
+
"$SCRATCH/$TARGET_GAMEBOY") >"$HERE/verilator_${phase}_build.log" 2>&1; then
|
| 46 |
+
echo "FAIL: ${phase} build rejected the snapshot HDL" >"$HERE/verilator_${phase}.log"
|
| 47 |
+
return 2
|
| 48 |
+
fi
|
| 49 |
+
|
| 50 |
+
(cd "$SCRATCH" && "./obj_dir/V$TOP") >"$HERE/verilator_${phase}.log" 2>&1
|
| 51 |
+
local sim_rc=$?
|
| 52 |
+
if [ "$sim_rc" -eq 0 ]; then
|
| 53 |
+
if [ "$phase" = "fixed" ]; then
|
| 54 |
+
cp "$HERE/coverage.dat" "$HERE/verilator_fixed_coverage.dat" 2>/dev/null || true
|
| 55 |
+
fi
|
| 56 |
+
return 0
|
| 57 |
+
fi
|
| 58 |
+
return "$sim_rc"
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
set +e
|
| 62 |
+
prepare_phase buggy
|
| 63 |
+
run_phase buggy
|
| 64 |
+
buggy_rc=$?
|
| 65 |
+
|
| 66 |
+
prepare_phase fixed
|
| 67 |
+
run_phase fixed
|
| 68 |
+
fixed_rc=$?
|
| 69 |
+
set -e
|
| 70 |
+
|
| 71 |
+
echo "buggy:$buggy_rc fixed:$fixed_rc"
|
| 72 |
+
if [ "$buggy_rc" -ne 0 ] && [ "$fixed_rc" -eq 0 ]; then
|
| 73 |
+
hwe_report_min_testcases
|
| 74 |
+
hwe_report_real_verilator_coverage
|
| 75 |
+
echo "PASS: $BASE"
|
| 76 |
+
exit 0
|
| 77 |
+
fi
|
| 78 |
+
|
| 79 |
+
echo "FAIL: $BASE"
|
| 80 |
+
exit 1
|