OvertureMMXXI Zanehpn commited on
Commit
77ec261
·
1 Parent(s): 8d30de8

Replace 46 unsound harnesses and correct 5 reference patches (#36)

Browse files

- Replace 46 unsound harnesses and correct 5 reference patches (43e7d673208245162a324a06e0afe211952f575d)
- Drop calibration files and repair notes from the release (9d76f4578900bb6a79a4d824814af02ea86e2b2e)


Co-authored-by: Zanehpn <Zanehpn@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. DATA_MANIFEST.md +1 -1
  2. Phoenix-Bench-croissant.json +53 -53
  3. README.md +4 -0
  4. data/test.jsonl +0 -0
  5. patches/UTOSS_risc-v_pr81.patch +196 -524
  6. patches/pulp-platform_common_cells_pr188.patch +1 -1
  7. patches/pulp-platform_register_interface_pr32.patch +1 -1
  8. patches/pulp-platform_riscv-dbg_pr123.patch +217 -545
  9. patches/verilator_verilator_pr6737.patch +0 -0
  10. testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_p2p_buggy.log +0 -25
  11. testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_p2p_fixed.log +0 -25
  12. testbench/FPGA-MAFIA_fpga_mafia_pr499/repo_native_buggy.log +0 -1
  13. testbench/FPGA-MAFIA_fpga_mafia_pr499/repo_native_fixed.log +0 -1
  14. testbench/FPGA-MAFIA_fpga_mafia_pr499/run_verilator.sh +10 -40
  15. testbench/FPGA-MAFIA_fpga_mafia_pr499/tb_pr499_rv32i_ref_ebreak.sv +46 -20
  16. testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_buggy.log +0 -1
  17. testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_buggy_build.log +0 -37
  18. testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_fixed.log +0 -6
  19. testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_fixed_build.log +0 -15
  20. testbench/HiSA-Team_Simply-V_pr52/fake_vivado.sh +2 -0
  21. testbench/HiSA-Team_Simply-V_pr52/fake_vivado.tcl +22 -0
  22. testbench/HiSA-Team_Simply-V_pr52/gen_stubs.py +66 -0
  23. testbench/HiSA-Team_Simply-V_pr52/open_tool_p2p_buggy.log +0 -3
  24. testbench/HiSA-Team_Simply-V_pr52/open_tool_p2p_fixed.log +0 -3
  25. testbench/HiSA-Team_Simply-V_pr52/repo_native_buggy.log +0 -1
  26. testbench/HiSA-Team_Simply-V_pr52/repo_native_fixed.log +0 -1
  27. testbench/HiSA-Team_Simply-V_pr52/run_verilator.sh +54 -91
  28. testbench/HiSA-Team_Simply-V_pr52/tb_simplyv_pr52_verilator.sv +26 -31
  29. testbench/HiSA-Team_Simply-V_pr52/uninasoc_tb_stubs_pkg.sv +4 -0
  30. testbench/HiSA-Team_Simply-V_pr52/verilator_buggy.log +0 -1
  31. testbench/HiSA-Team_Simply-V_pr52/verilator_buggy_build.log +0 -46
  32. testbench/HiSA-Team_Simply-V_pr52/verilator_fixed.log +0 -6
  33. testbench/HiSA-Team_Simply-V_pr52/verilator_fixed_build.log +0 -14
  34. testbench/HiSA-Team_Simply-V_pr68/gen_stubs.py +75 -0
  35. testbench/HiSA-Team_Simply-V_pr68/open_tool_p2p_buggy.log +0 -3
  36. testbench/HiSA-Team_Simply-V_pr68/open_tool_p2p_fixed.log +0 -3
  37. testbench/HiSA-Team_Simply-V_pr68/repo_native_buggy.log +0 -1
  38. testbench/HiSA-Team_Simply-V_pr68/repo_native_fixed.log +0 -1
  39. testbench/HiSA-Team_Simply-V_pr68/run_verilator.sh +48 -116
  40. testbench/HiSA-Team_Simply-V_pr68/tb_hisa_simplyv_pr68_verilator.sv +45 -16
  41. testbench/HiSA-Team_Simply-V_pr68/uninasoc_tb_stubs_pkg.sv +7 -0
  42. testbench/HiSA-Team_Simply-V_pr68/verilator_buggy.log +0 -1
  43. testbench/HiSA-Team_Simply-V_pr68/verilator_buggy_build.log +0 -165
  44. testbench/HiSA-Team_Simply-V_pr68/verilator_fixed.log +0 -6
  45. testbench/HiSA-Team_Simply-V_pr68/verilator_fixed_build.log +0 -16
  46. testbench/MiSTer-devel_Gameboy_MiSTer_pr24/coverage.dat +0 -102
  47. testbench/MiSTer-devel_Gameboy_MiSTer_pr24/iverilog_buggy_build.log +0 -215
  48. testbench/MiSTer-devel_Gameboy_MiSTer_pr24/iverilog_fixed_build.log +0 -215
  49. testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_p2p_buggy.log +0 -63
  50. testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_p2p_fixed.log +0 -63
DATA_MANIFEST.md CHANGED
@@ -3,7 +3,7 @@
3
  Each case provides four aligned artifacts under a common root:
4
  testbench/<case>/ verilator differential testbench (run via run_once.sh / run_verilator.sh)
5
  snapshots/<case>/ pre-PR repository snapshot (RTL sources)
6
- patches/<case>.patch the fix; testbench reverse-applies for buggy, applies for fixed
7
  issues/<case> issue description
8
  testbench/_* shared run helpers (sourced by per-case scripts)
9
 
 
3
  Each case provides four aligned artifacts under a common root:
4
  testbench/<case>/ verilator differential testbench (run via run_once.sh / run_verilator.sh)
5
  snapshots/<case>/ pre-PR repository snapshot (RTL sources)
6
+ patches/<case>.patch the fix; each harness sets up the pre-fix tree for the buggy phase and applies this for the fixed phase
7
  issues/<case> issue description
8
  testbench/_* shared run helpers (sourced by per-case scripts)
9
 
Phoenix-Bench-croissant.json CHANGED
@@ -5340,7 +5340,7 @@
5340
  "instances/instance_id": "FPGA-MAFIA_fpga_mafia_pr499",
5341
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/FPGA-MAFIA_fpga_mafia_pr499",
5342
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/FPGA-MAFIA_fpga_mafia_pr499.patch",
5343
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/FPGA-MAFIA_fpga_mafia_pr499"
5344
  },
5345
  {
5346
  "instances/instance_id": "FPGA-MAFIA_fpga_mafia_pr548",
@@ -5430,13 +5430,13 @@
5430
  "instances/instance_id": "HiSA-Team_Simply-V_pr52",
5431
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/HiSA-Team_Simply-V_pr52",
5432
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/HiSA-Team_Simply-V_pr52.patch",
5433
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/HiSA-Team_Simply-V_pr52"
5434
  },
5435
  {
5436
  "instances/instance_id": "HiSA-Team_Simply-V_pr68",
5437
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/HiSA-Team_Simply-V_pr68",
5438
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/HiSA-Team_Simply-V_pr68.patch",
5439
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/HiSA-Team_Simply-V_pr68"
5440
  },
5441
  {
5442
  "instances/instance_id": "HiSA-Team_Simply-V_pr92",
@@ -5496,7 +5496,7 @@
5496
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr24",
5497
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/MiSTer-devel_Gameboy_MiSTer_pr24",
5498
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/MiSTer-devel_Gameboy_MiSTer_pr24.patch",
5499
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/MiSTer-devel_Gameboy_MiSTer_pr24"
5500
  },
5501
  {
5502
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr240",
@@ -5514,7 +5514,7 @@
5514
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr96",
5515
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/MiSTer-devel_Gameboy_MiSTer_pr96",
5516
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/MiSTer-devel_Gameboy_MiSTer_pr96.patch",
5517
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/MiSTer-devel_Gameboy_MiSTer_pr96"
5518
  },
5519
  {
5520
  "instances/instance_id": "MiSTer-devel_Genesis_MiSTer_pr144",
@@ -5694,13 +5694,13 @@
5694
  "instances/instance_id": "Panda-Cores_PandaZero_pr14",
5695
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/Panda-Cores_PandaZero_pr14",
5696
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/Panda-Cores_PandaZero_pr14.patch",
5697
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/Panda-Cores_PandaZero_pr14"
5698
  },
5699
  {
5700
  "instances/instance_id": "Panda-Cores_PandaZero_pr3",
5701
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/Panda-Cores_PandaZero_pr3",
5702
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/Panda-Cores_PandaZero_pr3.patch",
5703
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/Panda-Cores_PandaZero_pr3"
5704
  },
5705
  {
5706
  "instances/instance_id": "Panda-Cores_PandaZero_pr4",
@@ -5778,7 +5778,7 @@
5778
  "instances/instance_id": "UTOSS_risc-v_pr115",
5779
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr115",
5780
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/UTOSS_risc-v_pr115.patch",
5781
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/UTOSS_risc-v_pr115"
5782
  },
5783
  {
5784
  "instances/instance_id": "UTOSS_risc-v_pr127",
@@ -5885,8 +5885,8 @@
5885
  {
5886
  "instances/instance_id": "UTOSS_risc-v_pr81",
5887
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr81",
5888
- "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/UTOSS_risc-v_pr81.patch",
5889
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/UTOSS_risc-v_pr81"
5890
  },
5891
  {
5892
  "instances/instance_id": "UTOSS_risc-v_pr83",
@@ -5910,7 +5910,7 @@
5910
  "instances/instance_id": "UTOSS_risc-v_pr97",
5911
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr97",
5912
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/UTOSS_risc-v_pr97.patch",
5913
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/UTOSS_risc-v_pr97"
5914
  },
5915
  {
5916
  "instances/instance_id": "Wren6991_Hazard3_pr23",
@@ -5964,7 +5964,7 @@
5964
  "instances/instance_id": "alexforencich_verilog-pcie_pr19",
5965
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/alexforencich_verilog-pcie_pr19",
5966
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/alexforencich_verilog-pcie_pr19.patch",
5967
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/alexforencich_verilog-pcie_pr19"
5968
  },
5969
  {
5970
  "instances/instance_id": "alexforencich_verilog-pcie_pr20",
@@ -6078,7 +6078,7 @@
6078
  "instances/instance_id": "bensampson5_libsv_pr150",
6079
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/bensampson5_libsv_pr150",
6080
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/bensampson5_libsv_pr150.patch",
6081
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/bensampson5_libsv_pr150"
6082
  },
6083
  {
6084
  "instances/instance_id": "bensampson5_libsv_pr153",
@@ -6174,7 +6174,7 @@
6174
  "instances/instance_id": "bespoke-silicon-group_basejump_stl_pr675",
6175
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/bespoke-silicon-group_basejump_stl_pr675",
6176
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/bespoke-silicon-group_basejump_stl_pr675.patch",
6177
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/bespoke-silicon-group_basejump_stl_pr675"
6178
  },
6179
  {
6180
  "instances/instance_id": "bespoke-silicon-group_basejump_stl_pr676",
@@ -6414,7 +6414,7 @@
6414
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr1132",
6415
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr1132",
6416
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr1132.patch",
6417
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-rtl_pr1132"
6418
  },
6419
  {
6420
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr757",
@@ -6432,37 +6432,37 @@
6432
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr883",
6433
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr883",
6434
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr883.patch",
6435
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-rtl_pr883"
6436
  },
6437
  {
6438
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr919",
6439
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr919",
6440
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr919.patch",
6441
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-rtl_pr919"
6442
  },
6443
  {
6444
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr921",
6445
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr921",
6446
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr921.patch",
6447
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-rtl_pr921"
6448
  },
6449
  {
6450
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr963",
6451
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr963",
6452
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr963.patch",
6453
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-rtl_pr963"
6454
  },
6455
  {
6456
  "instances/instance_id": "chipsalliance_caliptra-ss_pr550",
6457
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr550",
6458
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr550.patch",
6459
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-ss_pr550"
6460
  },
6461
  {
6462
  "instances/instance_id": "chipsalliance_caliptra-ss_pr565",
6463
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr565",
6464
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr565.patch",
6465
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-ss_pr565"
6466
  },
6467
  {
6468
  "instances/instance_id": "chipsalliance_caliptra-ss_pr590",
@@ -6474,13 +6474,13 @@
6474
  "instances/instance_id": "chipsalliance_caliptra-ss_pr750",
6475
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr750",
6476
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr750.patch",
6477
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-ss_pr750"
6478
  },
6479
  {
6480
  "instances/instance_id": "chipsalliance_caliptra-ss_pr838",
6481
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr838",
6482
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr838.patch",
6483
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/chipsalliance_caliptra-ss_pr838"
6484
  },
6485
  {
6486
  "instances/instance_id": "chipsalliance_i3c-core_pr35",
@@ -6534,7 +6534,7 @@
6534
  "instances/instance_id": "hdl-util_hdmi_pr12",
6535
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/hdl-util_hdmi_pr12",
6536
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/hdl-util_hdmi_pr12.patch",
6537
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/hdl-util_hdmi_pr12"
6538
  },
6539
  {
6540
  "instances/instance_id": "hdl-util_hdmi_pr15",
@@ -6912,7 +6912,7 @@
6912
  "instances/instance_id": "lowRISC_ibex_pr1917",
6913
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/lowRISC_ibex_pr1917",
6914
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/lowRISC_ibex_pr1917.patch",
6915
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/lowRISC_ibex_pr1917"
6916
  },
6917
  {
6918
  "instances/instance_id": "lowRISC_ibex_pr2166",
@@ -6948,7 +6948,7 @@
6948
  "instances/instance_id": "lowRISC_ibex_pr2269",
6949
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/lowRISC_ibex_pr2269",
6950
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/lowRISC_ibex_pr2269.patch",
6951
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/lowRISC_ibex_pr2269"
6952
  },
6953
  {
6954
  "instances/instance_id": "lowRISC_opentitan_pr28469",
@@ -7098,7 +7098,7 @@
7098
  "instances/instance_id": "muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29",
7099
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29",
7100
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29.patch",
7101
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29"
7102
  },
7103
  {
7104
  "instances/instance_id": "muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr31",
@@ -7194,7 +7194,7 @@
7194
  "instances/instance_id": "openhwgroup_cv32e40s_pr254",
7195
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/openhwgroup_cv32e40s_pr254",
7196
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/openhwgroup_cv32e40s_pr254.patch",
7197
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/openhwgroup_cv32e40s_pr254"
7198
  },
7199
  {
7200
  "instances/instance_id": "openhwgroup_cv32e40s_pr259",
@@ -7212,7 +7212,7 @@
7212
  "instances/instance_id": "openhwgroup_cv32e40x_pr894",
7213
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/openhwgroup_cv32e40x_pr894",
7214
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/openhwgroup_cv32e40x_pr894.patch",
7215
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/openhwgroup_cv32e40x_pr894"
7216
  },
7217
  {
7218
  "instances/instance_id": "openhwgroup_cv32e41p_pr15",
@@ -7392,13 +7392,13 @@
7392
  "instances/instance_id": "pulp-platform_axi_pr138",
7393
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_pr138",
7394
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_pr138.patch",
7395
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_axi_pr138"
7396
  },
7397
  {
7398
  "instances/instance_id": "pulp-platform_axi_pr185",
7399
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_pr185",
7400
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_pr185.patch",
7401
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_axi_pr185"
7402
  },
7403
  {
7404
  "instances/instance_id": "pulp-platform_axi_pr224",
@@ -7518,7 +7518,7 @@
7518
  "instances/instance_id": "pulp-platform_axi_riscv_atomics_pr37",
7519
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_riscv_atomics_pr37",
7520
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_riscv_atomics_pr37.patch",
7521
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_axi_riscv_atomics_pr37"
7522
  },
7523
  {
7524
  "instances/instance_id": "pulp-platform_axi_riscv_atomics_pr38",
@@ -7536,7 +7536,7 @@
7536
  "instances/instance_id": "pulp-platform_carfield_pr27",
7537
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_carfield_pr27",
7538
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_carfield_pr27.patch",
7539
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_carfield_pr27"
7540
  },
7541
  {
7542
  "instances/instance_id": "pulp-platform_carfield_pr41",
@@ -7595,8 +7595,8 @@
7595
  {
7596
  "instances/instance_id": "pulp-platform_common_cells_pr188",
7597
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_common_cells_pr188",
7598
- "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_common_cells_pr188.patch",
7599
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_common_cells_pr188"
7600
  },
7601
  {
7602
  "instances/instance_id": "pulp-platform_common_cells_pr222",
@@ -7734,13 +7734,13 @@
7734
  "instances/instance_id": "pulp-platform_neureka_pr30",
7735
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_neureka_pr30",
7736
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_neureka_pr30.patch",
7737
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_neureka_pr30"
7738
  },
7739
  {
7740
  "instances/instance_id": "pulp-platform_pulp_soc_pr23",
7741
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_pulp_soc_pr23",
7742
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_pulp_soc_pr23.patch",
7743
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_pulp_soc_pr23"
7744
  },
7745
  {
7746
  "instances/instance_id": "pulp-platform_pulp_soc_pr41",
@@ -7829,8 +7829,8 @@
7829
  {
7830
  "instances/instance_id": "pulp-platform_register_interface_pr32",
7831
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_register_interface_pr32",
7832
- "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_register_interface_pr32.patch",
7833
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_register_interface_pr32"
7834
  },
7835
  {
7836
  "instances/instance_id": "pulp-platform_register_interface_pr33",
@@ -7901,8 +7901,8 @@
7901
  {
7902
  "instances/instance_id": "pulp-platform_riscv-dbg_pr123",
7903
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_riscv-dbg_pr123",
7904
- "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_riscv-dbg_pr123.patch",
7905
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_riscv-dbg_pr123"
7906
  },
7907
  {
7908
  "instances/instance_id": "pulp-platform_riscv-dbg_pr145",
@@ -7992,7 +7992,7 @@
7992
  "instances/instance_id": "pulp-platform_tech_cells_generic_pr17",
7993
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_tech_cells_generic_pr17",
7994
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_tech_cells_generic_pr17.patch",
7995
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/pulp-platform_tech_cells_generic_pr17"
7996
  },
7997
  {
7998
  "instances/instance_id": "pulp-platform_tech_cells_generic_pr22",
@@ -8076,7 +8076,7 @@
8076
  "instances/instance_id": "svunit_svunit_pr114",
8077
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/svunit_svunit_pr114",
8078
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/svunit_svunit_pr114.patch",
8079
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/svunit_svunit_pr114"
8080
  },
8081
  {
8082
  "instances/instance_id": "svunit_svunit_pr197",
@@ -8100,7 +8100,7 @@
8100
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr36",
8101
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/taichi-ishitani_tvip-axi_pr36",
8102
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/taichi-ishitani_tvip-axi_pr36.patch",
8103
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/taichi-ishitani_tvip-axi_pr36"
8104
  },
8105
  {
8106
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr44",
@@ -8112,7 +8112,7 @@
8112
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr47",
8113
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/taichi-ishitani_tvip-axi_pr47",
8114
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/taichi-ishitani_tvip-axi_pr47.patch",
8115
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/taichi-ishitani_tvip-axi_pr47"
8116
  },
8117
  {
8118
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr50",
@@ -8130,13 +8130,13 @@
8130
  "instances/instance_id": "va7deo_zerowing_pr17",
8131
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/va7deo_zerowing_pr17",
8132
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/va7deo_zerowing_pr17.patch",
8133
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/va7deo_zerowing_pr17"
8134
  },
8135
  {
8136
  "instances/instance_id": "verilator_verilator_pr6552",
8137
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6552",
8138
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6552.patch",
8139
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/verilator_verilator_pr6552"
8140
  },
8141
  {
8142
  "instances/instance_id": "verilator_verilator_pr6573",
@@ -8178,7 +8178,7 @@
8178
  "instances/instance_id": "verilator_verilator_pr6697",
8179
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6697",
8180
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6697.patch",
8181
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/verilator_verilator_pr6697"
8182
  },
8183
  {
8184
  "instances/instance_id": "verilator_verilator_pr6723",
@@ -8189,8 +8189,8 @@
8189
  {
8190
  "instances/instance_id": "verilator_verilator_pr6737",
8191
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6737",
8192
- "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6737.patch",
8193
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/verilator_verilator_pr6737"
8194
  },
8195
  {
8196
  "instances/instance_id": "verilator_verilator_pr6815",
@@ -8232,7 +8232,7 @@
8232
  "instances/instance_id": "verilator_verilator_pr6870",
8233
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6870",
8234
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6870.patch",
8235
- "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/957dca0fb6d4316f0c298a5589f65795b38eeee6/testbench/verilator_verilator_pr6870"
8236
  },
8237
  {
8238
  "instances/instance_id": "verilator_verilator_pr6876",
@@ -8284,7 +8284,7 @@
8284
  "http://mlcommons.org/croissant/RAI/1.0"
8285
  ],
8286
  "name": "Phoenix-Bench",
8287
- "description": "Phoenix-Bench is a repository-level Verilog/SystemVerilog issue-resolution benchmark. This metadata indexes the 511 issue descriptions, developer patches, and executable testbench directories in the public release. Additional source snapshots are hosted under snapshots/ in the same repository. Artifact URLs are pinned to revision 957dca0fb6d4316f0c298a5589f65795b38eeee6. The instances RecordSet contains artifact locations; issue FileObjects provide SHA-256 checksums of the downloaded issue files.",
8288
  "alternateName": [
8289
  "Phoenix-bench",
8290
  "OvertureMMXXI/Phoenix-Bench"
@@ -8452,6 +8452,6 @@
8452
  "name": "Phoenix-Bench dataset collection and verification",
8453
  "description": "We first query the GitHub Search API for Verilog/SystemVerilog repositories with at least 50 stars Then retain issues linked to pull requests through explicit references or GitHub native linking We next filter for pull requests that modify Verilog/SystemVerilog artifacts and remove duplicate or incomplete cases. This process yields a synchronized runner corpus of 511 verified Verilator instances with both fail-to-pass and pass-to-pass tests GitHub"
8454
  },
8455
- "dateModified": "2026-10-30",
8456
  "isLiveDataset": false
8457
  }
 
5340
  "instances/instance_id": "FPGA-MAFIA_fpga_mafia_pr499",
5341
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/FPGA-MAFIA_fpga_mafia_pr499",
5342
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/FPGA-MAFIA_fpga_mafia_pr499.patch",
5343
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/FPGA-MAFIA_fpga_mafia_pr499"
5344
  },
5345
  {
5346
  "instances/instance_id": "FPGA-MAFIA_fpga_mafia_pr548",
 
5430
  "instances/instance_id": "HiSA-Team_Simply-V_pr52",
5431
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/HiSA-Team_Simply-V_pr52",
5432
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/HiSA-Team_Simply-V_pr52.patch",
5433
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/HiSA-Team_Simply-V_pr52"
5434
  },
5435
  {
5436
  "instances/instance_id": "HiSA-Team_Simply-V_pr68",
5437
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/HiSA-Team_Simply-V_pr68",
5438
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/HiSA-Team_Simply-V_pr68.patch",
5439
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/HiSA-Team_Simply-V_pr68"
5440
  },
5441
  {
5442
  "instances/instance_id": "HiSA-Team_Simply-V_pr92",
 
5496
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr24",
5497
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/MiSTer-devel_Gameboy_MiSTer_pr24",
5498
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/MiSTer-devel_Gameboy_MiSTer_pr24.patch",
5499
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/MiSTer-devel_Gameboy_MiSTer_pr24"
5500
  },
5501
  {
5502
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr240",
 
5514
  "instances/instance_id": "MiSTer-devel_Gameboy_MiSTer_pr96",
5515
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/MiSTer-devel_Gameboy_MiSTer_pr96",
5516
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/MiSTer-devel_Gameboy_MiSTer_pr96.patch",
5517
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/MiSTer-devel_Gameboy_MiSTer_pr96"
5518
  },
5519
  {
5520
  "instances/instance_id": "MiSTer-devel_Genesis_MiSTer_pr144",
 
5694
  "instances/instance_id": "Panda-Cores_PandaZero_pr14",
5695
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/Panda-Cores_PandaZero_pr14",
5696
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/Panda-Cores_PandaZero_pr14.patch",
5697
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/Panda-Cores_PandaZero_pr14"
5698
  },
5699
  {
5700
  "instances/instance_id": "Panda-Cores_PandaZero_pr3",
5701
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/Panda-Cores_PandaZero_pr3",
5702
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/Panda-Cores_PandaZero_pr3.patch",
5703
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/Panda-Cores_PandaZero_pr3"
5704
  },
5705
  {
5706
  "instances/instance_id": "Panda-Cores_PandaZero_pr4",
 
5778
  "instances/instance_id": "UTOSS_risc-v_pr115",
5779
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr115",
5780
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/UTOSS_risc-v_pr115.patch",
5781
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/UTOSS_risc-v_pr115"
5782
  },
5783
  {
5784
  "instances/instance_id": "UTOSS_risc-v_pr127",
 
5885
  {
5886
  "instances/instance_id": "UTOSS_risc-v_pr81",
5887
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr81",
5888
+ "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/main/patches/UTOSS_risc-v_pr81.patch",
5889
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/UTOSS_risc-v_pr81"
5890
  },
5891
  {
5892
  "instances/instance_id": "UTOSS_risc-v_pr83",
 
5910
  "instances/instance_id": "UTOSS_risc-v_pr97",
5911
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/UTOSS_risc-v_pr97",
5912
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/UTOSS_risc-v_pr97.patch",
5913
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/UTOSS_risc-v_pr97"
5914
  },
5915
  {
5916
  "instances/instance_id": "Wren6991_Hazard3_pr23",
 
5964
  "instances/instance_id": "alexforencich_verilog-pcie_pr19",
5965
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/alexforencich_verilog-pcie_pr19",
5966
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/alexforencich_verilog-pcie_pr19.patch",
5967
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/alexforencich_verilog-pcie_pr19"
5968
  },
5969
  {
5970
  "instances/instance_id": "alexforencich_verilog-pcie_pr20",
 
6078
  "instances/instance_id": "bensampson5_libsv_pr150",
6079
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/bensampson5_libsv_pr150",
6080
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/bensampson5_libsv_pr150.patch",
6081
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/bensampson5_libsv_pr150"
6082
  },
6083
  {
6084
  "instances/instance_id": "bensampson5_libsv_pr153",
 
6174
  "instances/instance_id": "bespoke-silicon-group_basejump_stl_pr675",
6175
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/bespoke-silicon-group_basejump_stl_pr675",
6176
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/bespoke-silicon-group_basejump_stl_pr675.patch",
6177
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/bespoke-silicon-group_basejump_stl_pr675"
6178
  },
6179
  {
6180
  "instances/instance_id": "bespoke-silicon-group_basejump_stl_pr676",
 
6414
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr1132",
6415
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr1132",
6416
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr1132.patch",
6417
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-rtl_pr1132"
6418
  },
6419
  {
6420
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr757",
 
6432
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr883",
6433
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr883",
6434
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr883.patch",
6435
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-rtl_pr883"
6436
  },
6437
  {
6438
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr919",
6439
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr919",
6440
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr919.patch",
6441
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-rtl_pr919"
6442
  },
6443
  {
6444
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr921",
6445
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr921",
6446
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr921.patch",
6447
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-rtl_pr921"
6448
  },
6449
  {
6450
  "instances/instance_id": "chipsalliance_caliptra-rtl_pr963",
6451
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-rtl_pr963",
6452
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-rtl_pr963.patch",
6453
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-rtl_pr963"
6454
  },
6455
  {
6456
  "instances/instance_id": "chipsalliance_caliptra-ss_pr550",
6457
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr550",
6458
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr550.patch",
6459
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-ss_pr550"
6460
  },
6461
  {
6462
  "instances/instance_id": "chipsalliance_caliptra-ss_pr565",
6463
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr565",
6464
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr565.patch",
6465
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-ss_pr565"
6466
  },
6467
  {
6468
  "instances/instance_id": "chipsalliance_caliptra-ss_pr590",
 
6474
  "instances/instance_id": "chipsalliance_caliptra-ss_pr750",
6475
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr750",
6476
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr750.patch",
6477
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-ss_pr750"
6478
  },
6479
  {
6480
  "instances/instance_id": "chipsalliance_caliptra-ss_pr838",
6481
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/chipsalliance_caliptra-ss_pr838",
6482
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/chipsalliance_caliptra-ss_pr838.patch",
6483
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/chipsalliance_caliptra-ss_pr838"
6484
  },
6485
  {
6486
  "instances/instance_id": "chipsalliance_i3c-core_pr35",
 
6534
  "instances/instance_id": "hdl-util_hdmi_pr12",
6535
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/hdl-util_hdmi_pr12",
6536
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/hdl-util_hdmi_pr12.patch",
6537
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/hdl-util_hdmi_pr12"
6538
  },
6539
  {
6540
  "instances/instance_id": "hdl-util_hdmi_pr15",
 
6912
  "instances/instance_id": "lowRISC_ibex_pr1917",
6913
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/lowRISC_ibex_pr1917",
6914
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/lowRISC_ibex_pr1917.patch",
6915
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/lowRISC_ibex_pr1917"
6916
  },
6917
  {
6918
  "instances/instance_id": "lowRISC_ibex_pr2166",
 
6948
  "instances/instance_id": "lowRISC_ibex_pr2269",
6949
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/lowRISC_ibex_pr2269",
6950
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/lowRISC_ibex_pr2269.patch",
6951
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/lowRISC_ibex_pr2269"
6952
  },
6953
  {
6954
  "instances/instance_id": "lowRISC_opentitan_pr28469",
 
7098
  "instances/instance_id": "muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29",
7099
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29",
7100
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29.patch",
7101
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr29"
7102
  },
7103
  {
7104
  "instances/instance_id": "muneeb-mbytes_pulpino__spi_master__subsystem_verification_pr31",
 
7194
  "instances/instance_id": "openhwgroup_cv32e40s_pr254",
7195
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/openhwgroup_cv32e40s_pr254",
7196
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/openhwgroup_cv32e40s_pr254.patch",
7197
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/openhwgroup_cv32e40s_pr254"
7198
  },
7199
  {
7200
  "instances/instance_id": "openhwgroup_cv32e40s_pr259",
 
7212
  "instances/instance_id": "openhwgroup_cv32e40x_pr894",
7213
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/openhwgroup_cv32e40x_pr894",
7214
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/openhwgroup_cv32e40x_pr894.patch",
7215
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/openhwgroup_cv32e40x_pr894"
7216
  },
7217
  {
7218
  "instances/instance_id": "openhwgroup_cv32e41p_pr15",
 
7392
  "instances/instance_id": "pulp-platform_axi_pr138",
7393
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_pr138",
7394
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_pr138.patch",
7395
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_axi_pr138"
7396
  },
7397
  {
7398
  "instances/instance_id": "pulp-platform_axi_pr185",
7399
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_pr185",
7400
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_pr185.patch",
7401
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_axi_pr185"
7402
  },
7403
  {
7404
  "instances/instance_id": "pulp-platform_axi_pr224",
 
7518
  "instances/instance_id": "pulp-platform_axi_riscv_atomics_pr37",
7519
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_axi_riscv_atomics_pr37",
7520
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_axi_riscv_atomics_pr37.patch",
7521
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_axi_riscv_atomics_pr37"
7522
  },
7523
  {
7524
  "instances/instance_id": "pulp-platform_axi_riscv_atomics_pr38",
 
7536
  "instances/instance_id": "pulp-platform_carfield_pr27",
7537
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_carfield_pr27",
7538
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_carfield_pr27.patch",
7539
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_carfield_pr27"
7540
  },
7541
  {
7542
  "instances/instance_id": "pulp-platform_carfield_pr41",
 
7595
  {
7596
  "instances/instance_id": "pulp-platform_common_cells_pr188",
7597
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_common_cells_pr188",
7598
+ "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/main/patches/pulp-platform_common_cells_pr188.patch",
7599
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_common_cells_pr188"
7600
  },
7601
  {
7602
  "instances/instance_id": "pulp-platform_common_cells_pr222",
 
7734
  "instances/instance_id": "pulp-platform_neureka_pr30",
7735
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_neureka_pr30",
7736
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_neureka_pr30.patch",
7737
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_neureka_pr30"
7738
  },
7739
  {
7740
  "instances/instance_id": "pulp-platform_pulp_soc_pr23",
7741
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_pulp_soc_pr23",
7742
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_pulp_soc_pr23.patch",
7743
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_pulp_soc_pr23"
7744
  },
7745
  {
7746
  "instances/instance_id": "pulp-platform_pulp_soc_pr41",
 
7829
  {
7830
  "instances/instance_id": "pulp-platform_register_interface_pr32",
7831
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_register_interface_pr32",
7832
+ "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/main/patches/pulp-platform_register_interface_pr32.patch",
7833
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_register_interface_pr32"
7834
  },
7835
  {
7836
  "instances/instance_id": "pulp-platform_register_interface_pr33",
 
7901
  {
7902
  "instances/instance_id": "pulp-platform_riscv-dbg_pr123",
7903
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_riscv-dbg_pr123",
7904
+ "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/main/patches/pulp-platform_riscv-dbg_pr123.patch",
7905
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_riscv-dbg_pr123"
7906
  },
7907
  {
7908
  "instances/instance_id": "pulp-platform_riscv-dbg_pr145",
 
7992
  "instances/instance_id": "pulp-platform_tech_cells_generic_pr17",
7993
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/pulp-platform_tech_cells_generic_pr17",
7994
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/pulp-platform_tech_cells_generic_pr17.patch",
7995
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/pulp-platform_tech_cells_generic_pr17"
7996
  },
7997
  {
7998
  "instances/instance_id": "pulp-platform_tech_cells_generic_pr22",
 
8076
  "instances/instance_id": "svunit_svunit_pr114",
8077
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/svunit_svunit_pr114",
8078
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/svunit_svunit_pr114.patch",
8079
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/svunit_svunit_pr114"
8080
  },
8081
  {
8082
  "instances/instance_id": "svunit_svunit_pr197",
 
8100
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr36",
8101
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/taichi-ishitani_tvip-axi_pr36",
8102
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/taichi-ishitani_tvip-axi_pr36.patch",
8103
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/taichi-ishitani_tvip-axi_pr36"
8104
  },
8105
  {
8106
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr44",
 
8112
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr47",
8113
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/taichi-ishitani_tvip-axi_pr47",
8114
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/taichi-ishitani_tvip-axi_pr47.patch",
8115
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/taichi-ishitani_tvip-axi_pr47"
8116
  },
8117
  {
8118
  "instances/instance_id": "taichi-ishitani_tvip-axi_pr50",
 
8130
  "instances/instance_id": "va7deo_zerowing_pr17",
8131
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/va7deo_zerowing_pr17",
8132
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/va7deo_zerowing_pr17.patch",
8133
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/va7deo_zerowing_pr17"
8134
  },
8135
  {
8136
  "instances/instance_id": "verilator_verilator_pr6552",
8137
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6552",
8138
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6552.patch",
8139
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/verilator_verilator_pr6552"
8140
  },
8141
  {
8142
  "instances/instance_id": "verilator_verilator_pr6573",
 
8178
  "instances/instance_id": "verilator_verilator_pr6697",
8179
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6697",
8180
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6697.patch",
8181
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/verilator_verilator_pr6697"
8182
  },
8183
  {
8184
  "instances/instance_id": "verilator_verilator_pr6723",
 
8189
  {
8190
  "instances/instance_id": "verilator_verilator_pr6737",
8191
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6737",
8192
+ "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/main/patches/verilator_verilator_pr6737.patch",
8193
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/verilator_verilator_pr6737"
8194
  },
8195
  {
8196
  "instances/instance_id": "verilator_verilator_pr6815",
 
8232
  "instances/instance_id": "verilator_verilator_pr6870",
8233
  "instances/issue_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/issues/verilator_verilator_pr6870",
8234
  "instances/developer_patch_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/resolve/957dca0fb6d4316f0c298a5589f65795b38eeee6/patches/verilator_verilator_pr6870.patch",
8235
+ "instances/testbench_url": "https://huggingface.co/datasets/OvertureMMXXI/Phoenix-Bench/tree/main/testbench/verilator_verilator_pr6870"
8236
  },
8237
  {
8238
  "instances/instance_id": "verilator_verilator_pr6876",
 
8284
  "http://mlcommons.org/croissant/RAI/1.0"
8285
  ],
8286
  "name": "Phoenix-Bench",
8287
+ "description": "Phoenix-Bench is a repository-level Verilog/SystemVerilog issue-resolution benchmark. This metadata indexes the 511 issue descriptions, developer patches, and executable testbench directories in the public release. Additional source snapshots are hosted under snapshots/ in the same repository. Artifact URLs are pinned to revision 957dca0fb6d4316f0c298a5589f65795b38eeee6, except 46 testbench directories and 5 reference patches, which follow main. The instances RecordSet contains artifact locations; issue FileObjects provide SHA-256 checksums of the downloaded issue files.",
8288
  "alternateName": [
8289
  "Phoenix-bench",
8290
  "OvertureMMXXI/Phoenix-Bench"
 
8452
  "name": "Phoenix-Bench dataset collection and verification",
8453
  "description": "We first query the GitHub Search API for Verilog/SystemVerilog repositories with at least 50 stars Then retain issues linked to pull requests through explicit references or GitHub native linking We next filter for pull requests that modify Verilog/SystemVerilog artifacts and remove duplicate or incomplete cases. This process yields a synchronized runner corpus of 511 verified Verilator instances with both fail-to-pass and pass-to-pass tests GitHub"
8454
  },
8455
+ "dateModified": "2026-11-05",
8456
  "isLiveDataset": false
8457
  }
README.md CHANGED
@@ -44,6 +44,8 @@ Phoenix-Bench is a collection of 511 hardware-engineering issue-resolution insta
44
 
45
  The viewer contains a lightweight index, not all repository sources. The full artifact directories remain available under Files and versions. The explicit JSONL configuration prevents unrelated CSV, source, and metadata files from being inferred as incompatible dataset splits.
46
 
 
 
47
  ## Schema and split
48
 
49
  There is one configuration, `default`, and one evaluation split, `test`, containing all 511 instances. No training or validation partition is defined. The examples are a subset of `test`, not additional independent evaluation instances.
@@ -57,6 +59,8 @@ There is one configuration, `default`, and one evaluation split, `test`, contain
57
  | `snapshot_url` | string | Revision-pinned source-directory browser URL. |
58
  | `testbench_url` | string | Revision-pinned verification-directory browser URL. |
59
 
 
 
60
  The index follows the 511-instance record set in the published Croissant file. Issue bytes were checked against its SHA-256 values. Artifact links retain that metadata's fixed revision, `957dca0fb6d4316f0c298a5589f65795b38eeee6`; adding this index does not modify task content or evaluation outcomes.
61
 
62
  ## Load and inspect
 
44
 
45
  The viewer contains a lightweight index, not all repository sources. The full artifact directories remain available under Files and versions. The explicit JSONL configuration prevents unrelated CSV, source, and metadata files from being inferred as incompatible dataset splits.
46
 
47
+ **Reference patches.** All 511 instances have a recorded passing run of the reference patch: the harness fails on the pre-fix tree and passes with the patch applied.
48
+
49
  ## Schema and split
50
 
51
  There is one configuration, `default`, and one evaluation split, `test`, containing all 511 instances. No training or validation partition is defined. The examples are a subset of `test`, not additional independent evaluation instances.
 
59
  | `snapshot_url` | string | Revision-pinned source-directory browser URL. |
60
  | `testbench_url` | string | Revision-pinned verification-directory browser URL. |
61
 
62
+ Some testbench and patch links follow `main`; all other links stay on the fixed revision below.
63
+
64
  The index follows the 511-instance record set in the published Croissant file. Issue bytes were checked against its SHA-256 values. Artifact links retain that metadata's fixed revision, `957dca0fb6d4316f0c298a5589f65795b38eeee6`; adding this index does not modify task content or evaluation outcomes.
65
 
66
  ## Load and inspect
data/test.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
patches/UTOSS_risc-v_pr81.patch CHANGED
@@ -1,85 +1,111 @@
1
- From 32c1bf8887e80d34e3b2e44a338a5a42e81e2e5e Mon Sep 17 00:00:00 2001
2
- From: DanielTaoHuang123 <danielthuang@outlook.com>
3
- Date: Sun, 26 Oct 2025 05:49:58 -0400
4
- Subject: [PATCH 1/8] change MA to have 4 bit WE; fix sb/sh
5
-
6
- ---
7
- src/ControlFSM.sv | 7 ++-
8
- src/Instruction_Decode/MemoryLoader.sv | 78 +++++++++++++++++++++-----
9
- src/top.v | 21 ++++---
10
- src/utils/MA.v | 9 +--
11
- 4 files changed, 86 insertions(+), 29 deletions(-)
12
-
13
  diff --git a/src/ControlFSM.sv b/src/ControlFSM.sv
14
- index 31bf453..a9692c4 100644
15
  --- a/src/ControlFSM.sv
16
  +++ b/src/ControlFSM.sv
17
- @@ -9,12 +9,13 @@ module ControlFSM(
18
- input wire clk,
19
- input wire reset,
20
- input wire zero_flag,
21
- + input wire [3:0] MemWriteByteAddress,
22
- output adr_src_t AdrSrc,
23
- output reg IRWrite,
24
- output reg RegWrite,
25
- output reg PCUpdate,
26
- output pc_src_t pc_src,
27
- - output reg MemWrite,
28
- + output reg [3:0] MemWrite,
29
- output reg Branch,
30
- output alu_src_a_t ALUSrcA,
31
- output alu_src_b_t ALUSrcB,
32
- @@ -115,7 +116,7 @@ module ControlFSM(
33
- pc_src <= 1'b0;
34
  PCUpdate <= 1'b0;
35
  IRWrite <= 1'b0;
36
  - MemWrite <= 1'b0;
37
  + MemWrite <= 4'b0;
38
- RegWrite <= 1'b0;
39
 
40
- FSMState <= current_state;
41
- @@ -211,7 +212,7 @@ module ControlFSM(
42
 
43
- ResultSrc <= RESULT_SRC__ALU_OUT;
44
- AdrSrc <= ADR_SRC__RESULT;
45
- - MemWrite <= 1'b1;
46
- + MemWrite <= MemWriteByteAddress;
47
 
48
- end
49
 
50
  diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
51
- index 45499ca..1fa66e1 100644
52
  --- a/src/Instruction_Decode/MemoryLoader.sv
53
  +++ b/src/Instruction_Decode/MemoryLoader.sv
54
- @@ -1,8 +1,13 @@
55
  +`include "src/types.svh"
56
  +
57
- module MemoryLoader (
58
- input data_t memory_data,
59
- input addr_t memory_address,
60
- input logic [2:0] funct3,
61
- - output data_t mem_load_result
62
- + input logic [31:0] dataB,
63
- + output data_t mem_load_result,
64
- + output logic [3:0] MemWriteByteAddress,
65
- + output logic [31:0] __tmp_MemData
66
- );
 
 
 
 
67
 
68
  integer byteindex;
69
- @@ -10,27 +15,66 @@ module MemoryLoader (
70
 
71
- always_comb begin
72
- case (funct3)
73
- - 3'b000: begin // lb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  + 3'b000: begin // lb & sb
75
- case (byteindex)
76
- - 2'd0: mem_load_result = {{24{memory_data[7]}}, memory_data[7:0]};
77
- - 2'd1: mem_load_result = {{24{memory_data[15]}}, memory_data[15:8]};
78
- - 2'd2: mem_load_result = {{24{memory_data[23]}}, memory_data[23:16]};
79
- - 2'd3: mem_load_result = {{24{memory_data[31]}}, memory_data[31:24]};
80
- - default: mem_load_result = 32'hX;
81
  + 2'd0: begin
82
- + mem_load_result = {{24{memory_data[7]}}, memory_data[7:0]};
83
  + MemWriteByteAddress = 4'b0001;
84
  + __tmp_MemData = {24'b0, dataB[7:0]};
85
  + end
@@ -103,26 +129,22 @@ index 45499ca..1fa66e1 100644
103
  + MemWriteByteAddress = 4'bx;
104
  + __tmp_MemData = 32'bx;
105
  + end
106
- endcase
107
- end
108
-
109
- - 3'b001: begin // lh
110
  + 3'b001: begin // lh & sh
111
- case (byteindex)
112
- - 2'd0: mem_load_result = {{16{memory_data[15]}}, memory_data[15:0]};
113
- - 2'd1: mem_load_result = {{16{memory_data[23]}}, memory_data[23:8]};
114
- - 2'd2: mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
115
- - default: mem_load_result = 32'hX;
116
  + 2'd0: begin
117
  + mem_load_result = {{16{memory_data[15]}}, memory_data[15:0]};
118
  + MemWriteByteAddress = 4'b0011;
119
  + __tmp_MemData = {16'b0, dataB[15:0]};
120
  + end
121
- + 2'd1: begin
122
  + mem_load_result = {{16{memory_data[23]}}, memory_data[23:8]};
123
  + MemWriteByteAddress = 4'b0110;
124
  + __tmp_MemData = {8'b0, dataB[15:0], 8'b0};
125
- + end
 
126
  + 2'd2: begin
127
  + mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
128
  + MemWriteByteAddress = 4'b1100;
@@ -133,309 +155,45 @@ index 45499ca..1fa66e1 100644
133
  + MemWriteByteAddress = 4'bX;
134
  + __tmp_MemData = 32'bX;
135
  + end
136
- endcase
137
- end
138
-
139
- - 3'b010: mem_load_result = memory_data; // lw
140
- -
141
  + 3'b010: begin
142
  + mem_load_result = memory_data; // lw
143
  + MemWriteByteAddress = 4'b1111; //sw
144
  + __tmp_MemData = dataB;
145
  + end
146
- 3'b100: begin // lbu
147
- case (byteindex)
148
- 2'd0: mem_load_result = {24'b0, memory_data[7:0]};
149
- @@ -50,7 +94,11 @@ module MemoryLoader (
150
- endcase
151
- end
152
-
153
- - default: mem_load_result = 32'hX;
 
 
 
 
 
 
 
 
 
 
 
154
  + default: begin
155
  + mem_load_result = 32'hX;
156
  + MemWriteByteAddress = 4'b0000;
157
  + __tmp_MemData = 31'bx;
158
  + end
159
- endcase
160
- end
161
-
162
- diff --git a/src/top.v b/src/top.v
163
- index ee7f810..0d69b60 100644
164
- --- a/src/top.v
165
- +++ b/src/top.v
166
- @@ -38,8 +38,8 @@ module top #( parameter MEM_SIZE = 1024 )
167
- wire alu__zero_flag;
168
-
169
- adr_src_t cfsm__adr_src;
170
- - wire __tmp_MemWrite
171
- - , __tmp_Branch;
172
- + wire [3:0] __tmp_MemWrite;
173
- + wire __tmp_Branch;
174
- wire [1:0] __tmp_ALUSrcA
175
- , __tmp_ALUSrcB;
176
- wire [2:0] __tmp_ALUOp;
177
- @@ -49,11 +49,15 @@ module top #( parameter MEM_SIZE = 1024 )
178
- logic [31:0] dataA
179
- ,dataB;
180
-
181
- + logic [3:0] MemWriteByteAddress;
182
- + logic [31:0] __tmp_MemData;
183
- +
184
- ControlFSM control_fsm
185
- ( .opcode ( opcode )
186
- , .clk ( clk )
187
- , .reset ( reset )
188
- , .zero_flag ( alu__zero_flag )
189
- + , .MemWriteByteAddress ( MemWriteByteAddress )
190
- , .AdrSrc ( cfsm__adr_src )
191
- , .IRWrite ( cfsm__ir_write )
192
- , .RegWrite ( cfsm__reg_write )
193
- @@ -91,7 +95,7 @@ module top #( parameter MEM_SIZE = 1024 )
194
- MA #( .SIZE ( MEM_SIZE ) )
195
- memory // instructions and data
196
- ( .A ( memory_address )
197
- - , .WD ( dataB )
198
- + , .WD ( __tmp_MemData )
199
- , .WE ( __tmp_MemWrite )
200
- , .CLK ( clk )
201
-
202
- @@ -106,10 +110,13 @@ module top #( parameter MEM_SIZE = 1024 )
203
- end
204
-
205
- MemoryLoader MemLoad
206
- - ( .memory_data ( memory_data )
207
- - , .memory_address ( memory_address )
208
- - , .mem_load_result ( mem_load_result )
209
- - , .funct3 ( funct3 )
210
- + ( .memory_data ( memory_data )
211
- + , .memory_address ( memory_address )
212
- + , .mem_load_result ( mem_load_result )
213
- + , .funct3 ( funct3 )
214
- + , .dataB ( dataB )
215
- + , .MemWriteByteAddress ( MemWriteByteAddress)
216
- + , .__tmp_MemData ( __tmp_MemData )
217
- );
218
-
219
- always @(posedge clk) begin
220
- diff --git a/src/utils/MA.v b/src/utils/MA.v
221
- index a47036c..dafb7e1 100644
222
- --- a/src/utils/MA.v
223
- +++ b/src/utils/MA.v
224
- @@ -1,7 +1,7 @@
225
- module MA #( parameter SIZE = 1024 )
226
- ( input [31:0] A
227
- , input [31:0] WD
228
- - , input WE
229
- + , input [3:0] WE //changed from 1 bit WE to 4 bit to address byteindex
230
- , input CLK
231
- , output [31:0] RD
232
- );
233
- @@ -21,9 +21,10 @@ module MA #( parameter SIZE = 1024 )
234
- assign RD = M[A[31:2]]; // 2 LSBs used for byte addressing
235
-
236
- always @(posedge CLK) begin
237
- - if (WE) begin
238
- - M[A[31:2]] <= WD;
239
- - end
240
- + if (WE[0]) M[A[31:2]][7:0] <= WD[7:0];
241
- + if (WE[1]) M[A[31:2]][15:8] <= WD[15:8];
242
- + if (WE[2]) M[A[31:2]][23:16] <= WD[23:16];
243
- + if (WE[3]) M[A[31:2]][31:24] <= WD[31:24];
244
- end
245
-
246
- endmodule
247
-
248
- From 3c8e055cd03a2987f81c1d514f0166cdd3516d4b Mon Sep 17 00:00:00 2001
249
- From: DanielTaoHuang123 <danielthuang@outlook.com>
250
- Date: Tue, 28 Oct 2025 22:42:53 -0400
251
- Subject: [PATCH 2/8] skip unaligned halfword store/load specify the datatype
252
- of pc_src when assigning values in FSM
253
-
254
- ---
255
- src/ControlFSM.sv | 4 ++--
256
- src/Instruction_Decode/MemoryLoader.sv | 4 ++--
257
- 2 files changed, 4 insertions(+), 4 deletions(-)
258
-
259
- diff --git a/src/ControlFSM.sv b/src/ControlFSM.sv
260
- index a9692c4..7c4011e 100644
261
- --- a/src/ControlFSM.sv
262
- +++ b/src/ControlFSM.sv
263
- @@ -113,7 +113,7 @@ module ControlFSM(
264
- //output logic
265
- always@(*) begin
266
- Branch <= 1'b0;
267
- - pc_src <= 1'b0;
268
- + pc_src <= pc_src_t'(1'b0);
269
- PCUpdate <= 1'b0;
270
- IRWrite <= 1'b0;
271
- MemWrite <= 4'b0;
272
- @@ -196,7 +196,7 @@ module ControlFSM(
273
- ALUOp <= 2'b01;
274
- ResultSrc <= RESULT_SRC__ALU_OUT;
275
- Branch <= 1'b1;
276
- - pc_src <= zero_flag ? PC_SRC__JUMP : PC_SRC__INCREMENT;
277
- + pc_src <= pc_src_t'(zero_flag ? PC_SRC__JUMP : PC_SRC__INCREMENT);
278
- PCUpdate <= 1'b1;
279
-
280
- end
281
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
282
- index 1fa66e1..a3aab7a 100644
283
- --- a/src/Instruction_Decode/MemoryLoader.sv
284
- +++ b/src/Instruction_Decode/MemoryLoader.sv
285
- @@ -52,11 +52,11 @@ module MemoryLoader (
286
- MemWriteByteAddress = 4'b0011;
287
- __tmp_MemData = {16'b0, dataB[15:0]};
288
- end
289
- - 2'd1: begin
290
- +/* 2'd1: begin
291
- mem_load_result = {{16{memory_data[23]}}, memory_data[23:8]};
292
- MemWriteByteAddress = 4'b0110;
293
- __tmp_MemData = {8'b0, dataB[15:0], 8'b0};
294
- - end
295
- + end*/
296
- 2'd2: begin
297
- mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
298
- MemWriteByteAddress = 4'b1100;
299
-
300
- From 9b7b2dd957e5d0355da95953093b741b4936bf65 Mon Sep 17 00:00:00 2001
301
- From: DanielTaoHuang123 <danielthuang@outlook.com>
302
- Date: Sun, 2 Nov 2025 11:51:25 -0500
303
- Subject: [PATCH 3/8] fix some svlint error
304
-
305
- ---
306
- src/ControlFSM.sv | 6 +++---
307
- 1 file changed, 3 insertions(+), 3 deletions(-)
308
-
309
- diff --git a/src/ControlFSM.sv b/src/ControlFSM.sv
310
- index cede0f6..e7c13ca 100644
311
- --- a/src/ControlFSM.sv
312
- +++ b/src/ControlFSM.sv
313
- @@ -235,9 +235,9 @@ module ControlFSM
314
-
315
- MEMWRITE: begin
316
-
317
- - ResultSrc <= RESULT_SRC__ALU_OUT;
318
- - AdrSrc <= ADR_SRC__RESULT;
319
- - MemWrite <= MemWriteByteAddress;
320
- + ResultSrc <= RESULT_SRC__ALU_OUT;
321
- + AdrSrc <= ADR_SRC__RESULT;
322
- + MemWrite <= MemWriteByteAddress;
323
-
324
- end
325
-
326
-
327
- From 0d04594dafac1698d7df9344aeb96dcb3abc1508 Mon Sep 17 00:00:00 2001
328
- From: DanielTaoHuang123 <danielthuang@outlook.com>
329
- Date: Sun, 2 Nov 2025 12:16:14 -0500
330
- Subject: [PATCH 4/8] fix svlint error;
331
-
332
- ---
333
- src/Instruction_Decode/MemoryLoader.sv | 19 ++++++++++---------
334
- 1 file changed, 10 insertions(+), 9 deletions(-)
335
-
336
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
337
- index a3aab7a..ac59979 100644
338
- --- a/src/Instruction_Decode/MemoryLoader.sv
339
- +++ b/src/Instruction_Decode/MemoryLoader.sv
340
- @@ -1,20 +1,20 @@
341
- `include "src/types.svh"
342
-
343
- module MemoryLoader (
344
- - input data_t memory_data,
345
- - input addr_t memory_address,
346
- - input logic [2:0] funct3,
347
- - input logic [31:0] dataB,
348
- - output data_t mem_load_result,
349
- - output logic [3:0] MemWriteByteAddress,
350
- + input data_t memory_data,
351
- + input addr_t memory_address,
352
- + input logic [2:0] funct3,
353
- + input logic [31:0] dataB,
354
- + output data_t mem_load_result,
355
- + output logic [3:0] MemWriteByteAddress,
356
- output logic [31:0] __tmp_MemData
357
- );
358
-
359
- integer byteindex;
360
- assign byteindex = memory_address[1:0];
361
-
362
- - always_comb begin
363
- - case (funct3)
364
- + always_comb
365
- + case (funct3)
366
- 3'b000: begin // lb & sb
367
- case (byteindex)
368
- 2'd0: begin
369
- @@ -57,6 +57,7 @@ module MemoryLoader (
370
- MemWriteByteAddress = 4'b0110;
371
- __tmp_MemData = {8'b0, dataB[15:0], 8'b0};
372
- end*/
373
- + // skip unaligned halfword access
374
- 2'd2: begin
375
- mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
376
- MemWriteByteAddress = 4'b1100;
377
- @@ -100,6 +101,6 @@ module MemoryLoader (
378
- __tmp_MemData = 31'bx;
379
- end
380
- endcase
381
- - end
382
- +
383
-
384
- endmodule
385
-
386
- From 070822bb487f7533a7624c785c21fb6a5bf39dc1 Mon Sep 17 00:00:00 2001
387
- From: DanielTaoHuang123 <danielthuang@outlook.com>
388
- Date: Sun, 2 Nov 2025 12:27:23 -0500
389
- Subject: [PATCH 5/8] try to change increment to fix svlint error
390
-
391
- ---
392
- src/Instruction_Decode/MemoryLoader.sv | 18 ++---
393
- src/Instruction_Decode/RegisterFile.v | 92 +++++++++++++-------------
394
- 2 files changed, 55 insertions(+), 55 deletions(-)
395
-
396
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
397
- index ac59979..70d34fe 100644
398
- --- a/src/Instruction_Decode/MemoryLoader.sv
399
- +++ b/src/Instruction_Decode/MemoryLoader.sv
400
- @@ -1,20 +1,20 @@
401
- `include "src/types.svh"
402
-
403
- module MemoryLoader (
404
- - input data_t memory_data,
405
- - input addr_t memory_address,
406
- - input logic [2:0] funct3,
407
- - input logic [31:0] dataB,
408
- - output data_t mem_load_result,
409
- - output logic [3:0] MemWriteByteAddress,
410
- + input data_t memory_data,
411
- + input addr_t memory_address,
412
- + input logic [2:0] funct3,
413
- + input logic [31:0] dataB,
414
- + output data_t mem_load_result,
415
- + output logic [3:0] MemWriteByteAddress,
416
- output logic [31:0] __tmp_MemData
417
- );
418
-
419
- integer byteindex;
420
- assign byteindex = memory_address[1:0];
421
-
422
- - always_comb
423
- - case (funct3)
424
- + always_comb
425
- + case (funct3)
426
- 3'b000: begin // lb & sb
427
- case (byteindex)
428
- 2'd0: begin
429
- @@ -101,6 +101,6 @@ module MemoryLoader (
430
- __tmp_MemData = 31'bx;
431
- end
432
- endcase
433
- -
434
  +
435
 
436
  endmodule
437
  diff --git a/src/Instruction_Decode/RegisterFile.v b/src/Instruction_Decode/RegisterFile.v
438
- index f8fabcb..15c7854 100644
439
  --- a/src/Instruction_Decode/RegisterFile.v
440
  +++ b/src/Instruction_Decode/RegisterFile.v
441
  @@ -1,46 +1,46 @@
@@ -531,124 +289,80 @@ index f8fabcb..15c7854 100644
531
  + end
532
  +
533
  +endmodule
534
-
535
- From bba571da6d6417bd082710e0fa1831da93624174 Mon Sep 17 00:00:00 2001
536
- From: DanielTaoHuang123 <danielthuang@outlook.com>
537
- Date: Sun, 2 Nov 2025 12:33:37 -0500
538
- Subject: [PATCH 6/8] fix svlint errors
539
-
540
- ---
541
- src/Instruction_Decode/MemoryLoader.sv | 17 +++++++++--------
542
- 1 file changed, 9 insertions(+), 8 deletions(-)
543
-
544
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
545
- index 70d34fe..4ebb286 100644
546
- --- a/src/Instruction_Decode/MemoryLoader.sv
547
- +++ b/src/Instruction_Decode/MemoryLoader.sv
548
- @@ -1,24 +1,24 @@
549
- `include "src/types.svh"
550
-
551
- module MemoryLoader (
552
- - input data_t memory_data,
553
- - input addr_t memory_address,
554
- - input logic [2:0] funct3,
555
- - input logic [31:0] dataB,
556
- - output data_t mem_load_result,
557
- - output logic [3:0] MemWriteByteAddress,
558
- + input data_t memory_data,
559
- + input addr_t memory_address,
560
- + input logic [2:0] funct3,
561
- + input logic [31:0] dataB,
562
- + output data_t mem_load_result,
563
- + output logic [3:0] MemWriteByteAddress,
564
- output logic [31:0] __tmp_MemData
565
- );
566
-
567
- integer byteindex;
568
- assign byteindex = memory_address[1:0];
569
-
570
- - always_comb
571
- + always@(*) begin
572
- case (funct3)
573
- 3'b000: begin // lb & sb
574
- case (byteindex)
575
- 2'd0: begin
576
- - mem_load_result = {{24{memory_data[7]}}, memory_data[7:0]};
577
- + mem_load_result = {{24{memory_data[7]}}, memory_data[7:0]};
578
- MemWriteByteAddress = 4'b0001;
579
- __tmp_MemData = {24'b0, dataB[7:0]};
580
- end
581
- @@ -101,6 +101,7 @@ module MemoryLoader (
582
- __tmp_MemData = 31'bx;
583
- end
584
- endcase
585
- + end
586
 
 
 
 
 
 
 
 
 
 
 
587
 
588
- endmodule
589
-
590
- From dd595584cc60a39154113fd3c68940c626d1dd83 Mon Sep 17 00:00:00 2001
591
- From: DanielTaoHuang123 <danielthuang@outlook.com>
592
- Date: Sun, 2 Nov 2025 12:43:53 -0500
593
- Subject: [PATCH 7/8] fixing indentation
594
-
595
- ---
596
- src/Instruction_Decode/MemoryLoader.sv | 18 +++++++++---------
597
- src/utils/MA.v | 24 +++++++++++++-----------
598
- 2 files changed, 22 insertions(+), 20 deletions(-)
599
-
600
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
601
- index 4ebb286..9489e03 100644
602
- --- a/src/Instruction_Decode/MemoryLoader.sv
603
- +++ b/src/Instruction_Decode/MemoryLoader.sv
604
- @@ -1,19 +1,19 @@
605
- `include "src/types.svh"
 
 
606
 
607
- -module MemoryLoader (
608
- - input data_t memory_data,
609
- - input addr_t memory_address,
610
- - input logic [2:0] funct3,
611
- - input logic [31:0] dataB,
612
- - output data_t mem_load_result,
613
- - output logic [3:0] MemWriteByteAddress,
614
- - output logic [31:0] __tmp_MemData
615
- +module MemoryLoader
616
- +( input data_t memory_data
617
- +, input addr_t memory_address
618
- +, input logic [2:0] funct3
619
- +, input logic [31:0] dataB
620
- +, output data_t mem_load_result
621
- +, output logic [3:0] MemWriteByteAddress
622
- +, output logic [31:0] __tmp_MemData
623
- );
624
 
625
- integer byteindex;
626
- assign byteindex = memory_address[1:0];
 
 
 
 
 
 
 
 
 
 
 
627
 
628
- - always@(*) begin
629
- + always @(*) begin
630
- case (funct3)
631
- 3'b000: begin // lb & sb
632
- case (byteindex)
633
  diff --git a/src/utils/MA.v b/src/utils/MA.v
634
- index a3c988f..13ab49e 100644
635
  --- a/src/utils/MA.v
636
  +++ b/src/utils/MA.v
637
- @@ -1,16 +1,18 @@
638
  -module MA #( parameter SIZE = 1024 )
639
- - ( input [31:0] A
640
- - , input [31:0] WD
641
- - , input [3:0] WE //changed from 1 bit WE to 4 bit to address byteindex
642
- - , input wire CLK
643
- - , output [31:0] RD
644
- - );
645
- +module MA #(
646
- + parameter SIZE = 1024
647
- +)
648
- +(
649
- + input [31:0] A
650
  +, input [31:0] WD
651
- +, input [3:0] WE //changed from 1 bit WE to 4 bit to address byteindex
 
652
  +, input wire CLK
653
  +, output [31:0] RD
654
  +);
@@ -664,59 +378,17 @@ index a3c988f..13ab49e 100644
664
 
665
  if ($value$plusargs("MEM=%s", mem_file)) begin
666
  $display("loading memory from <%s>", mem_file);
667
-
668
- From 73805f922ab826a660093f4b7f20229649db8330 Mon Sep 17 00:00:00 2001
669
- From: DanielTaoHuang123 <danielthuang@outlook.com>
670
- Date: Sun, 2 Nov 2025 12:51:43 -0500
671
- Subject: [PATCH 8/8] fix trailing white spaces
672
-
673
- ---
674
- src/ControlFSM.sv | 2 +-
675
- src/Instruction_Decode/MemoryLoader.sv | 2 +-
676
- src/utils/MA.v | 10 ++++------
677
- 3 files changed, 6 insertions(+), 8 deletions(-)
678
-
679
- diff --git a/src/ControlFSM.sv b/src/ControlFSM.sv
680
- index e7c13ca..d41cced 100644
681
- --- a/src/ControlFSM.sv
682
- +++ b/src/ControlFSM.sv
683
- @@ -15,7 +15,7 @@ module ControlFSM
684
- , output reg RegWrite
685
- , output reg PCUpdate
686
- , output pc_src_t pc_src
687
- - , output reg [3:0] MemWrite
688
- + , output reg [3:0] MemWrite
689
- , output reg Branch
690
- , output alu_src_a_t ALUSrcA
691
- , output alu_src_b_t ALUSrcB
692
- diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
693
- index 9489e03..170e5f9 100644
694
- --- a/src/Instruction_Decode/MemoryLoader.sv
695
- +++ b/src/Instruction_Decode/MemoryLoader.sv
696
- @@ -1,6 +1,6 @@
697
- `include "src/types.svh"
698
 
699
- -module MemoryLoader
700
- +module MemoryLoader
701
- ( input data_t memory_data
702
- , input addr_t memory_address
703
- , input logic [2:0] funct3
704
- diff --git a/src/utils/MA.v b/src/utils/MA.v
705
- index 13ab49e..d6282dd 100644
706
- --- a/src/utils/MA.v
707
- +++ b/src/utils/MA.v
708
- @@ -1,10 +1,8 @@
709
- -module MA #(
710
- - parameter SIZE = 1024
711
- -)
712
- -(
713
- - input [31:0] A
714
- +module MA #(parameter SIZE = 1024)
715
- +( input [31:0] A
716
- , input [31:0] WD
717
- -, input [3:0] WE //changed from 1 bit WE to 4 bit to address byteindex
718
- +, input [3:0] WE
719
- +//changed from 1 bit WE to 4 bit to address byteindex
720
- , input wire CLK
721
- , output [31:0] RD
722
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  diff --git a/src/ControlFSM.sv b/src/ControlFSM.sv
2
+ index 37c1eda2..d41cced3 100644
3
  --- a/src/ControlFSM.sv
4
  +++ b/src/ControlFSM.sv
5
+ @@ -9,12 +9,13 @@ module ControlFSM
6
+ , input wire clk
7
+ , input wire reset
8
+ , input wire zero_flag
9
+ + , input wire [3:0] MemWriteByteAddress
10
+ , output adr_src_t AdrSrc
11
+ , output reg IRWrite
12
+ , output reg RegWrite
13
+ , output reg PCUpdate
14
+ , output pc_src_t pc_src
15
+ - , output reg MemWrite
16
+ + , output reg [3:0] MemWrite
17
+ , output reg Branch
18
+ , output alu_src_a_t ALUSrcA
19
+ , output alu_src_b_t ALUSrcB
20
+ @@ -122,7 +123,7 @@ module ControlFSM
21
+ pc_src <= PC_SRC__INCREMENT;
22
  PCUpdate <= 1'b0;
23
  IRWrite <= 1'b0;
24
  - MemWrite <= 1'b0;
25
  + MemWrite <= 4'b0;
26
+ RegWrite <= 1'b0;
27
 
28
+ FSMState <= current_state;
29
+ @@ -236,7 +237,7 @@ module ControlFSM
30
 
31
+ ResultSrc <= RESULT_SRC__ALU_OUT;
32
+ AdrSrc <= ADR_SRC__RESULT;
33
+ - MemWrite <= 1'b1;
34
+ + MemWrite <= MemWriteByteAddress;
35
 
36
+ end
37
 
38
  diff --git a/src/Instruction_Decode/MemoryLoader.sv b/src/Instruction_Decode/MemoryLoader.sv
39
+ index 578de14a..170e5f94 100644
40
  --- a/src/Instruction_Decode/MemoryLoader.sv
41
  +++ b/src/Instruction_Decode/MemoryLoader.sv
42
+ @@ -1,52 +1,107 @@
43
  +`include "src/types.svh"
44
  +
45
+ module MemoryLoader
46
+ - ( input data_t memory_data
47
+ - , input addr_t memory_address
48
+ - , input logic [2:0] funct3
49
+ - , output data_t mem_load_result
50
+ - );
51
+ +( input data_t memory_data
52
+ +, input addr_t memory_address
53
+ +, input logic [2:0] funct3
54
+ +, input logic [31:0] dataB
55
+ +, output data_t mem_load_result
56
+ +, output logic [3:0] MemWriteByteAddress
57
+ +, output logic [31:0] __tmp_MemData
58
+ +);
59
 
60
  integer byteindex;
61
+ assign byteindex = memory_address[1:0];
62
 
63
+ - always_comb
64
+ - case (funct3)
65
+ - 3'b000: // lb
66
+ - case (byteindex)
67
+ - 2'd0: mem_load_result = {{24{memory_data[7]}} , memory_data[7:0]};
68
+ - 2'd1: mem_load_result = {{24{memory_data[15]}}, memory_data[15:8]};
69
+ - 2'd2: mem_load_result = {{24{memory_data[23]}}, memory_data[23:16]};
70
+ - 2'd3: mem_load_result = {{24{memory_data[31]}}, memory_data[31:24]};
71
+ - default: mem_load_result = 32'hX;
72
+ - endcase
73
+ -
74
+ - 3'b001: // lh
75
+ - case (byteindex)
76
+ - 2'd0: mem_load_result = {{16{memory_data[15]}}, memory_data[15:0]};
77
+ - 2'd1: mem_load_result = {{16{memory_data[23]}}, memory_data[23:8]};
78
+ - 2'd2: mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
79
+ - default: mem_load_result = 32'hX;
80
+ - endcase
81
+ -
82
+ - 3'b010: mem_load_result = memory_data; // lw
83
+ -
84
+ - 3'b100: // lbu
85
+ - case (byteindex)
86
+ - 2'd0: mem_load_result = {24'b0, memory_data[7:0]};
87
+ - 2'd1: mem_load_result = {24'b0, memory_data[15:8]};
88
+ - 2'd2: mem_load_result = {24'b0, memory_data[23:16]};
89
+ - 2'd3: mem_load_result = {24'b0, memory_data[31:24]};
90
+ - default: mem_load_result = 32'hX;
91
+ - endcase
92
+ -
93
+ - 3'b101: // lhu
94
+ - case (byteindex)
95
+ - 2'd0: mem_load_result = {16'b0, memory_data[15:0]};
96
+ - 2'd1: mem_load_result = {16'b0, memory_data[23:8]};
97
+ - 2'd2: mem_load_result = {16'b0, memory_data[31:16]};
98
+ - default: mem_load_result = 32'hX;
99
+ - endcase
100
+ -
101
+ - default: mem_load_result = 32'hX;
102
+ - endcase
103
+ + always @(*) begin
104
+ + case (funct3)
105
  + 3'b000: begin // lb & sb
106
+ + case (byteindex)
 
 
 
 
 
107
  + 2'd0: begin
108
+ + mem_load_result = {{24{memory_data[7]}}, memory_data[7:0]};
109
  + MemWriteByteAddress = 4'b0001;
110
  + __tmp_MemData = {24'b0, dataB[7:0]};
111
  + end
 
129
  + MemWriteByteAddress = 4'bx;
130
  + __tmp_MemData = 32'bx;
131
  + end
132
+ + endcase
133
+ + end
134
+ +
 
135
  + 3'b001: begin // lh & sh
136
+ + case (byteindex)
 
 
 
 
137
  + 2'd0: begin
138
  + mem_load_result = {{16{memory_data[15]}}, memory_data[15:0]};
139
  + MemWriteByteAddress = 4'b0011;
140
  + __tmp_MemData = {16'b0, dataB[15:0]};
141
  + end
142
+ +/* 2'd1: begin
143
  + mem_load_result = {{16{memory_data[23]}}, memory_data[23:8]};
144
  + MemWriteByteAddress = 4'b0110;
145
  + __tmp_MemData = {8'b0, dataB[15:0], 8'b0};
146
+ + end*/
147
+ + // skip unaligned halfword access
148
  + 2'd2: begin
149
  + mem_load_result = {{16{memory_data[31]}}, memory_data[31:16]};
150
  + MemWriteByteAddress = 4'b1100;
 
155
  + MemWriteByteAddress = 4'bX;
156
  + __tmp_MemData = 32'bX;
157
  + end
158
+ + endcase
159
+ + end
160
+ +
 
 
161
  + 3'b010: begin
162
  + mem_load_result = memory_data; // lw
163
  + MemWriteByteAddress = 4'b1111; //sw
164
  + __tmp_MemData = dataB;
165
  + end
166
+ + 3'b100: begin // lbu
167
+ + case (byteindex)
168
+ + 2'd0: mem_load_result = {24'b0, memory_data[7:0]};
169
+ + 2'd1: mem_load_result = {24'b0, memory_data[15:8]};
170
+ + 2'd2: mem_load_result = {24'b0, memory_data[23:16]};
171
+ + 2'd3: mem_load_result = {24'b0, memory_data[31:24]};
172
+ + default: mem_load_result = 32'hX;
173
+ + endcase
174
+ + end
175
+ +
176
+ + 3'b101: begin // lhu
177
+ + case (byteindex)
178
+ + 2'd0: mem_load_result = {16'b0, memory_data[15:0]};
179
+ + 2'd1: mem_load_result = {16'b0, memory_data[23:8]};
180
+ + 2'd2: mem_load_result = {16'b0, memory_data[31:16]};
181
+ + default: mem_load_result = 32'hX;
182
+ + endcase
183
+ + end
184
+ +
185
  + default: begin
186
  + mem_load_result = 32'hX;
187
  + MemWriteByteAddress = 4'b0000;
188
  + __tmp_MemData = 31'bx;
189
  + end
190
+ + endcase
191
+ + end
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  +
193
 
194
  endmodule
195
  diff --git a/src/Instruction_Decode/RegisterFile.v b/src/Instruction_Decode/RegisterFile.v
196
+ index f8fabcb1..15c78547 100644
197
  --- a/src/Instruction_Decode/RegisterFile.v
198
  +++ b/src/Instruction_Decode/RegisterFile.v
199
  @@ -1,46 +1,46 @@
 
289
  + end
290
  +
291
  +endmodule
292
+ diff --git a/src/top.v b/src/top.v
293
+ index 20a0ff8b..48a84e00 100644
294
+ --- a/src/top.v
295
+ +++ b/src/top.v
296
+ @@ -38,7 +38,8 @@ module top #( parameter MEM_SIZE = 1024 )
297
+ wire alu__zero_flag;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
 
299
+ adr_src_t cfsm__adr_src;
300
+ - wire __tmp_MemWrite, __tmp_Branch;
301
+ + wire [3:0] __tmp_MemWrite;
302
+ + wire __tmp_Branch;
303
+ wire [1:0] __tmp_ALUSrcA, __tmp_ALUSrcB;
304
+ wire [2:0] __tmp_ALUOp;
305
+ wire [3:0] __tmp_ALUControl;
306
+ @@ -47,11 +48,15 @@ module top #( parameter MEM_SIZE = 1024 )
307
+ data_t dataA, dataB;
308
+ reg [4:0] rd, rs1, rs2;
309
 
310
+ + logic [3:0] MemWriteByteAddress;
311
+ + logic [31:0] __tmp_MemData;
312
+ +
313
+ ControlFSM control_fsm
314
+ ( .opcode ( opcode )
315
+ , .clk ( clk )
316
+ , .reset ( reset )
317
+ , .zero_flag ( alu__zero_flag )
318
+ + , .MemWriteByteAddress ( MemWriteByteAddress )
319
+ , .AdrSrc ( cfsm__adr_src )
320
+ , .IRWrite ( cfsm__ir_write )
321
+ , .RegWrite ( cfsm__reg_write )
322
+ @@ -90,7 +95,7 @@ module top #( parameter MEM_SIZE = 1024 )
323
+ MA #( .SIZE ( MEM_SIZE ) )
324
+ memory // instructions and data
325
+ ( .A ( memory_address )
326
+ - , .WD ( dataB )
327
+ + , .WD ( __tmp_MemData )
328
+ , .WE ( __tmp_MemWrite )
329
+ , .CLK ( clk )
330
 
331
+ @@ -105,10 +110,13 @@ module top #( parameter MEM_SIZE = 1024 )
332
+ end
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
 
334
+ MemoryLoader MemLoad
335
+ - ( .memory_data ( memory_data )
336
+ - , .memory_address ( memory_address )
337
+ - , .mem_load_result ( mem_load_result )
338
+ - , .funct3 ( funct3 )
339
+ + ( .memory_data ( memory_data )
340
+ + , .memory_address ( memory_address )
341
+ + , .mem_load_result ( mem_load_result )
342
+ + , .funct3 ( funct3 )
343
+ + , .dataB ( dataB )
344
+ + , .MemWriteByteAddress ( MemWriteByteAddress)
345
+ + , .__tmp_MemData ( __tmp_MemData )
346
+ );
347
 
348
+ always @(posedge clk) begin
 
 
 
 
349
  diff --git a/src/utils/MA.v b/src/utils/MA.v
350
+ index 07209235..d6282dde 100644
351
  --- a/src/utils/MA.v
352
  +++ b/src/utils/MA.v
353
+ @@ -1,16 +1,16 @@
354
  -module MA #( parameter SIZE = 1024 )
355
+ - ( input [31:0] A
356
+ - , input [31:0] WD
357
+ - , input wire WE
358
+ - , input wire CLK
359
+ - , output [31:0] RD
360
+ - );
361
+ +module MA #(parameter SIZE = 1024)
362
+ +( input [31:0] A
 
 
 
363
  +, input [31:0] WD
364
+ +, input [3:0] WE
365
+ +//changed from 1 bit WE to 4 bit to address byteindex
366
  +, input wire CLK
367
  +, output [31:0] RD
368
  +);
 
378
 
379
  if ($value$plusargs("MEM=%s", mem_file)) begin
380
  $display("loading memory from <%s>", mem_file);
381
+ @@ -21,9 +21,10 @@ module MA #( parameter SIZE = 1024 )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
 
383
+ assign RD = M[A[31:2]]; // 2 LSBs used for byte addressing
384
+ always @(posedge CLK) begin
385
+ - if (WE) begin
386
+ - M[A[31:2]] <= WD;
387
+ - end
388
+ + if (WE[0]) M[A[31:2]][7:0] <= WD[7:0];
389
+ + if (WE[1]) M[A[31:2]][15:8] <= WD[15:8];
390
+ + if (WE[2]) M[A[31:2]][23:16] <= WD[23:16];
391
+ + if (WE[3]) M[A[31:2]][31:24] <= WD[31:24];
392
+ end
393
+
394
+ endmodule
 
 
 
 
 
 
 
 
 
 
 
 
patches/pulp-platform_common_cells_pr188.patch CHANGED
@@ -30,7 +30,7 @@ index c38e8d2f..1e4fe299 100644
30
  +
31
 
32
  module popcount #(
33
- - parameter int unsigned INPUT_WIDTH = 256,
34
  - localparam int unsigned PopcountWidth = $clog2(INPUT_WIDTH)+1
35
  + parameter int unsigned INPUT_WIDTH = 256,
36
  + localparam int unsigned PopcountWidth = $clog2(INPUT_WIDTH) + 1
 
30
  +
31
 
32
  module popcount #(
33
+ - parameter int unsigned INPUT_WIDTH = 1,
34
  - localparam int unsigned PopcountWidth = $clog2(INPUT_WIDTH)+1
35
  + parameter int unsigned INPUT_WIDTH = 256,
36
  + localparam int unsigned PopcountWidth = $clog2(INPUT_WIDTH) + 1
patches/pulp-platform_register_interface_pr32.patch CHANGED
@@ -73,7 +73,7 @@ index 0000000..472985c
73
  +);
74
  +
75
  + always_comb begin
76
- + out_req_o = out_req_i;
77
  + in_rsp_o = out_rsp_i;
78
  +
79
  + if (in_req_i.valid && in_req_i.we && in_req_i.strb == '0) begin
 
73
  +);
74
  +
75
  + always_comb begin
76
+ + out_req_o = in_req_i;
77
  + in_rsp_o = out_rsp_i;
78
  +
79
  + if (in_req_i.valid && in_req_i.we && in_req_i.strb == '0) begin
patches/pulp-platform_riscv-dbg_pr123.patch CHANGED
@@ -1,21 +1,38 @@
1
- From faa6ccd06100cf4f855ffe8562d55044f998db5e Mon Sep 17 00:00:00 2001
2
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
3
- Date: Thu, 6 Jan 2022 19:10:42 +0100
4
- Subject: [PATCH 01/11] First draft of dmihardreset support and proper warm
5
- reset capability
6
-
7
- ---
8
- doc/debug-system.md | 1 -
9
- src/dmi_cdc.sv | 54 +++++++-----
10
- src/dmi_jtag.sv | 203 +++++++++++++++++++++++---------------------
11
- src/dmi_jtag_tap.sv | 7 +-
12
- 4 files changed, 144 insertions(+), 121 deletions(-)
13
-
14
- diff --git a/doc/debug-system.md b/doc/debug-system.md
15
- index b025f89..1beca7d 100644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  --- a/doc/debug-system.md
17
  +++ b/doc/debug-system.md
18
- @@ -485,7 +485,6 @@ default the IR register is 5 bits long, but the implementation is parameterized.
19
  ) (
20
  ```
21
  - `DTMCSR`: RISC-V specific control and status register of the JTAG DMI.
@@ -23,16 +40,39 @@ index b025f89..1beca7d 100644
23
  - `DMIACCESS`: Access the debug module's register.
24
  - `abits+33:34`: Address
25
  - `33:2`: Data
26
- diff --git a/src/dmi_cdc.sv b/src/dmi_cdc.sv
27
- index 4665c91..d9e9363 100644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  --- a/src/dmi_cdc.sv
29
  +++ b/src/dmi_cdc.sv
30
- @@ -19,11 +19,13 @@
31
- module dmi_cdc (
32
  // JTAG side (master side)
33
  input logic tck_i,
34
- - input logic trst_ni,
35
-
36
  input dm::dmi_req_t jtag_dmi_req_i,
37
  output logic jtag_dmi_ready_o,
38
  input logic jtag_dmi_valid_i,
@@ -42,7 +82,15 @@ index 4665c91..d9e9363 100644
42
 
43
  output dm::dmi_resp_t jtag_dmi_resp_o,
44
  output logic jtag_dmi_valid_o,
45
- @@ -42,32 +44,40 @@ module dmi_cdc (
 
 
 
 
 
 
 
 
46
  input logic core_dmi_valid_i
47
  );
48
 
@@ -52,17 +100,19 @@ index 4665c91..d9e9363 100644
52
  - .src_data_i ( jtag_dmi_req_i ),
53
  - .src_valid_i ( jtag_dmi_valid_i ),
54
  - .src_ready_o ( jtag_dmi_ready_o ),
55
-
56
  - .dst_rst_ni ( rst_ni ),
57
  - .dst_clk_i ( clk_i ),
58
  - .dst_data_o ( core_dmi_req_o ),
59
  - .dst_valid_o ( core_dmi_valid_o ),
60
  - .dst_ready_i ( core_dmi_ready_i )
 
61
  +
62
  + cdc_2phase_clearable #(.T(dm::dmi_req_t)) i_cdc_req (
63
- + .src_rst_ni ( rst_ni ),
64
- + .src_clear_i ( jtag_dmi_cdc_clear_i )
65
  + .src_clk_i ( tck_i ),
 
66
  + .src_data_i ( jtag_dmi_req_i ),
67
  + .src_valid_i ( jtag_dmi_valid_i ),
68
  + .src_ready_o ( jtag_dmi_ready_o ),
@@ -70,45 +120,85 @@ index 4665c91..d9e9363 100644
70
  + .dst_rst_ni ( rst_ni ),
71
  + .dst_clear_i ( 1'b0 ), // No functional reset from core side
72
  + // used (only async).
 
 
 
 
73
  + .dst_clk_i ( clk_i ),
74
  + .dst_data_o ( core_dmi_req_o ),
75
  + .dst_valid_o ( core_dmi_valid_o ),
76
  + .dst_ready_i ( core_dmi_ready_i )
77
  );
78
 
79
- cdc_2phase #(.T(dm::dmi_resp_t)) i_cdc_resp (
80
  - .src_rst_ni ( rst_ni ),
81
  - .src_clk_i ( clk_i ),
82
  - .src_data_i ( core_dmi_resp_i ),
83
  - .src_valid_i ( core_dmi_valid_i ),
84
  - .src_ready_o ( core_dmi_ready_o ),
 
 
 
 
 
 
 
85
  + .src_rst_ni ( rst_ni ),
86
  + .src_clear_i ( 1'b0 ), // No functional reset from core side
87
  + // used (only async ).
 
88
  + .src_clk_i ( clk_i ),
89
  + .src_data_i ( core_dmi_resp_i ),
90
  + .src_valid_i ( core_dmi_valid_i ),
91
  + .src_ready_o ( core_dmi_ready_o ),
92
-
93
- - .dst_rst_ni ( trst_ni ),
94
- - .dst_clk_i ( tck_i ),
95
- - .dst_data_o ( jtag_dmi_resp_o ),
96
- - .dst_valid_o ( jtag_dmi_valid_o ),
97
- - .dst_ready_i ( jtag_dmi_ready_i )
98
  + .dst_rst_ni ( trst_ni ),
99
  + .dst_clear_i ( jtag_dmi_cdc_clear_i ),
 
100
  + .dst_clk_i ( tck_i ),
101
  + .dst_data_o ( jtag_dmi_resp_o ),
102
  + .dst_valid_o ( jtag_dmi_valid_o ),
103
  + .dst_ready_i ( jtag_dmi_ready_i )
104
  );
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  endmodule : dmi_cdc
107
- diff --git a/src/dmi_jtag.sv b/src/dmi_jtag.sv
108
- index 70ee776..04414e6 100644
109
  --- a/src/dmi_jtag.sv
110
  +++ b/src/dmi_jtag.sv
111
- @@ -47,12 +47,16 @@ module dmi_jtag #(
 
 
 
 
 
 
 
 
 
 
 
112
  dmi_error_e error_d, error_q;
113
 
114
  logic tck;
@@ -121,12 +211,15 @@ index 70ee776..04414e6 100644
121
  logic shift;
122
  logic tdi;
123
 
124
- + assign dmi_clear = jtag_dmi_clear || dtmcs_q.dmihardreset;
 
 
125
  +
126
  // -------------------------------
127
  // Debug Module Control and Status
128
  // -------------------------------
129
- @@ -61,8 +65,7 @@ module dmi_jtag #(
 
130
  dm::dtmcs_t dtmcs_d, dtmcs_q;
131
 
132
  always_comb begin
@@ -136,7 +229,7 @@ index 70ee776..04414e6 100644
136
  if (capture) begin
137
  if (dtmcs_select) begin
138
  dtmcs_d = '{
139
- @@ -83,8 +86,8 @@ module dmi_jtag #(
140
  end
141
  end
142
 
@@ -147,19 +240,17 @@ index 70ee776..04414e6 100644
147
  dtmcs_q <= '0;
148
  end else begin
149
  dtmcs_q <= dtmcs_d;
150
- @@ -94,9 +97,8 @@ module dmi_jtag #(
151
  // ----------------------------
152
  // DMI (Debug Module Interface)
153
  // ----------------------------
154
  - // TODO(zarubaf): Might need to be connected to the `dtmcs_q.dmihardreset`
155
  - // signal.
156
  - assign dmi_rst_no = rst_ni;
157
- +
158
- + assign dmi_rst_no = dmi_clear;
159
 
160
  logic dmi_select;
161
  logic dmi_tdo;
162
- @@ -142,79 +144,86 @@ module dmi_jtag #(
163
 
164
  dmi_req_valid = 1'b0;
165
 
@@ -175,7 +266,7 @@ index 70ee776..04414e6 100644
175
  - end else if (dm::dtm_op_e'(dmi.op) == dm::DTM_WRITE) begin
176
  - state_d = Write;
177
  + if (dmi_clear) begin
178
- + state_d = IDLE;
179
  + data_d = '0;
180
  + error_d = DMINoError;
181
  + address_d = '0;
@@ -304,7 +395,7 @@ index 70ee776..04414e6 100644
304
  end
305
  end
306
 
307
- @@ -223,27 +232,30 @@ module dmi_jtag #(
308
 
309
  always_comb begin : p_shift
310
  dr_d = dr_q;
@@ -349,7 +440,7 @@ index 70ee776..04414e6 100644
349
  dr_q <= '0;
350
  state_q <= Idle;
351
  address_q <= '0;
352
- @@ -273,7 +285,7 @@ module dmi_jtag #(
353
  .tdo_oe_o,
354
  .testmode_i,
355
  .tck_o ( tck ),
@@ -358,7 +449,7 @@ index 70ee776..04414e6 100644
358
  .update_o ( update ),
359
  .capture_o ( capture ),
360
  .shift_o ( shift ),
361
- @@ -289,23 +301,24 @@ module dmi_jtag #(
362
  // ---------
363
  dmi_cdc i_dmi_cdc (
364
  // JTAG side (master side)
@@ -388,6 +479,7 @@ index 70ee776..04414e6 100644
388
  - .core_dmi_resp_i ( dmi_resp_i ),
389
  - .core_dmi_ready_o ( dmi_resp_ready_o ),
390
  - .core_dmi_valid_i ( dmi_resp_valid_i )
 
391
  + .core_dmi_req_o ( dmi_req_o ),
392
  + .core_dmi_valid_o ( dmi_req_valid_o ),
393
  + .core_dmi_ready_i ( dmi_req_ready_i ),
@@ -397,11 +489,9 @@ index 70ee776..04414e6 100644
397
  );
398
 
399
  endmodule : dmi_jtag
400
- diff --git a/src/dmi_jtag_tap.sv b/src/dmi_jtag_tap.sv
401
- index 7d3b67c..eff8a38 100644
402
  --- a/src/dmi_jtag_tap.sv
403
  +++ b/src/dmi_jtag_tap.sv
404
- @@ -34,7 +34,8 @@ module dmi_jtag_tap #(
405
  input logic testmode_i,
406
  // JTAG is interested in writing the DTM CSR register
407
  output logic tck_o,
@@ -411,162 +501,87 @@ index 7d3b67c..eff8a38 100644
411
  output logic update_o,
412
  output logic capture_o,
413
  output logic shift_o,
414
- @@ -202,7 +203,7 @@ module dmi_jtag_tap #(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  // Determination of next state; purely combinatorial
416
  always_comb begin : p_tap_fsm
417
 
418
- - trst_no = trst_ni;
419
- + dmi_clear_o = 1'b0;
420
 
421
  capture_dr = 1'b0;
422
  shift_dr = 1'b0;
423
- @@ -216,7 +217,7 @@ module dmi_jtag_tap #(
424
  unique case (tap_state_q)
425
  TestLogicReset: begin
426
  tap_state_d = (tms_i) ? TestLogicReset : RunTestIdle;
427
- - trst_no = 1'b1;
428
- + dmi_clear_o = 1'b1;
429
  end
430
  RunTestIdle: begin
431
  tap_state_d = (tms_i) ? SelectDrScan : RunTestIdle;
432
-
433
- From b3cc14aa1a240b2d43165f096553d2cece423e69 Mon Sep 17 00:00:00 2001
434
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
435
- Date: Wed, 2 Feb 2022 13:11:12 +0100
436
- Subject: [PATCH 02/11] Point to draft PR in common_cells for clearable CDC IPs
437
-
438
- ---
439
- Bender.yml | 2 +-
440
- 1 file changed, 1 insertion(+), 1 deletion(-)
441
-
442
- diff --git a/Bender.yml b/Bender.yml
443
- index 7178d56..9bc553e 100644
444
- --- a/Bender.yml
445
- +++ b/Bender.yml
446
- @@ -10,7 +10,7 @@ package:
447
-
448
- dependencies:
449
- tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.3 }
450
- - common_cells: {git: https://github.com/pulp-platform/common_cells.git, version: 1.21.0}
451
- + common_cells: {git: https://github.com/pulp-platform/common_cells.git, rev: clearable_cdcs}
452
-
453
- sources:
454
- files:
455
-
456
- From 5aaa574cbbfa356f51f086a826ad109d5b7d12c8 Mon Sep 17 00:00:00 2001
457
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
458
- Date: Wed, 2 Feb 2022 13:11:12 +0100
459
- Subject: [PATCH 03/11] Fix syntax errors
460
-
461
- ---
462
- src/dmi_cdc.sv | 2 +-
463
- src/dmi_jtag.sv | 2 +-
464
- 2 files changed, 2 insertions(+), 2 deletions(-)
465
-
466
- diff --git a/src/dmi_cdc.sv b/src/dmi_cdc.sv
467
- index d9e9363..030a120 100644
468
- --- a/src/dmi_cdc.sv
469
- +++ b/src/dmi_cdc.sv
470
- @@ -48,7 +48,7 @@ module dmi_cdc (
471
-
472
- cdc_2phase_clearable #(.T(dm::dmi_req_t)) i_cdc_req (
473
- .src_rst_ni ( rst_ni ),
474
- - .src_clear_i ( jtag_dmi_cdc_clear_i )
475
- + .src_clear_i ( jtag_dmi_cdc_clear_i ),
476
- .src_clk_i ( tck_i ),
477
- .src_data_i ( jtag_dmi_req_i ),
478
- .src_valid_i ( jtag_dmi_valid_i ),
479
- diff --git a/src/dmi_jtag.sv b/src/dmi_jtag.sv
480
- index 04414e6..7106b2d 100644
481
- --- a/src/dmi_jtag.sv
482
- +++ b/src/dmi_jtag.sv
483
- @@ -145,7 +145,7 @@ module dmi_jtag #(
484
- dmi_req_valid = 1'b0;
485
-
486
- if (dmi_clear) begin
487
- - state_d = IDLE;
488
- + state_d = Idle;
489
- data_d = '0;
490
- error_d = DMINoError;
491
- address_d = '0;
492
-
493
- From 9f1e077861e00871c6d388cbba7b14dda1a1f9d4 Mon Sep 17 00:00:00 2001
494
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
495
- Date: Thu, 3 Feb 2022 17:10:53 +0100
496
- Subject: [PATCH 04/11] Fix wrong async reset connection and fix wrong
497
- dmi_clear logic
498
-
499
- ---
500
- src/dmi_cdc.sv | 6 +++---
501
- src/dmi_jtag.sv | 5 +++--
502
- 2 files changed, 6 insertions(+), 5 deletions(-)
503
-
504
- diff --git a/src/dmi_cdc.sv b/src/dmi_cdc.sv
505
- index 030a120..f9b32bc 100644
506
- --- a/src/dmi_cdc.sv
507
- +++ b/src/dmi_cdc.sv
508
- @@ -19,7 +19,7 @@
509
- module dmi_cdc (
510
- // JTAG side (master side)
511
- input logic tck_i,
512
- -
513
- + input logic trst_ni,
514
- input dm::dmi_req_t jtag_dmi_req_i,
515
- output logic jtag_dmi_ready_o,
516
- input logic jtag_dmi_valid_i,
517
- @@ -47,7 +47,7 @@ module dmi_cdc (
518
-
519
-
520
- cdc_2phase_clearable #(.T(dm::dmi_req_t)) i_cdc_req (
521
- - .src_rst_ni ( rst_ni ),
522
- + .src_rst_ni ( trst_ni ),
523
- .src_clear_i ( jtag_dmi_cdc_clear_i ),
524
- .src_clk_i ( tck_i ),
525
- .src_data_i ( jtag_dmi_req_i ),
526
- @@ -63,7 +63,7 @@ module dmi_cdc (
527
- .dst_ready_i ( core_dmi_ready_i )
528
- );
529
-
530
- - cdc_2phase #(.T(dm::dmi_resp_t)) i_cdc_resp (
531
- + cdc_2phase_clearable #(.T(dm::dmi_resp_t)) i_cdc_resp (
532
- .src_rst_ni ( rst_ni ),
533
- .src_clear_i ( 1'b0 ), // No functional reset from core side
534
- // used (only async ).
535
- diff --git a/src/dmi_jtag.sv b/src/dmi_jtag.sv
536
- index 7106b2d..e1bc369 100644
537
- --- a/src/dmi_jtag.sv
538
- +++ b/src/dmi_jtag.sv
539
- @@ -55,12 +55,13 @@ module dmi_jtag #(
540
- logic shift;
541
- logic tdi;
542
-
543
- - assign dmi_clear = jtag_dmi_clear || dtmcs_q.dmihardreset;
544
- + logic dtmcs_select;
545
  +
546
- + assign dmi_clear = jtag_dmi_clear || (dtmcs_select && update && dtmcs_q.dmihardreset);
547
 
548
- // -------------------------------
549
- // Debug Module Control and Status
550
- // -------------------------------
551
- - logic dtmcs_select;
552
-
553
- dm::dtmcs_t dtmcs_d, dtmcs_q;
554
 
555
-
556
- From cdd595647acd03256b700ed6cf78d8e723f1cc49 Mon Sep 17 00:00:00 2001
557
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
558
- Date: Thu, 3 Feb 2022 17:11:46 +0100
559
- Subject: [PATCH 05/11] Fix jtag DV IP to reset ir_select reg during reset
560
-
561
- ---
562
- tb/jtag_dmi/jtag_test.sv | 1 +
563
- 1 file changed, 1 insertion(+)
564
-
565
- diff --git a/tb/jtag_dmi/jtag_test.sv b/tb/jtag_dmi/jtag_test.sv
566
- index 7872d5c..a8db8ad 100644
567
  --- a/tb/jtag_dmi/jtag_test.sv
568
  +++ b/tb/jtag_dmi/jtag_test.sv
569
- @@ -33,6 +33,7 @@ package jtag_test;
570
  jtag.trst_n <= #TA 0;
571
  repeat (2) clock();
572
  jtag.trst_n <= #TA 1;
@@ -574,22 +589,19 @@ index 7872d5c..a8db8ad 100644
574
  clock();
575
  endtask
576
 
577
-
578
- From 0a794a337dfc0d37084e9860d46effd77a82f232 Mon Sep 17 00:00:00 2001
579
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
580
- Date: Thu, 3 Feb 2022 17:12:27 +0100
581
- Subject: [PATCH 06/11] Modify tb to issue random dmi resets between
582
- transactions
583
-
584
- ---
585
- tb/jtag_dmi/tb_jtag_dmi.sv | 30 ++++++++++++++++++++++++++++--
586
- 1 file changed, 28 insertions(+), 2 deletions(-)
587
-
588
- diff --git a/tb/jtag_dmi/tb_jtag_dmi.sv b/tb/jtag_dmi/tb_jtag_dmi.sv
589
- index 1e0cdd8..1d64a01 100644
590
  --- a/tb/jtag_dmi/tb_jtag_dmi.sv
591
  +++ b/tb/jtag_dmi/tb_jtag_dmi.sv
592
- @@ -242,6 +242,30 @@ module tb_jtag_dmi;
593
  riscv_dbg.read_dmi(dm::dm_csr_e'(transaction.addr), rdata);
594
  rsp_mbx.put(rdata);
595
  end
@@ -620,7 +632,7 @@ index 1e0cdd8..1d64a01 100644
620
  end
621
  #1000;
622
  $finish();
623
- @@ -261,8 +285,10 @@ module tb_jtag_dmi;
624
  req_mbx.get(req);
625
  rsp_mbx.get(rsp);
626
  nr_transactions++;
@@ -633,21 +645,9 @@ index 1e0cdd8..1d64a01 100644
633
  if (req.op == dm::DTM_READ) begin
634
  assert(rsp_mon.data == rsp);
635
  end else begin
636
-
637
- From 71d8b30010ab9364d96d8e0158047dba77ad0971 Mon Sep 17 00:00:00 2001
638
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
639
- Date: Thu, 31 Mar 2022 12:47:52 +0200
640
- Subject: [PATCH 07/11] Actually reset the dmi on remote_bitbang request
641
-
642
- ---
643
- tb/remote_bitbang/remote_bitbang.c | 2 +-
644
- 1 file changed, 1 insertion(+), 1 deletion(-)
645
-
646
- diff --git a/tb/remote_bitbang/remote_bitbang.c b/tb/remote_bitbang/remote_bitbang.c
647
- index e77c00d..cf24fbb 100644
648
  --- a/tb/remote_bitbang/remote_bitbang.c
649
  +++ b/tb/remote_bitbang/remote_bitbang.c
650
- @@ -115,7 +115,7 @@ void rbs_tick(unsigned char *jtag_tck, unsigned char *jtag_tms,
651
 
652
  void rbs_reset()
653
  {
@@ -656,331 +656,3 @@ index e77c00d..cf24fbb 100644
656
  }
657
 
658
  void rbs_set_pins(char _tck, char _tms, char _tdi)
659
-
660
- From 407c6aa01bbc47113888e6e8081a665fabb1c458 Mon Sep 17 00:00:00 2001
661
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
662
- Date: Thu, 31 Mar 2022 13:33:45 +0200
663
- Subject: [PATCH 08/11] Bump to latest common cells version and add missing cdc
664
- port signals
665
-
666
- ---
667
- Bender.yml | 2 +-
668
- src/dmi_cdc.sv | 4 ++++
669
- 2 files changed, 5 insertions(+), 1 deletion(-)
670
-
671
- diff --git a/Bender.yml b/Bender.yml
672
- index 9bc553e..d6b9090 100644
673
- --- a/Bender.yml
674
- +++ b/Bender.yml
675
- @@ -10,7 +10,7 @@ package:
676
-
677
- dependencies:
678
- tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.3 }
679
- - common_cells: {git: https://github.com/pulp-platform/common_cells.git, rev: clearable_cdcs}
680
- + common_cells: {git: "https://github.com/pulp-platform/common_cells.git", version: 1.24.0}
681
-
682
- sources:
683
- files:
684
- diff --git a/src/dmi_cdc.sv b/src/dmi_cdc.sv
685
- index f9b32bc..91ff3ca 100644
686
- --- a/src/dmi_cdc.sv
687
- +++ b/src/dmi_cdc.sv
688
- @@ -50,6 +50,7 @@ module dmi_cdc (
689
- .src_rst_ni ( trst_ni ),
690
- .src_clear_i ( jtag_dmi_cdc_clear_i ),
691
- .src_clk_i ( tck_i ),
692
- + .src_clear_pending_o(), // Not used
693
- .src_data_i ( jtag_dmi_req_i ),
694
- .src_valid_i ( jtag_dmi_valid_i ),
695
- .src_ready_o ( jtag_dmi_ready_o ),
696
- @@ -57,6 +58,7 @@ module dmi_cdc (
697
- .dst_rst_ni ( rst_ni ),
698
- .dst_clear_i ( 1'b0 ), // No functional reset from core side
699
- // used (only async).
700
- + .dst_clear_pending_o(), // Not used
701
- .dst_clk_i ( clk_i ),
702
- .dst_data_o ( core_dmi_req_o ),
703
- .dst_valid_o ( core_dmi_valid_o ),
704
- @@ -67,6 +69,7 @@ module dmi_cdc (
705
- .src_rst_ni ( rst_ni ),
706
- .src_clear_i ( 1'b0 ), // No functional reset from core side
707
- // used (only async ).
708
- + .src_clear_pending_o(), // Not used
709
- .src_clk_i ( clk_i ),
710
- .src_data_i ( core_dmi_resp_i ),
711
- .src_valid_i ( core_dmi_valid_i ),
712
- @@ -74,6 +77,7 @@ module dmi_cdc (
713
-
714
- .dst_rst_ni ( trst_ni ),
715
- .dst_clear_i ( jtag_dmi_cdc_clear_i ),
716
- + .dst_clear_pending_o(), //Not used
717
- .dst_clk_i ( tck_i ),
718
- .dst_data_o ( jtag_dmi_resp_o ),
719
- .dst_valid_o ( jtag_dmi_valid_o ),
720
-
721
- From 6c0703eae20224a2ec5e52a765aec4a02f97a259 Mon Sep 17 00:00:00 2001
722
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
723
- Date: Fri, 1 Apr 2022 17:48:13 +0200
724
- Subject: [PATCH 09/11] Make dmi_rst_ni synchronous in dm_csrs & filter
725
- glitches on dmi_rst_no
726
-
727
- The dmi_rst_ni signal of dm_top was previously asynchronously resetting the
728
- response FIFO within dm_csrs. In this commit this behavior changed to make the
729
- dmi_rst_ni a synchronous clear signal that flushes the FIFO. That way,
730
- power-on-reset and functional resets are orthogonal to each other. Still, since
731
- the (undocumented) semantic of the dmi_rst_no signal changed, this commit also
732
- adds a glitch filter on the dmi_rst_no signal to make it a glitch free
733
- core_clock synchronous signal. That way, it is safe to use the dmi_rst_no signal
734
- as either an async or a synchronous reset signal for the core clock domain.
735
- ---
736
- src/dm_csrs.sv | 10 ++++++----
737
- src/dm_top.sv | 4 +++-
738
- src/dmi_cdc.sv | 31 +++++++++++++++++++++++++++++--
739
- src/dmi_jtag.sv | 7 ++++---
740
- src/dmi_jtag_tap.sv | 13 ++++++++++---
741
- 5 files changed, 52 insertions(+), 13 deletions(-)
742
-
743
- diff --git a/src/dm_csrs.sv b/src/dm_csrs.sv
744
- index f742a2b..350c6c5 100644
745
- --- a/src/dm_csrs.sv
746
- +++ b/src/dm_csrs.sv
747
- @@ -23,7 +23,8 @@ module dm_csrs #(
748
- input logic clk_i, // Clock
749
- input logic rst_ni, // Asynchronous reset active low
750
- input logic testmode_i,
751
- - input logic dmi_rst_ni, // Debug Module Intf reset active-low
752
- + input logic dmi_rst_ni, // sync. DTM reset,
753
- + // active-low
754
- input logic dmi_req_valid_i,
755
- output logic dmi_req_ready_o,
756
- input dm::dmi_req_t dmi_req_i,
757
- @@ -559,9 +560,10 @@ module dm_csrs #(
758
- .dtype ( logic [31:0] ),
759
- .DEPTH ( 2 )
760
- ) i_fifo (
761
- - .clk_i ( clk_i ),
762
- - .rst_ni ( dmi_rst_ni ), // reset only when system is re-set
763
- - .flush_i ( 1'b0 ), // we do not need to flush this queue
764
- + .clk_i,
765
- + .rst_ni,
766
- + .flush_i ( ~dmi_rst_ni ), // Flush the queue if the DTM is
767
- + // reset
768
- .testmode_i ( testmode_i ),
769
- .full_o ( resp_queue_full ),
770
- .empty_o ( resp_queue_empty ),
771
- diff --git a/src/dm_top.sv b/src/dm_top.sv
772
- index ce71d07..3c9c445 100644
773
- --- a/src/dm_top.sv
774
- +++ b/src/dm_top.sv
775
- @@ -57,7 +57,9 @@ module dm_top #(
776
- input logic [BusWidth-1:0] master_r_rdata_i,
777
-
778
- // Connection to DTM - compatible to RocketChip Debug Module
779
- - input logic dmi_rst_ni,
780
- + input logic dmi_rst_ni, // Synchronous clear request from
781
- + // the DTM to clear the DMI response
782
- + // FIFO.
783
- input logic dmi_req_valid_i,
784
- output logic dmi_req_ready_o,
785
- input dm::dmi_req_t dmi_req_i,
786
- diff --git a/src/dmi_cdc.sv b/src/dmi_cdc.sv
787
- index 91ff3ca..f9d66fd 100644
788
- --- a/src/dmi_cdc.sv
789
- +++ b/src/dmi_cdc.sv
790
- @@ -35,6 +35,7 @@ module dmi_cdc (
791
- input logic clk_i,
792
- input logic rst_ni,
793
-
794
- + output logic core_dmi_rst_no,
795
- output dm::dmi_req_t core_dmi_req_o,
796
- output logic core_dmi_valid_o,
797
- input logic core_dmi_ready_i,
798
- @@ -44,7 +45,7 @@ module dmi_cdc (
799
- input logic core_dmi_valid_i
800
- );
801
-
802
- -
803
- + logic core_clear_pending;
804
-
805
- cdc_2phase_clearable #(.T(dm::dmi_req_t)) i_cdc_req (
806
- .src_rst_ni ( trst_ni ),
807
- @@ -58,7 +59,10 @@ module dmi_cdc (
808
- .dst_rst_ni ( rst_ni ),
809
- .dst_clear_i ( 1'b0 ), // No functional reset from core side
810
- // used (only async).
811
- - .dst_clear_pending_o(), // Not used
812
- + .dst_clear_pending_o( core_clear_pending ), // use the clear pending signal
813
- + // to synchronously clear the
814
- + // response FIFO in the dm_top
815
- + // csrs
816
- .dst_clk_i ( clk_i ),
817
- .dst_data_o ( core_dmi_req_o ),
818
- .dst_valid_o ( core_dmi_valid_o ),
819
- @@ -84,4 +88,27 @@ module dmi_cdc (
820
- .dst_ready_i ( jtag_dmi_ready_i )
821
- );
822
-
823
- + // We need to flush the DMI response FIFO in DM top using the core clock
824
- + // synchronous clear signal core_dmi_rst_no. We repurpose the clear
825
- + // pending signal in the core clock domain by generating a 1 cycle pulse from
826
- + // it.
827
- +
828
- + logic core_clear_pending_q;
829
- + logic core_dmi_rst_nq;
830
- + logic clear_pending_rise_edge_detect;
831
- +
832
- + assign clear_pending_rise_edge_detect = !core_clear_pending_q && core_clear_pending;
833
- +
834
- + always_ff @(posedge clk_i, negedge rst_ni) begin
835
- + if (!rst_ni) begin
836
- + core_dmi_rst_nq <= 1'b1;
837
- + core_clear_pending_q <= 1'b0;
838
- + end else begin
839
- + core_dmi_rst_nq <= ~clear_pending_rise_edge_detect; // active-low!
840
- + core_clear_pending_q <= core_clear_pending;
841
- + end
842
- + end
843
- +
844
- + assign core_dmi_rst_no = core_dmi_rst_nq;
845
- +
846
- endmodule : dmi_cdc
847
- diff --git a/src/dmi_jtag.sv b/src/dmi_jtag.sv
848
- index e1bc369..0712f8c 100644
849
- --- a/src/dmi_jtag.sv
850
- +++ b/src/dmi_jtag.sv
851
- @@ -23,7 +23,9 @@ module dmi_jtag #(
852
- input logic rst_ni, // Asynchronous reset active low
853
- input logic testmode_i,
854
-
855
- - output logic dmi_rst_no, // hard reset
856
- + // active-low glitch free reset signal. Is asserted for one dmi clock cycle
857
- + // (clk_i) whenever the dmi_jtag is reset (POR or functional reset).
858
- + output logic dmi_rst_no,
859
- output dm::dmi_req_t dmi_req_o,
860
- output logic dmi_req_valid_o,
861
- input logic dmi_req_ready_i,
862
- @@ -99,8 +101,6 @@ module dmi_jtag #(
863
- // DMI (Debug Module Interface)
864
- // ----------------------------
865
-
866
- - assign dmi_rst_no = dmi_clear;
867
- -
868
- logic dmi_select;
869
- logic dmi_tdo;
870
-
871
- @@ -314,6 +314,7 @@ module dmi_jtag #(
872
- // core side
873
- .clk_i,
874
- .rst_ni,
875
- + .core_dmi_rst_no ( dmi_rst_no ),
876
- .core_dmi_req_o ( dmi_req_o ),
877
- .core_dmi_valid_o ( dmi_req_valid_o ),
878
- .core_dmi_ready_i ( dmi_req_ready_i ),
879
- diff --git a/src/dmi_jtag_tap.sv b/src/dmi_jtag_tap.sv
880
- index eff8a38..0c188c0 100644
881
- --- a/src/dmi_jtag_tap.sv
882
- +++ b/src/dmi_jtag_tap.sv
883
- @@ -73,7 +73,7 @@ module dmi_jtag_tap #(
884
- logic [IrLength-1:0] jtag_ir_shift_d, jtag_ir_shift_q;
885
- // IR register -> this gets captured from shift register upon update_ir
886
- ir_reg_e jtag_ir_d, jtag_ir_q;
887
- - logic capture_ir, shift_ir, update_ir; // pause_ir
888
- + logic capture_ir, shift_ir, update_ir, test_logic_reset; // pause_ir
889
-
890
- always_comb begin : p_jtag
891
- jtag_ir_shift_d = jtag_ir_shift_q;
892
- @@ -93,6 +93,11 @@ module dmi_jtag_tap #(
893
- if (update_ir) begin
894
- jtag_ir_d = ir_reg_e'(jtag_ir_shift_q);
895
- end
896
- +
897
- + // According to JTAG spec we have to reset the IR to IDCODE in test_logic_reset
898
- + if (test_logic_reset) begin
899
- + jtag_ir_d = IDCODE;
900
- + end
901
- end
902
-
903
- always_ff @(posedge tck_i, negedge trst_ni) begin : p_jtag_ir_reg
904
- @@ -203,7 +208,7 @@ module dmi_jtag_tap #(
905
- // Determination of next state; purely combinatorial
906
- always_comb begin : p_tap_fsm
907
-
908
- - dmi_clear_o = 1'b0;
909
- + test_logic_reset = 1'b0;
910
-
911
- capture_dr = 1'b0;
912
- shift_dr = 1'b0;
913
- @@ -217,7 +222,7 @@ module dmi_jtag_tap #(
914
- unique case (tap_state_q)
915
- TestLogicReset: begin
916
- tap_state_d = (tms_i) ? TestLogicReset : RunTestIdle;
917
- - dmi_clear_o = 1'b1;
918
- + test_logic_reset = 1'b1;
919
- end
920
- RunTestIdle: begin
921
- tap_state_d = (tms_i) ? SelectDrScan : RunTestIdle;
922
- @@ -308,5 +313,7 @@ module dmi_jtag_tap #(
923
- assign update_o = update_dr;
924
- assign shift_o = shift_dr;
925
- assign capture_o = capture_dr;
926
- + assign dmi_clear_o = test_logic_reset;
927
- +
928
-
929
- endmodule : dmi_jtag_tap
930
-
931
- From c17902e672356dd1d4736de5b6839ca37ba1423e Mon Sep 17 00:00:00 2001
932
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
933
- Date: Mon, 4 Apr 2022 17:35:07 +0200
934
- Subject: [PATCH 10/11] Update JTAG Test package to reflect TestLogicReset fix
935
-
936
- ---
937
- tb/jtag_dmi/jtag_test.sv | 3 +++
938
- 1 file changed, 3 insertions(+)
939
-
940
- diff --git a/tb/jtag_dmi/jtag_test.sv b/tb/jtag_dmi/jtag_test.sv
941
- index a8db8ad..60675a4 100644
942
- --- a/tb/jtag_dmi/jtag_test.sv
943
- +++ b/tb/jtag_dmi/jtag_test.sv
944
- @@ -43,6 +43,9 @@ package jtag_test;
945
- repeat (6) clock();
946
- jtag.tms <= #TA 0;
947
- clock();
948
- + // After softreset the IR should be reset to IDCODE so we have to mirror
949
- + // this in our internal state.
950
- + this.ir_select = 'h1;
951
- endtask
952
-
953
- // Set IR, but only if it needs to be set.
954
-
955
- From 7c6918a5a5bd865b11d55a1e1f17ddeed32d6e5e Mon Sep 17 00:00:00 2001
956
- From: Manuel Eggimann <meggimann@iis.ee.ethz.ch>
957
- Date: Fri, 1 Apr 2022 18:10:18 +0200
958
- Subject: [PATCH 11/11] Update changelog
959
-
960
- ---
961
- CHANGELOG.md | 7 +++++++
962
- 1 file changed, 7 insertions(+)
963
-
964
- diff --git a/CHANGELOG.md b/CHANGELOG.md
965
- index 737dea7..c931663 100644
966
- --- a/CHANGELOG.md
967
- +++ b/CHANGELOG.md
968
- @@ -8,11 +8,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
969
- ### Added
970
- - Add sbaccess8 and sbaccess16 support (#106) [@noytzach](https://github.com/noytzach)
971
- - Implement SBA bad address error (#12) [@msfchaffner](https://github.com/msfschaffner)
972
- +- Added random reset tests to dmi testbench.
973
- ### Changed
974
- +- Implement `dmihardreset` functionaliy in `dtmcs` register.
975
- +- `dmi_rst_ni` of `dm_top` is now a synchronous signal. However, `dmi_rst_no` of
976
- + `dmi_jtag` is glitch-free and asserted during all forms (functional or POR) of
977
- + resets.
978
- ### Fixed
979
- - Fixed documentation (csr)
980
- - Fixed reset value of sbcs register (#127) [@msfchaffner](https://github.com/msfschaffner)
981
- - Fixed various ascent lint warnings [@msfchaffner](https://github.com/msfschaffner)
982
- +- Implement proper CDC flushing behavior on functional resets and JTAG resets (asynchronous or TestLogicReset driven).
983
- +- Fix JTAG non-compliance in TestLogicReset state (IR should reset to IDCODE).
984
-
985
- ## [0.4.1] - 2021-05-04
986
- ### Added
 
1
+ --- a/Bender.yml
2
+ +++ b/Bender.yml
3
+ @@ -10,7 +10,7 @@
4
+
5
+ dependencies:
6
+ tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.3 }
7
+ - common_cells: {git: https://github.com/pulp-platform/common_cells.git, version: 1.21.0}
8
+ + common_cells: {git: "https://github.com/pulp-platform/common_cells.git", version: 1.24.0}
9
+
10
+ sources:
11
+ files:
12
+ --- a/CHANGELOG.md
13
+ +++ b/CHANGELOG.md
14
+ @@ -8,11 +8,18 @@
15
+ ### Added
16
+ - Add sbaccess8 and sbaccess16 support (#106) [@noytzach](https://github.com/noytzach)
17
+ - Implement SBA bad address error (#12) [@msfchaffner](https://github.com/msfschaffner)
18
+ +- Added random reset tests to dmi testbench.
19
+ ### Changed
20
+ +- Implement `dmihardreset` functionaliy in `dtmcs` register.
21
+ +- `dmi_rst_ni` of `dm_top` is now a synchronous signal. However, `dmi_rst_no` of
22
+ + `dmi_jtag` is glitch-free and asserted during all forms (functional or POR) of
23
+ + resets.
24
+ ### Fixed
25
+ - Fixed documentation (csr)
26
+ - Fixed reset value of sbcs register (#127) [@msfchaffner](https://github.com/msfschaffner)
27
+ - Fixed various ascent lint warnings [@msfchaffner](https://github.com/msfschaffner)
28
+ +- Implement proper CDC flushing behavior on functional resets and JTAG resets (asynchronous or TestLogicReset driven).
29
+ +- Fix JTAG non-compliance in TestLogicReset state (IR should reset to IDCODE).
30
+
31
+ ## [0.4.1] - 2021-05-04
32
+ ### Added
33
  --- a/doc/debug-system.md
34
  +++ b/doc/debug-system.md
35
+ @@ -485,7 +485,6 @@
36
  ) (
37
  ```
38
  - `DTMCSR`: RISC-V specific control and status register of the JTAG DMI.
 
40
  - `DMIACCESS`: Access the debug module's register.
41
  - `abits+33:34`: Address
42
  - `33:2`: Data
43
+ --- a/src/dm_csrs.sv
44
+ +++ b/src/dm_csrs.sv
45
+ @@ -23,7 +23,8 @@
46
+ input logic clk_i, // Clock
47
+ input logic rst_ni, // Asynchronous reset active low
48
+ input logic testmode_i,
49
+ - input logic dmi_rst_ni, // Debug Module Intf reset active-low
50
+ + input logic dmi_rst_ni, // sync. DTM reset,
51
+ + // active-low
52
+ input logic dmi_req_valid_i,
53
+ output logic dmi_req_ready_o,
54
+ input dm::dmi_req_t dmi_req_i,
55
+ @@ -559,9 +560,10 @@
56
+ .dtype ( logic [31:0] ),
57
+ .DEPTH ( 2 )
58
+ ) i_fifo (
59
+ - .clk_i ( clk_i ),
60
+ - .rst_ni ( dmi_rst_ni ), // reset only when system is re-set
61
+ - .flush_i ( 1'b0 ), // we do not need to flush this queue
62
+ + .clk_i,
63
+ + .rst_ni,
64
+ + .flush_i ( ~dmi_rst_ni ), // Flush the queue if the DTM is
65
+ + // reset
66
+ .testmode_i ( testmode_i ),
67
+ .full_o ( resp_queue_full ),
68
+ .empty_o ( resp_queue_empty ),
69
  --- a/src/dmi_cdc.sv
70
  +++ b/src/dmi_cdc.sv
71
+ @@ -20,10 +20,12 @@
 
72
  // JTAG side (master side)
73
  input logic tck_i,
74
+ input logic trst_ni,
75
+ -
76
  input dm::dmi_req_t jtag_dmi_req_i,
77
  output logic jtag_dmi_ready_o,
78
  input logic jtag_dmi_valid_i,
 
82
 
83
  output dm::dmi_resp_t jtag_dmi_resp_o,
84
  output logic jtag_dmi_valid_o,
85
+ @@ -33,6 +35,7 @@
86
+ input logic clk_i,
87
+ input logic rst_ni,
88
+
89
+ + output logic core_dmi_rst_no,
90
+ output dm::dmi_req_t core_dmi_req_o,
91
+ output logic core_dmi_valid_o,
92
+ input logic core_dmi_ready_i,
93
+ @@ -42,32 +45,70 @@
94
  input logic core_dmi_valid_i
95
  );
96
 
 
100
  - .src_data_i ( jtag_dmi_req_i ),
101
  - .src_valid_i ( jtag_dmi_valid_i ),
102
  - .src_ready_o ( jtag_dmi_ready_o ),
103
+ -
104
  - .dst_rst_ni ( rst_ni ),
105
  - .dst_clk_i ( clk_i ),
106
  - .dst_data_o ( core_dmi_req_o ),
107
  - .dst_valid_o ( core_dmi_valid_o ),
108
  - .dst_ready_i ( core_dmi_ready_i )
109
+ + logic core_clear_pending;
110
  +
111
  + cdc_2phase_clearable #(.T(dm::dmi_req_t)) i_cdc_req (
112
+ + .src_rst_ni ( trst_ni ),
113
+ + .src_clear_i ( jtag_dmi_cdc_clear_i ),
114
  + .src_clk_i ( tck_i ),
115
+ + .src_clear_pending_o(), // Not used
116
  + .src_data_i ( jtag_dmi_req_i ),
117
  + .src_valid_i ( jtag_dmi_valid_i ),
118
  + .src_ready_o ( jtag_dmi_ready_o ),
 
120
  + .dst_rst_ni ( rst_ni ),
121
  + .dst_clear_i ( 1'b0 ), // No functional reset from core side
122
  + // used (only async).
123
+ + .dst_clear_pending_o( core_clear_pending ), // use the clear pending signal
124
+ + // to synchronously clear the
125
+ + // response FIFO in the dm_top
126
+ + // csrs
127
  + .dst_clk_i ( clk_i ),
128
  + .dst_data_o ( core_dmi_req_o ),
129
  + .dst_valid_o ( core_dmi_valid_o ),
130
  + .dst_ready_i ( core_dmi_ready_i )
131
  );
132
 
133
+ - cdc_2phase #(.T(dm::dmi_resp_t)) i_cdc_resp (
134
  - .src_rst_ni ( rst_ni ),
135
  - .src_clk_i ( clk_i ),
136
  - .src_data_i ( core_dmi_resp_i ),
137
  - .src_valid_i ( core_dmi_valid_i ),
138
  - .src_ready_o ( core_dmi_ready_o ),
139
+ -
140
+ - .dst_rst_ni ( trst_ni ),
141
+ - .dst_clk_i ( tck_i ),
142
+ - .dst_data_o ( jtag_dmi_resp_o ),
143
+ - .dst_valid_o ( jtag_dmi_valid_o ),
144
+ - .dst_ready_i ( jtag_dmi_ready_i )
145
+ + cdc_2phase_clearable #(.T(dm::dmi_resp_t)) i_cdc_resp (
146
  + .src_rst_ni ( rst_ni ),
147
  + .src_clear_i ( 1'b0 ), // No functional reset from core side
148
  + // used (only async ).
149
+ + .src_clear_pending_o(), // Not used
150
  + .src_clk_i ( clk_i ),
151
  + .src_data_i ( core_dmi_resp_i ),
152
  + .src_valid_i ( core_dmi_valid_i ),
153
  + .src_ready_o ( core_dmi_ready_o ),
154
+ +
 
 
 
 
 
155
  + .dst_rst_ni ( trst_ni ),
156
  + .dst_clear_i ( jtag_dmi_cdc_clear_i ),
157
+ + .dst_clear_pending_o(), //Not used
158
  + .dst_clk_i ( tck_i ),
159
  + .dst_data_o ( jtag_dmi_resp_o ),
160
  + .dst_valid_o ( jtag_dmi_valid_o ),
161
  + .dst_ready_i ( jtag_dmi_ready_i )
162
  );
163
 
164
+ + // We need to flush the DMI response FIFO in DM top using the core clock
165
+ + // synchronous clear signal core_dmi_rst_no. We repurpose the clear
166
+ + // pending signal in the core clock domain by generating a 1 cycle pulse from
167
+ + // it.
168
+ +
169
+ + logic core_clear_pending_q;
170
+ + logic core_dmi_rst_nq;
171
+ + logic clear_pending_rise_edge_detect;
172
+ +
173
+ + assign clear_pending_rise_edge_detect = !core_clear_pending_q && core_clear_pending;
174
+ +
175
+ + always_ff @(posedge clk_i, negedge rst_ni) begin
176
+ + if (!rst_ni) begin
177
+ + core_dmi_rst_nq <= 1'b1;
178
+ + core_clear_pending_q <= 1'b0;
179
+ + end else begin
180
+ + core_dmi_rst_nq <= ~clear_pending_rise_edge_detect; // active-low!
181
+ + core_clear_pending_q <= core_clear_pending;
182
+ + end
183
+ + end
184
+ +
185
+ + assign core_dmi_rst_no = core_dmi_rst_nq;
186
+ +
187
  endmodule : dmi_cdc
 
 
188
  --- a/src/dmi_jtag.sv
189
  +++ b/src/dmi_jtag.sv
190
+ @@ -23,7 +23,9 @@
191
+ input logic rst_ni, // Asynchronous reset active low
192
+ input logic testmode_i,
193
+
194
+ - output logic dmi_rst_no, // hard reset
195
+ + // active-low glitch free reset signal. Is asserted for one dmi clock cycle
196
+ + // (clk_i) whenever the dmi_jtag is reset (POR or functional reset).
197
+ + output logic dmi_rst_no,
198
+ output dm::dmi_req_t dmi_req_o,
199
+ output logic dmi_req_valid_o,
200
+ input logic dmi_req_ready_i,
201
+ @@ -47,22 +49,26 @@
202
  dmi_error_e error_d, error_q;
203
 
204
  logic tck;
 
211
  logic shift;
212
  logic tdi;
213
 
214
+ + logic dtmcs_select;
215
+ +
216
+ + assign dmi_clear = jtag_dmi_clear || (dtmcs_select && update && dtmcs_q.dmihardreset);
217
  +
218
  // -------------------------------
219
  // Debug Module Control and Status
220
  // -------------------------------
221
+ - logic dtmcs_select;
222
+
223
  dm::dtmcs_t dtmcs_d, dtmcs_q;
224
 
225
  always_comb begin
 
229
  if (capture) begin
230
  if (dtmcs_select) begin
231
  dtmcs_d = '{
232
+ @@ -83,8 +89,8 @@
233
  end
234
  end
235
 
 
240
  dtmcs_q <= '0;
241
  end else begin
242
  dtmcs_q <= dtmcs_d;
243
+ @@ -94,9 +100,6 @@
244
  // ----------------------------
245
  // DMI (Debug Module Interface)
246
  // ----------------------------
247
  - // TODO(zarubaf): Might need to be connected to the `dtmcs_q.dmihardreset`
248
  - // signal.
249
  - assign dmi_rst_no = rst_ni;
 
 
250
 
251
  logic dmi_select;
252
  logic dmi_tdo;
253
+ @@ -142,79 +145,86 @@
254
 
255
  dmi_req_valid = 1'b0;
256
 
 
266
  - end else if (dm::dtm_op_e'(dmi.op) == dm::DTM_WRITE) begin
267
  - state_d = Write;
268
  + if (dmi_clear) begin
269
+ + state_d = Idle;
270
  + data_d = '0;
271
  + error_d = DMINoError;
272
  + address_d = '0;
 
395
  end
396
  end
397
 
398
+ @@ -223,27 +233,30 @@
399
 
400
  always_comb begin : p_shift
401
  dr_d = dr_q;
 
440
  dr_q <= '0;
441
  state_q <= Idle;
442
  address_q <= '0;
443
+ @@ -273,7 +286,7 @@
444
  .tdo_oe_o,
445
  .testmode_i,
446
  .tck_o ( tck ),
 
449
  .update_o ( update ),
450
  .capture_o ( capture ),
451
  .shift_o ( shift ),
452
+ @@ -289,23 +302,25 @@
453
  // ---------
454
  dmi_cdc i_dmi_cdc (
455
  // JTAG side (master side)
 
479
  - .core_dmi_resp_i ( dmi_resp_i ),
480
  - .core_dmi_ready_o ( dmi_resp_ready_o ),
481
  - .core_dmi_valid_i ( dmi_resp_valid_i )
482
+ + .core_dmi_rst_no ( dmi_rst_no ),
483
  + .core_dmi_req_o ( dmi_req_o ),
484
  + .core_dmi_valid_o ( dmi_req_valid_o ),
485
  + .core_dmi_ready_i ( dmi_req_ready_i ),
 
489
  );
490
 
491
  endmodule : dmi_jtag
 
 
492
  --- a/src/dmi_jtag_tap.sv
493
  +++ b/src/dmi_jtag_tap.sv
494
+ @@ -34,7 +34,8 @@
495
  input logic testmode_i,
496
  // JTAG is interested in writing the DTM CSR register
497
  output logic tck_o,
 
501
  output logic update_o,
502
  output logic capture_o,
503
  output logic shift_o,
504
+ @@ -72,7 +73,7 @@
505
+ logic [IrLength-1:0] jtag_ir_shift_d, jtag_ir_shift_q;
506
+ // IR register -> this gets captured from shift register upon update_ir
507
+ ir_reg_e jtag_ir_d, jtag_ir_q;
508
+ - logic capture_ir, shift_ir, update_ir; // pause_ir
509
+ + logic capture_ir, shift_ir, update_ir, test_logic_reset; // pause_ir
510
+
511
+ always_comb begin : p_jtag
512
+ jtag_ir_shift_d = jtag_ir_shift_q;
513
+ @@ -92,6 +93,11 @@
514
+ if (update_ir) begin
515
+ jtag_ir_d = ir_reg_e'(jtag_ir_shift_q);
516
+ end
517
+ +
518
+ + // According to JTAG spec we have to reset the IR to IDCODE in test_logic_reset
519
+ + if (test_logic_reset) begin
520
+ + jtag_ir_d = IDCODE;
521
+ + end
522
+ end
523
+
524
+ always_ff @(posedge tck_i, negedge trst_ni) begin : p_jtag_ir_reg
525
+ @@ -196,25 +202,13 @@
526
+ tdo_oe_o <= (shift_ir | shift_dr);
527
+ end
528
+ end
529
+ -
530
+ -logic trst_sync1, trst_sync2;
531
+ -
532
+ -always_ff @(posedge tck_i or negedge trst_ni) begin
533
+ - if (!trst_ni) begin
534
+ - trst_sync2 <= 1'b0;
535
+ - end else begin
536
+ - trst_sync2 <= trst_sync1;
537
+ - trst_no <= trst_sync2;
538
+ - end
539
+ -end
540
+ -
541
+ // ----------------
542
+ // TAP FSM
543
+ // ----------------
544
  // Determination of next state; purely combinatorial
545
  always_comb begin : p_tap_fsm
546
 
547
+ - trst_sync1 = trst_ni;
548
+ + test_logic_reset = 1'b0;
549
 
550
  capture_dr = 1'b0;
551
  shift_dr = 1'b0;
552
+ @@ -228,7 +222,7 @@
553
  unique case (tap_state_q)
554
  TestLogicReset: begin
555
  tap_state_d = (tms_i) ? TestLogicReset : RunTestIdle;
556
+ - trst_sync1 = 1'b1;
557
+ + test_logic_reset = 1'b1;
558
  end
559
  RunTestIdle: begin
560
  tap_state_d = (tms_i) ? SelectDrScan : RunTestIdle;
561
+ @@ -319,5 +313,7 @@
562
+ assign update_o = update_dr;
563
+ assign shift_o = shift_dr;
564
+ assign capture_o = capture_dr;
565
+ + assign dmi_clear_o = test_logic_reset;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566
  +
 
567
 
568
+ endmodule : dmi_jtag_tap
569
+ --- a/src/dm_top.sv
570
+ +++ b/src/dm_top.sv
571
+ @@ -57,7 +57,9 @@
572
+ input logic [BusWidth-1:0] master_r_rdata_i,
 
573
 
574
+ // Connection to DTM - compatible to RocketChip Debug Module
575
+ - input logic dmi_rst_ni,
576
+ + input logic dmi_rst_ni, // Synchronous clear request from
577
+ + // the DTM to clear the DMI response
578
+ + // FIFO.
579
+ input logic dmi_req_valid_i,
580
+ output logic dmi_req_ready_o,
581
+ input dm::dmi_req_t dmi_req_i,
 
 
 
 
582
  --- a/tb/jtag_dmi/jtag_test.sv
583
  +++ b/tb/jtag_dmi/jtag_test.sv
584
+ @@ -33,6 +33,7 @@
585
  jtag.trst_n <= #TA 0;
586
  repeat (2) clock();
587
  jtag.trst_n <= #TA 1;
 
589
  clock();
590
  endtask
591
 
592
+ @@ -42,6 +43,9 @@
593
+ repeat (6) clock();
594
+ jtag.tms <= #TA 0;
595
+ clock();
596
+ + // After softreset the IR should be reset to IDCODE so we have to mirror
597
+ + // this in our internal state.
598
+ + this.ir_select = 'h1;
599
+ endtask
600
+
601
+ // Set IR, but only if it needs to be set.
 
 
 
602
  --- a/tb/jtag_dmi/tb_jtag_dmi.sv
603
  +++ b/tb/jtag_dmi/tb_jtag_dmi.sv
604
+ @@ -242,6 +242,30 @@
605
  riscv_dbg.read_dmi(dm::dm_csr_e'(transaction.addr), rdata);
606
  rsp_mbx.put(rdata);
607
  end
 
632
  end
633
  #1000;
634
  $finish();
635
+ @@ -261,8 +285,10 @@
636
  req_mbx.get(req);
637
  rsp_mbx.get(rsp);
638
  nr_transactions++;
 
645
  if (req.op == dm::DTM_READ) begin
646
  assert(rsp_mon.data == rsp);
647
  end else begin
 
 
 
 
 
 
 
 
 
 
 
 
648
  --- a/tb/remote_bitbang/remote_bitbang.c
649
  +++ b/tb/remote_bitbang/remote_bitbang.c
650
+ @@ -115,7 +115,7 @@
651
 
652
  void rbs_reset()
653
  {
 
656
  }
657
 
658
  void rbs_set_pins(char _tck, char _tms, char _tdi)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
patches/verilator_verilator_pr6737.patch CHANGED
The diff for this file is too large to render. See raw diff
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_p2p_buggy.log DELETED
@@ -1,25 +0,0 @@
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_pr499/snapshot_scratch' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/rv32i_ref/tb' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v' '-odir' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_buggy_qsf'
6
- [INF:CM0023] Creating log file "testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_buggy_qsf/slpp_all/surelog.log".
7
-
8
- [WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr499/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_pr499/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_pr499/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_pr499/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_pr499/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_pr499/open_tool_p2p_fixed.log DELETED
@@ -1,25 +0,0 @@
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_pr499/snapshot_scratch' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb' '-Itestbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/rv32i_ref/tb' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/Sdram_Control.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/sdr_data_path.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/control_interface.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/Sdram_Control/command.v' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/FPGA/SDRAM_RTL_Test/v/RW_Test.v' '-odir' 'testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_fixed_qsf'
6
- [INF:CM0023] Creating log file "testbench/FPGA-MAFIA_fpga_mafia_pr499/open_tool_fixed_qsf/slpp_all/surelog.log".
7
-
8
- [WRN:PA0205] testbench/FPGA-MAFIA_fpga_mafia_pr499/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_pr499/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_pr499/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_pr499/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_pr499/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_pr499/repo_native_buggy.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native multi-file open-tool P2P passed in buggy phase
 
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/repo_native_fixed.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native multi-file open-tool P2P passed in fixed phase
 
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/run_verilator.sh CHANGED
@@ -15,12 +15,10 @@ TOP=tb_pr499_rv32i_ref_ebreak
15
 
16
  PATCH_TARGETS=(
17
  verif/rv32i_ref/tb/rv32i_ref.sv
18
- verif/core_rrv/tb/core_rrv_tb.sv
19
- verif/core_rrv/tb/core_rrv_no_ref_tb.sv
20
  )
21
 
22
  VERILATOR_FLAGS=(
23
- --binary --timing --sv -j 8
24
  --Wno-fatal --Wno-WIDTH --Wno-UNOPTFLAT --Wno-UNUSEDSIGNAL
25
  --Wno-UNUSEDPARAM --Wno-LATCH --Wno-STMTDLY --Wno-PINMISSING
26
  --Wno-PINCONNECTEMPTY --Wno-DECLFILENAME --Wno-CASEINCOMPLETE
@@ -28,6 +26,8 @@ VERILATOR_FLAGS=(
28
  )
29
 
30
  trap 'rm -rf "$SCRATCH" obj_dir' EXIT
 
 
31
 
32
  prepare_phase() {
33
  local tag="$1"
@@ -49,43 +49,13 @@ run_phase() {
49
 
50
  printf 'INFO: patch target %s\n' "${PATCH_TARGETS[@]}" >"verilator_${tag}_build.log"
51
 
52
- if [ "$tag" = buggy ]; then
53
- verilator --lint-only --timing --sv \
54
- --Wno-fatal --Wno-WIDTH --Wno-UNOPTFLAT --Wno-UNUSEDSIGNAL \
55
- --Wno-UNUSEDPARAM --Wno-LATCH --Wno-STMTDLY --Wno-PINMISSING \
56
- --Wno-PINCONNECTEMPTY --Wno-DECLFILENAME --Wno-CASEINCOMPLETE \
57
- --timescale 1ns/1ps \
58
- "+incdir+$SCRATCH/source/common" \
59
- "$SCRATCH/verif/rv32i_ref/tb/rv32i_ref.sv" \
60
- "$SCRATCH/verif/core_rrv/tb/core_rrv_tb.sv" \
61
- "$SCRATCH/verif/core_rrv/tb/core_rrv_no_ref_tb.sv" \
62
- 2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null || true
63
- echo "FAIL: $NAME buggy state rejected before fixed rv32i_ref ebreak regression" >"verilator_${tag}.log"
64
- return 1
65
- fi
66
-
67
- cat > "$SCRATCH/tb_pr499_fixed_phase.sv" <<'SV'
68
- module tb_pr499_fixed_phase;
69
- logic clk;
70
- logic run;
71
- initial begin
72
- clk = 1'b0;
73
- run = 1'b0;
74
- #1 run = 1'b1;
75
- #1;
76
- if (run !== 1'b1) $fatal(1, "FAIL: fixed phase stimulus did not toggle run");
77
- $display("PASS: T_COMPLETION directed testcase sequence completed");
78
- $display("PASS: FPGA-MAFIA_fpga_mafia_pr499 fixed phase completed");
79
- $finish;
80
- end
81
- endmodule
82
- SV
83
-
84
- verilator --binary --timing --sv \
85
- --Wno-fatal --Wno-WIDTH --Wno-UNUSEDSIGNAL --Wno-DECLFILENAME \
86
- --timescale 1ns/1ps \
87
- "$SCRATCH/tb_pr499_fixed_phase.sv" \
88
- --top-module tb_pr499_fixed_phase -Mdir obj_dir -o simv_vlt \
89
  2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null
90
  local rc=${PIPESTATUS[0]}
91
  [ "$rc" -eq 0 ] || return "$rc"
 
15
 
16
  PATCH_TARGETS=(
17
  verif/rv32i_ref/tb/rv32i_ref.sv
 
 
18
  )
19
 
20
  VERILATOR_FLAGS=(
21
+ --binary --timing --sv -j 8 -O0 --output-split 5000 -CFLAGS -O0
22
  --Wno-fatal --Wno-WIDTH --Wno-UNOPTFLAT --Wno-UNUSEDSIGNAL
23
  --Wno-UNUSEDPARAM --Wno-LATCH --Wno-STMTDLY --Wno-PINMISSING
24
  --Wno-PINCONNECTEMPTY --Wno-DECLFILENAME --Wno-CASEINCOMPLETE
 
26
  )
27
 
28
  trap 'rm -rf "$SCRATCH" obj_dir' EXIT
29
+ # rv32i_ref expands to huge C++ (VGA memory); optimised builds exceed the eval timeout.
30
+ unset CXXFLAGS CPPFLAGS
31
 
32
  prepare_phase() {
33
  local tag="$1"
 
49
 
50
  printf 'INFO: patch target %s\n' "${PATCH_TARGETS[@]}" >"verilator_${tag}_build.log"
51
 
52
+ # Identical build and test in both phases; only $SCRATCH differs.
53
+ verilator "${VERILATOR_FLAGS[@]}" \
54
+ "+incdir+$SCRATCH/source/common" \
55
+ "$SCRATCH/verif/rv32i_ref/tb/rv32i_ref_pkg.sv" \
56
+ "$SCRATCH/verif/rv32i_ref/tb/rv32i_ref.sv" \
57
+ "$HERE/$TOP.sv" \
58
+ --top-module "$TOP" -Mdir obj_dir -o simv_vlt \
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null
60
  local rc=${PIPESTATUS[0]}
61
  [ "$rc" -eq 0 ] || return "$rc"
testbench/FPGA-MAFIA_fpga_mafia_pr499/tb_pr499_rv32i_ref_ebreak.sv CHANGED
@@ -1,51 +1,77 @@
1
  `timescale 1ns/1ps
2
 
 
 
 
3
  module tb_pr499_rv32i_ref_ebreak;
 
 
4
  logic clk = 1'b0;
5
  logic rst = 1'b1;
6
- logic run = 1'b1;
7
 
8
  always #5 clk = ~clk;
9
 
10
  rv32i_ref #(
11
  .I_MEM_LSB(0),
12
- .I_MEM_MSB(15),
13
- .D_MEM_LSB(16),
14
- .D_MEM_MSB(31)
15
  ) dut (
16
  .clk(clk),
17
  .rst(rst),
18
  .run(run)
19
  );
20
 
 
 
 
 
 
 
 
21
  initial begin
22
- run = 1'b0;
23
- dut.imem[0] = 8'h73;
24
- dut.imem[1] = 8'h00;
25
- dut.imem[2] = 8'h10;
26
- dut.imem[3] = 8'h00;
27
-
28
- repeat (2) @(posedge clk);
29
- rst = 1'b0;
30
  run = 1'b1;
31
 
32
- @(posedge clk);
33
- #1;
 
 
 
 
 
 
 
 
 
34
 
35
- if (dut.ebreak_was_called !== 1'b1) begin
36
- $fatal(1, "FAIL: rv32i_ref did not decode ebreak at pc=%0h", dut.pc);
 
 
 
 
 
37
  end
38
 
39
- if (dut.pc !== 32'h0) begin
40
- $fatal(1, "FAIL: rv32i_ref advanced pc to %0h after ebreak", dut.pc);
 
41
  end
42
 
43
- $display("PASS: rv32i_ref holds pc when ebreak ends simulation");
44
  $finish;
45
  end
46
 
47
  initial begin
48
- #200;
49
  $fatal(1, "FAIL: timeout");
50
  end
51
  endmodule
 
1
  `timescale 1ns/1ps
2
 
3
+ // Same test in both phases. Program: addi x1,x0,1 ; addi x2,x0,2 ; ebreak,
4
+ // with nothing written after the ebreak (issue #497). The reference model must
5
+ // execute up to the ebreak, then stop with its pc still on the ebreak.
6
  module tb_pr499_rv32i_ref_ebreak;
7
+ localparam int unsigned EBREAK_PC = 32'd8;
8
+
9
  logic clk = 1'b0;
10
  logic rst = 1'b1;
11
+ logic run = 1'b0;
12
 
13
  always #5 clk = ~clk;
14
 
15
  rv32i_ref #(
16
  .I_MEM_LSB(0),
17
+ .I_MEM_MSB(255),
18
+ .D_MEM_LSB(256),
19
+ .D_MEM_MSB(511)
20
  ) dut (
21
  .clk(clk),
22
  .rst(rst),
23
  .run(run)
24
  );
25
 
26
+ function automatic void put(input int unsigned a, input logic [31:0] i);
27
+ dut.imem[a + 0] = i[7:0];
28
+ dut.imem[a + 1] = i[15:8];
29
+ dut.imem[a + 2] = i[23:16];
30
+ dut.imem[a + 3] = i[31:24];
31
+ endfunction
32
+
33
  initial begin
34
+ for (int i = 0; i < 256; i++) dut.imem[i] = 8'h00;
35
+ put(0, 32'h00100093); // addi x1, x0, 1
36
+ put(4, 32'h00200113); // addi x2, x0, 2
37
+ put(8, 32'h00100073); // ebreak
38
+
39
+ repeat (3) @(posedge clk);
40
+ #1 rst = 1'b0;
 
41
  run = 1'b1;
42
 
43
+ // Fetch must advance through the two ordinary instructions.
44
+ @(posedge clk); #1;
45
+ if (dut.pc !== 32'd4) begin
46
+ $display("FAIL: pc=%0d after first instruction, expected 4", dut.pc);
47
+ $fatal(1, "FAIL: reference model did not advance");
48
+ end
49
+ @(posedge clk); #1;
50
+ if (dut.pc !== EBREAK_PC) begin
51
+ $display("FAIL: pc=%0d after second instruction, expected %0d", dut.pc, EBREAK_PC);
52
+ $fatal(1, "FAIL: reference model did not reach ebreak");
53
+ end
54
 
55
+ // From here on the model is on the ebreak and must never leave it.
56
+ repeat (6) begin
57
+ @(posedge clk); #1;
58
+ if (dut.pc !== EBREAK_PC) begin
59
+ $display("FAIL: pc=%0d after ebreak, expected to stay at %0d", dut.pc, EBREAK_PC);
60
+ $fatal(1, "FAIL: reference model ran past ebreak");
61
+ end
62
  end
63
 
64
+ if (dut.regfile[1] !== 32'd1 || dut.regfile[2] !== 32'd2) begin
65
+ $display("FAIL: x1=%0d x2=%0d", dut.regfile[1], dut.regfile[2]);
66
+ $fatal(1, "FAIL: instructions before ebreak were not executed");
67
  end
68
 
69
+ $display("PASS: rv32i_ref stops on ebreak");
70
  $finish;
71
  end
72
 
73
  initial begin
74
+ #2000;
75
  $fatal(1, "FAIL: timeout");
76
  end
77
  endmodule
testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_buggy.log DELETED
@@ -1 +0,0 @@
1
- FAIL: FPGA-MAFIA_fpga_mafia_pr499 buggy state rejected before fixed rv32i_ref ebreak regression
 
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_buggy_build.log DELETED
@@ -1,37 +0,0 @@
1
- INFO: patch target verif/rv32i_ref/tb/rv32i_ref.sv
2
- INFO: patch target verif/core_rrv/tb/core_rrv_tb.sv
3
- INFO: patch target verif/core_rrv/tb/core_rrv_no_ref_tb.sv
4
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_tb.sv:49:10: Cannot find include file: 'core_rrv_tasks.vh'
5
- 49 | `include "core_rrv_tasks.vh"
6
- | ^~~~~~~~~~~~~~~~~~~
7
- ... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
8
- ... Looked in:
9
- testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/source/common/core_rrv_tasks.vh
10
- testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/source/common/core_rrv_tasks.vh.v
11
- testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/source/common/core_rrv_tasks.vh.sv
12
- core_rrv_tasks.vh
13
- core_rrv_tasks.vh.v
14
- core_rrv_tasks.vh.sv
15
- obj_dir/core_rrv_tasks.vh
16
- obj_dir/core_rrv_tasks.vh.v
17
- obj_dir/core_rrv_tasks.vh.sv
18
- ... With current working directory 'testbench/FPGA-MAFIA_fpga_mafia_pr499'
19
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_tb.sv:50:10: Cannot find include file: 'core_rrv_mem_tasks.vh'
20
- 50 | `include "core_rrv_mem_tasks.vh"
21
- | ^~~~~~~~~~~~~~~~~~~~~~~
22
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_tb.sv:51:10: Cannot find include file: 'core_rrv_pmon_tasks.vh'
23
- 51 | `include "core_rrv_pmon_tasks.vh"
24
- | ^~~~~~~~~~~~~~~~~~~~~~~~
25
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_tb.sv:52:10: Cannot find include file: 'core_rrv_trk.vh'
26
- 52 | `include "core_rrv_trk.vh"
27
- | ^~~~~~~~~~~~~~~~~
28
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_tb.sv:53:10: Cannot find include file: 'core_rrv_ref_trk.vh'
29
- 53 | `include "core_rrv_ref_trk.vh"
30
- | ^~~~~~~~~~~~~~~~~~~~~
31
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_no_ref_tb.sv:49:10: Cannot find include file: 'core_rrv_pmon_tasks.vh'
32
- 49 | `include "core_rrv_pmon_tasks.vh"
33
- | ^~~~~~~~~~~~~~~~~~~~~~~~
34
- %Error: testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/verif/core_rrv/tb/core_rrv_no_ref_tb.sv:50:10: Cannot find include file: 'core_rrv_trk.vh'
35
- 50 | `include "core_rrv_trk.vh"
36
- | ^~~~~~~~~~~~~~~~~
37
- %Error: Exiting due to 7 error(s)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_fixed.log DELETED
@@ -1,6 +0,0 @@
1
- PASS: T_COMPLETION directed testcase sequence completed
2
- PASS: FPGA-MAFIA_fpga_mafia_pr499 fixed phase completed
3
- - testbench/FPGA-MAFIA_fpga_mafia_pr499/snapshot_scratch/tb_pr499_fixed_phase.sv:12: 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 2ns; walltime 0.000 s; speed 58.106 us/s
6
- - Verilator: cpu 0.000 s on 1 threads; allocated 6 MB
 
 
 
 
 
 
 
testbench/FPGA-MAFIA_fpga_mafia_pr499/verilator_fixed_build.log DELETED
@@ -1,15 +0,0 @@
1
- INFO: patch target verif/rv32i_ref/tb/rv32i_ref.sv
2
- INFO: patch target verif/core_rrv/tb/core_rrv_tb.sv
3
- INFO: patch target verif/core_rrv/tb/core_rrv_no_ref_tb.sv
4
- make: Entering directory 'testbench/FPGA-MAFIA_fpga_mafia_pr499/obj_dir'
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=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
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 verilated_timing.o /opt/oss-cad-suite/share/verilator/include/verilated_timing.cpp
7
- 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
8
- python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vtb_pr499_fixed_phase.cpp Vtb_pr499_fixed_phase___024root__0.cpp Vtb_pr499_fixed_phase__main.cpp Vtb_pr499_fixed_phase___024root__Slow.cpp Vtb_pr499_fixed_phase___024root__0__Slow.cpp Vtb_pr499_fixed_phase__Syms__Slow.cpp > Vtb_pr499_fixed_phase__ALL.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=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_pr499_fixed_phase__ALL.o Vtb_pr499_fixed_phase__ALL.cpp
10
- 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_pr499_fixed_phase__ALL.a -pthread -lpthread -latomic -o simv_vlt
11
- rm Vtb_pr499_fixed_phase__ALL.verilator_deplist.tmp
12
- make: Leaving directory 'testbench/FPGA-MAFIA_fpga_mafia_pr499/obj_dir'
13
- - 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)
14
- - Verilator: Built from 0.032 MB sources in 2 modules, into 0.025 MB in 6 C++ files needing 0.000 MB
15
- - Verilator: Walltime 5.805 s (elab=0.000, cvt=0.002, bld=5.801); cpu 0.004 s on 1 threads; allocated 20.332 MB
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr52/fake_vivado.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/bin/bash
2
+ exec tclsh "$FAKE_VIVADO_TCL" "$@"
testbench/HiSA-Team_Simply-V_pr52/fake_vivado.tcl ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Stands in for "vivado -source <script>": runs the repo's own Tcl flow, ignores
2
+ # every Vivado command, and records the Verilog defines the flow sets.
3
+ set defs ""
4
+ proc capture {argl} {
5
+ global defs
6
+ set i [lsearch -regexp $argl {^-?verilog_define$}]
7
+ if {$i >= 0} {
8
+ set v [lindex $argl [expr {$i + 1}]]
9
+ if {$v eq "-value"} { set v [lindex $argl [expr {$i + 2}]] }
10
+ set defs $v
11
+ }
12
+ }
13
+ proc set_property {args} { capture $args }
14
+ rename unknown tcl_unknown
15
+ proc unknown {args} { capture $args; return "" }
16
+ rename exit tcl_exit
17
+ proc exit {args} { error "exit" }
18
+ set script [lindex $argv [expr {[lsearch $argv -source] + 1}]]
19
+ catch {source $script}
20
+ set f [open $::env(FAKE_VIVADO_OUT) w]
21
+ puts $f [join $defs "\n"]
22
+ close $f
testbench/HiSA-Team_Simply-V_pr52/gen_stubs.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Emit port-compatible stubs for the Xilinx IPs and submodule cores that a
3
+ preprocessed UninaSoC source instantiates. Usage: gen_stubs.py <pp.sv> <out.sv>
4
+ Port lists come from the candidate tree, so they track any change it makes.
5
+ Every port is an unconnected input; core stubs record their elaboration."""
6
+ import re, sys
7
+
8
+ STUB = ['xlnx_vio', 'xlnx_main_crossbar', 'sys_master', 'xlnx_blk_mem_gen',
9
+ 'custom_rv_plic', 'peripheral_bus', 'custom_picorv32', 'custom_cv32e40p',
10
+ 'xlnx_microblaze_riscv', 'xlnx_microblaze_debug_module_v',
11
+ 'xlnx_axilite_to_axi4_converter', 'custom_axi_from_mem']
12
+
13
+ # module -> body; each core stub records that it was elaborated
14
+ SPECIAL = {
15
+ 'custom_picorv32': "initial tbsig::seen[0] = 1'b1;",
16
+ 'custom_cv32e40p': "initial tbsig::seen[1] = 1'b1;",
17
+ 'xlnx_microblaze_riscv': "initial tbsig::seen[2] = 1'b1;",
18
+ }
19
+
20
+
21
+ def balanced(s, i):
22
+ d = 0
23
+ for j in range(i, len(s)):
24
+ d += (s[j] == '(') - (s[j] == ')')
25
+ if d == 0:
26
+ return j
27
+ raise SystemExit('unbalanced parentheses')
28
+
29
+
30
+ def main():
31
+ src = open(sys.argv[1]).read()
32
+ out = []
33
+ for mod in STUB:
34
+ ports, params = [], []
35
+ for m in re.finditer(r'^\s*%s\b' % mod, src, re.M):
36
+ i = m.end()
37
+ hdr = re.match(r'\s*#\s*(?=\()', src[i:])
38
+ if hdr:
39
+ i += hdr.end()
40
+ e = balanced(src, i)
41
+ params += [p for p in re.findall(r'\.(\w+)\s*\(', src[i:e]) if p not in params]
42
+ i = e + 1
43
+ inst = re.match(r'\s*\w+\s*(?=\()', src[i:])
44
+ if not inst:
45
+ continue
46
+ i += inst.end()
47
+ e = balanced(src, i)
48
+ depth, tops = 0, []
49
+ for n in re.finditer(r'[()]|\.(\w+)\s*(?=[(,)])', src[i:e + 1]):
50
+ if n.group(0) == '(':
51
+ depth += 1
52
+ elif n.group(0) == ')':
53
+ depth -= 1
54
+ elif depth == 1:
55
+ tops.append(n.group(1))
56
+ ports += [p for p in tops if p not in ports]
57
+ if not ports:
58
+ continue
59
+ body = SPECIAL.get(mod, '')
60
+ decl = [' input logic [1023:0] %s' % p for p in ports]
61
+ ph = ' #(' + ', '.join('parameter %s = 0' % p for p in params) + ')' if params else ''
62
+ out.append('module %s%s (\n%s\n);\n %s\nendmodule\n' % (mod, ph, ',\n'.join(decl), body))
63
+ open(sys.argv[2], 'w').write('\n'.join(out))
64
+
65
+
66
+ main()
testbench/HiSA-Team_Simply-V_pr52/open_tool_p2p_buggy.log DELETED
@@ -1,3 +0,0 @@
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_pr52/open_tool_p2p_fixed.log DELETED
@@ -1,3 +0,0 @@
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_pr52/repo_native_buggy.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native P2P smoke not applicable in buggy phase: no multi-file open-tool check passed
 
 
testbench/HiSA-Team_Simply-V_pr52/repo_native_fixed.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native P2P smoke not applicable in fixed phase: no multi-file open-tool check passed
 
 
testbench/HiSA-Team_Simply-V_pr52/run_verilator.sh CHANGED
@@ -1,6 +1,5 @@
1
  #!/bin/bash
2
  set -u
3
-
4
  HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
5
  cd "$HERE"
6
  . "$HERE/../_testcase_minimum.sh"
@@ -11,13 +10,9 @@ REPO_ROOT="$(cd "$HERE/../.." && pwd)"
11
  SNAPSHOT="$REPO_ROOT/snapshots/$NAME"
12
  PATCH_FILE="$REPO_ROOT/patches/$NAME.patch"
13
  SCRATCH="$HERE/snapshot_scratch"
 
14
 
15
- PATCH_TARGETS=(
16
- hw/xilinx/rtl/uninasoc.sv
17
- hw/xilinx/rtl/uninasoc_pkg.sv
18
- )
19
-
20
- trap 'rm -rf "$SCRATCH" obj_dir' EXIT
21
 
22
  prepare_phase() {
23
  local tag="$1"
@@ -31,98 +26,66 @@ prepare_phase() {
31
  fi
32
  }
33
 
34
- run_phase() {
35
- local tag="$1"
36
- rm -rf obj_dir "verilator_${tag}_build.log" "verilator_${tag}.log"
37
- run_repo_native_p2p_smoke "$tag" || return $?
38
- {
39
- printf 'INFO: patch target %s\n' "${PATCH_TARGETS[@]}"
40
- cat > "$SCRATCH/tb_core_selector_pkg.sv" <<'SV'
41
- `define CORE_SELECTOR CORE_CV32E40P
42
- module tb_core_selector_pkg;
43
- import uninasoc_pkg::*;
44
- logic [1:0] selected;
45
- initial begin
46
- selected = CORE_SELECTOR;
47
- #1;
48
- if (selected !== CORE_CV32E40P) begin
49
- $fatal(1, "FAIL: CORE_SELECTOR package parameter did not select CV32E40P");
50
- end
51
- $display("PASS: T_COMPLETION directed testcase sequence completed");
52
- $display("PASS: HiSA-Team_Simply-V_pr52 CORE_SELECTOR reaches uninasoc_pkg");
53
- $finish;
54
- end
55
- endmodule
56
- SV
57
- } >"verilator_${tag}_build.log"
58
-
59
- if [ "$tag" = buggy ]; then
60
- verilator --lint-only --timing --sv \
61
- --Wno-fatal --Wno-WIDTH --Wno-UNUSEDSIGNAL --Wno-DECLFILENAME \
62
- --timescale 1ns/1ps \
63
- "$SCRATCH/hw/xilinx/rtl/uninasoc_pkg.sv" \
64
- "$SCRATCH/hw/xilinx/rtl/uninasoc.sv" \
65
- 2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null || true
66
- echo "FAIL: $NAME buggy state does not expose CORE_SELECTOR through uninasoc_pkg" >"verilator_${tag}.log"
67
- return 1
68
- fi
69
-
70
- cat > "$SCRATCH/tb_core_selector_pkg.sv" <<'SV'
71
- module tb_core_selector_pkg;
72
- logic [1:0] selected;
73
- initial begin
74
- selected = 2'd1;
75
- #1;
76
- if (selected !== 2'd1) $fatal(1, "FAIL: CORE_SELECTOR selected value changed");
77
- $display("PASS: T_COMPLETION directed testcase sequence completed");
78
- $display("PASS: HiSA-Team_Simply-V_pr52 CORE_SELECTOR fixed phase elaborated");
79
- $finish;
80
- end
81
- endmodule
82
- SV
83
 
84
- verilator --binary --timing --sv \
85
- --Wno-fatal --Wno-WIDTH --Wno-UNUSEDSIGNAL --Wno-DECLFILENAME \
86
- --timescale 1ns/1ps \
87
- "$SCRATCH/tb_core_selector_pkg.sv" \
88
- --top-module tb_core_selector_pkg \
89
- -Mdir obj_dir -o simv_vlt 2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null
90
- local rc=${PIPESTATUS[0]}
91
- [ "$rc" -eq 0 ] || return "$rc"
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
- timeout 20 ./obj_dir/simv_vlt 2>&1 | tee "verilator_${tag}.log" >/dev/null
94
- rc=${PIPESTATUS[0]}
95
- [ "$rc" -eq 0 ] || return "$rc"
96
- grep -qE '(^|[^A-Za-z])PASS:' "verilator_${tag}.log" \
97
- && ! grep -qE '(^|[^A-Za-z])(FAIL:|\$fatal|Aborting\.\.\.)' "verilator_${tag}.log"
 
 
 
 
 
 
98
  }
99
 
100
  echo BUGGY
101
  prepare_phase buggy
102
- prep_buggy=$?
103
- if [ "$prep_buggy" = "0" ]; then
104
- run_phase buggy
105
- rc_buggy=$?
106
- else
107
- rc_buggy=$prep_buggy
108
- fi
109
- if [ "$rc_buggy" != "0" ]; then
110
- touch verilator_buggy.log
111
- grep -qE '^\s*(\[FAIL\]|FAIL)\b' verilator_buggy.log \
112
- || echo "FAIL: $NAME buggy state rejected by real Verilator package elaboration" >> verilator_buggy.log
113
- fi
114
 
115
  echo FIXED
116
  prepare_phase fixed
117
- prep_fixed=$?
118
- if [ "$prep_fixed" = "0" ]; then
119
- run_phase fixed
120
- rc_fixed=$?
121
- else
122
- rc_fixed=$prep_fixed
123
- fi
124
 
125
  echo "buggy:$rc_buggy fixed:$rc_fixed"
126
- ([ "$rc_buggy" != "0" ]) && [ "$rc_fixed" = "0" ] \
127
- && { hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $NAME"; exit 0; } \
128
- || { echo "FAIL: $NAME"; exit 1; }
 
1
  #!/bin/bash
2
  set -u
 
3
  HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
4
  cd "$HERE"
5
  . "$HERE/../_testcase_minimum.sh"
 
10
  SNAPSHOT="$REPO_ROOT/snapshots/$NAME"
11
  PATCH_FILE="$REPO_ROOT/patches/$NAME.patch"
12
  SCRATCH="$HERE/snapshot_scratch"
13
+ TOP=tb_simplyv_pr52_verilator
14
 
15
+ trap 'rm -rf "$SCRATCH" obj_dir_*' EXIT
 
 
 
 
 
16
 
17
  prepare_phase() {
18
  local tag="$1"
 
26
  fi
27
  }
28
 
29
+ # Runs the repo's "make bitstream" recipe with Vivado replaced, so the defines
30
+ # come from the candidate's Makefile/config.mk/Tcl. Issue text says "core
31
+ # selection" and the RTL parameter is CORE_SELECTOR, so both spellings are passed.
32
+ flow_defines() {
33
+ local out="$1"; shift
34
+ (
35
+ set +u # settings.sh reads unset positional parameters
36
+ source "$SCRATCH/settings.sh" embedded >/dev/null 2>&1
37
+ export FAKE_VIVADO_OUT="$out" FAKE_VIVADO_TCL="$HERE/fake_vivado.tcl"
38
+ make -C "$SCRATCH/hw/xilinx" -o ips bitstream "XILINX_VIVADO_CMD=$HERE/fake_vivado.sh" "$@"
39
+ ) >> "verilator_${TAG}_build.log" 2>&1
40
+ [ -s "$out" ]
41
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
+ # Identical build and test in both phases; only $SCRATCH differs.
44
+ run_select() {
45
+ local core="$1" mask="$2" R="$SCRATCH/hw/xilinx/rtl" dir="obj_dir_$1" args=() defs=() d
46
+ [ "$core" = DEFAULT ] || args=("CORE_SELECTOR=$core" "CORE_SELECTION=$core")
47
+ flow_defines "$SCRATCH/defines_$core.txt" "${args[@]}" || { echo "FAIL: Make flow produced no defines"; return 2; }
48
+ while read -r d; do [ -n "$d" ] && defs+=("+define+$d"); done < "$SCRATCH/defines_$core.txt"
49
+ verilator -E -P --sv "${defs[@]}" "+incdir+$R" "$R/uninasoc_pkg.sv" "$R/uninasoc.sv" \
50
+ "$R/rvm_socket.sv" > "$SCRATCH/pp.sv" 2>>"verilator_${TAG}_build.log" || { echo "FAIL: preprocess $core"; return 2; }
51
+ python3 -I "$HERE/gen_stubs.py" "$SCRATCH/pp.sv" "$SCRATCH/ip_stubs.sv" || return 2
52
+ rm -rf "$dir"
53
+ verilator --binary --timing --sv -Wno-fatal -Wno-WIDTH --timescale 1ns/1ps \
54
+ "${defs[@]}" "+define+EXPECT_CORE_MASK=$mask" "+incdir+$R" \
55
+ "$HERE/uninasoc_tb_stubs_pkg.sv" "$R/uninasoc_pkg.sv" "$SCRATCH/ip_stubs.sv" \
56
+ "$R/uninasoc.sv" "$R/rvm_socket.sv" "$HERE/$TOP.sv" \
57
+ --top-module "$TOP" -Mdir "$dir" -o simv_vlt \
58
+ >> "verilator_${TAG}_build.log" 2>&1 || { grep -m5 %Error "verilator_${TAG}_build.log"; return 2; }
59
+ timeout 20 "./$dir/simv_vlt" 2>&1 | tee "verilator_${TAG}_$core.log"
60
+ [ "${PIPESTATUS[0]}" -eq 0 ] || return 1
61
+ grep -qE '(^|[^A-Za-z])PASS:' "verilator_${TAG}_$core.log" &&
62
+ ! grep -qE '(^|[^A-Za-z])(FAIL:|Aborting\.\.\.)' "verilator_${TAG}_$core.log"
63
+ }
64
 
65
+ run_phase() {
66
+ TAG="$1"
67
+ local rc=0 s
68
+ : > "verilator_${TAG}_build.log"
69
+ run_repo_native_p2p_smoke "$TAG" || return $?
70
+ for s in DEFAULT:0 CORE_PICORV32:1 CORE_CV32E40P:2; do
71
+ echo "INFO: selection ${s%%:*}"
72
+ run_select "${s%%:*}" "${s##*:}" || rc=$?
73
+ rm -rf "obj_dir_${s%%:*}"
74
+ done
75
+ return "$rc"
76
  }
77
 
78
  echo BUGGY
79
  prepare_phase buggy
80
+ run_phase buggy
81
+ rc_buggy=$?
 
 
 
 
 
 
 
 
 
 
82
 
83
  echo FIXED
84
  prepare_phase fixed
85
+ run_phase fixed
86
+ rc_fixed=$?
 
 
 
 
 
87
 
88
  echo "buggy:$rc_buggy fixed:$rc_fixed"
89
+ ([ "$rc_buggy" != "0" ] && [ "$rc_fixed" = "0" ]) &&
90
+ { hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $NAME"; exit 0; } ||
91
+ { echo "FAIL: $NAME"; exit 1; }
testbench/HiSA-Team_Simply-V_pr52/tb_simplyv_pr52_verilator.sv CHANGED
@@ -1,39 +1,34 @@
1
- module core_select_buggy #(
2
- parameter int CORE_SELECTOR = 0
3
- )(
4
- output logic [1:0] core_id
5
- );
6
- always_comb core_id = 2'd2;
7
- endmodule
8
 
9
- module core_select_fixed #(
10
- parameter int CORE_SELECTOR = 0
11
- )(
12
- output logic [1:0] core_id
13
- );
14
- always_comb begin
15
- case (CORE_SELECTOR)
16
- 0: core_id = 2'd0;
17
- 1: core_id = 2'd1;
18
- default: core_id = 2'd2;
19
- endcase
20
- end
21
- endmodule
22
 
23
- `ifdef FIXED
24
- `define DUT core_select_fixed
25
- `else
26
- `define DUT core_select_buggy
27
- `endif
28
 
29
- module tb_simplyv_pr52_verilator;
30
- logic [1:0] core_id;
31
- `DUT #(.CORE_SELECTOR(1)) dut(.core_id(core_id));
32
  initial begin
 
33
  #1;
34
- if (core_id !== 2'd1) $fatal(1, "CORE_SELECTOR must propagate through the make/config flow");
35
- $display("PASS: T_COMPLETION directed testcase sequence completed");
36
- $display("PASS: HiSA-Team_Simply-V_pr52");
 
 
 
 
 
 
37
  $finish;
38
  end
39
  endmodule
 
1
+ `timescale 1ns/1ps
 
 
 
 
 
 
2
 
3
+ // Real uninasoc + rvm_socket with stubbed IPs, compiled with the Verilog defines
4
+ // that the repo's own Make flow produced. The socket must instantiate the core
5
+ // the flow was asked for. EXPECT_CORE_MASK = 0 means the flow default: any single
6
+ // supported core is acceptable.
7
+ module tb_simplyv_pr52_verilator;
8
+ logic clk = 1'b0;
9
+ logic rst = 1'b1;
10
+ logic uart_tx;
11
+ logic [15:0] gpio_out;
12
+ always #5 clk = ~clk;
 
 
 
13
 
14
+ uninasoc dut (
15
+ .sys_clock_i(clk), .sys_reset_i(rst),
16
+ .uart_rx_i(1'b1), .uart_tx_o(uart_tx),
17
+ .gpio_in_i(16'h0), .gpio_out_o(gpio_out)
18
+ );
19
 
 
 
 
20
  initial begin
21
+ repeat (3) @(posedge clk);
22
  #1;
23
+ if ($countones(tbsig::seen) != 1) begin
24
+ $display("FAIL: selected cores mask = %b", tbsig::seen);
25
+ $fatal(1, "FAIL: exactly one core must be instantiated");
26
+ end
27
+ if (`EXPECT_CORE_MASK != 0 && tbsig::seen != 3'(`EXPECT_CORE_MASK)) begin
28
+ $display("FAIL: selected cores mask = %b, requested %b", tbsig::seen, 3'(`EXPECT_CORE_MASK));
29
+ $fatal(1, "FAIL: Make flow core selection did not reach rvm_socket");
30
+ end
31
+ $display("PASS: selected core mask %b", tbsig::seen);
32
  $finish;
33
  end
34
  endmodule
testbench/HiSA-Team_Simply-V_pr52/uninasoc_tb_stubs_pkg.sv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ // Written by the core stubs: bit 0 PicoRV32, bit 1 CV32E40P, bit 2 MicroBlaze-V.
2
+ package tbsig;
3
+ logic [2:0] seen = '0;
4
+ endpackage
testbench/HiSA-Team_Simply-V_pr52/verilator_buggy.log DELETED
@@ -1 +0,0 @@
1
- FAIL: HiSA-Team_Simply-V_pr52 buggy state does not expose CORE_SELECTOR through uninasoc_pkg
 
 
testbench/HiSA-Team_Simply-V_pr52/verilator_buggy_build.log DELETED
@@ -1,46 +0,0 @@
1
- INFO: patch target hw/xilinx/rtl/uninasoc.sv
2
- INFO: patch target hw/xilinx/rtl/uninasoc_pkg.sv
3
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:43:10: Cannot find include file: 'uninasoc_axi.svh'
4
- 43 | `include "uninasoc_axi.svh"
5
- | ^~~~~~~~~~~~~~~~~~
6
- ... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
7
- ... This may be because there's no search path specified with -I<dir>.
8
- ... Looked in:
9
- uninasoc_axi.svh
10
- uninasoc_axi.svh.v
11
- uninasoc_axi.svh.sv
12
- obj_dir/uninasoc_axi.svh
13
- obj_dir/uninasoc_axi.svh.v
14
- obj_dir/uninasoc_axi.svh.sv
15
- ... With current working directory 'testbench/HiSA-Team_Simply-V_pr52'
16
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:116:5: Define or directive not defined: '`DECLARE_AXI_BUS'
17
- 116 | `DECLARE_AXI_BUS(sys_master_to_xbar, AXI_DATA_WIDTH);
18
- | ^~~~~~~~~~~~~~~~
19
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:116:21: syntax error, unexpected '('
20
- 116 | `DECLARE_AXI_BUS(sys_master_to_xbar, AXI_DATA_WIDTH);
21
- | ^
22
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:118:5: Define or directive not defined: '`DECLARE_AXI_BUS'
23
- 118 | `DECLARE_AXI_BUS(rvm_socket_instr, AXI_DATA_WIDTH);
24
- | ^~~~~~~~~~~~~~~~
25
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:119:5: Define or directive not defined: '`DECLARE_AXI_BUS'
26
- 119 | `DECLARE_AXI_BUS(rvm_socket_data, AXI_DATA_WIDTH);
27
- | ^~~~~~~~~~~~~~~~
28
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:126:5: Define or directive not defined: '`DECLARE_AXI_BUS'
29
- 126 | `DECLARE_AXI_BUS(xbar_to_main_mem, AXI_DATA_WIDTH);
30
- | ^~~~~~~~~~~~~~~~
31
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:129:5: Define or directive not defined: '`DECLARE_AXI_BUS'
32
- 129 | `DECLARE_AXI_BUS(xbar_to_plic, AXI_DATA_WIDTH);
33
- | ^~~~~~~~~~~~~~~~
34
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:132:5: Define or directive not defined: '`DECLARE_AXI_BUS'
35
- 132 | `DECLARE_AXI_BUS(xbar_to_peripheral_bus, AXI_DATA_WIDTH);
36
- | ^~~~~~~~~~~~~~~~
37
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:143:5: Define or directive not defined: '`DECLARE_AXI_BUS_ARRAY'
38
- 143 | `DECLARE_AXI_BUS_ARRAY(xbar_masters, NUM_AXI_MASTERS);
39
- | ^~~~~~~~~~~~~~~~~~~~~~
40
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:146:5: Define or directive not defined: '`CONCAT_AXI_MASTERS_ARRAY3'
41
- 146 | `CONCAT_AXI_MASTERS_ARRAY3(xbar_masters, rvm_socket_instr, rvm_socket_data, sys_master_to_xbar);
42
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
43
- %Error: testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:149:5: Define or directive not defined: '`DECLARE_AXI_BUS_ARRAY'
44
- 149 | `DECLARE_AXI_BUS_ARRAY(xbar_slaves, NUM_AXI_SLAVES);
45
- | ^~~~~~~~~~~~~~~~~~~~~~
46
- %Error: Exiting due to 11 error(s)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr52/verilator_fixed.log DELETED
@@ -1,6 +0,0 @@
1
- PASS: T_COMPLETION directed testcase sequence completed
2
- PASS: HiSA-Team_Simply-V_pr52 CORE_SELECTOR fixed phase elaborated
3
- - testbench/HiSA-Team_Simply-V_pr52/snapshot_scratch/tb_core_selector_pkg.sv:9: 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 1ns; walltime 0.000 s; speed 34.566 us/s
6
- - Verilator: cpu 0.000 s on 1 threads; allocated 6 MB
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr52/verilator_fixed_build.log DELETED
@@ -1,14 +0,0 @@
1
- INFO: patch target hw/xilinx/rtl/uninasoc.sv
2
- INFO: patch target hw/xilinx/rtl/uninasoc_pkg.sv
3
- make: Entering directory 'testbench/HiSA-Team_Simply-V_pr52/obj_dir'
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.o /opt/oss-cad-suite/share/verilator/include/verilated.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=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
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 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 Vtb_core_selector_pkg.cpp Vtb_core_selector_pkg___024root__0.cpp Vtb_core_selector_pkg__main.cpp Vtb_core_selector_pkg___024root__Slow.cpp Vtb_core_selector_pkg___024root__0__Slow.cpp Vtb_core_selector_pkg__Syms__Slow.cpp > Vtb_core_selector_pkg__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=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_core_selector_pkg__ALL.o Vtb_core_selector_pkg__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 verilated.o verilated_timing.o verilated_threads.o Vtb_core_selector_pkg__ALL.a -pthread -lpthread -latomic -o simv_vlt
10
- rm Vtb_core_selector_pkg__ALL.verilator_deplist.tmp
11
- make: Leaving directory 'testbench/HiSA-Team_Simply-V_pr52/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 6 C++ files needing 0.000 MB
14
- - Verilator: Walltime 5.852 s (elab=0.000, cvt=0.002, bld=5.847); cpu 0.004 s on 1 threads; allocated 20.336 MB
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr68/gen_stubs.py ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Emit port-compatible stubs for the Xilinx IPs and submodule cores that a
3
+ preprocessed UninaSoC source instantiates. Usage: gen_stubs.py <pp.sv> <out.sv>
4
+ Port lists come from the candidate tree, so they track any change it makes.
5
+ Everything is an unconnected input except the observation points in SPECIAL."""
6
+ import re, sys
7
+
8
+ STUB = ['xlnx_vio', 'xlnx_main_crossbar', 'sys_master', 'xlnx_blk_mem_gen',
9
+ 'custom_rv_plic', 'peripheral_bus', 'custom_picorv32', 'custom_cv32e40p',
10
+ 'xlnx_microblaze_riscv', 'xlnx_microblaze_debug_module_v',
11
+ 'xlnx_axilite_to_axi4_converter', 'custom_axi_from_mem',
12
+ 'custom_riscv_dbg_bscane']
13
+
14
+ # module -> {port: declaration}, body
15
+ SPECIAL = {
16
+ 'custom_rv_plic': ({'irq_o': 'output logic', 'intr_src_i': 'input logic [31:0]'},
17
+ 'assign irq_o = tbsig::plic_irq;\n'
18
+ ' always_comb tbsig::plic_src = intr_src_i;'),
19
+ 'peripheral_bus': ({'int_o': 'output logic [31:0]'},
20
+ 'assign int_o = tbsig::pbus_int;'),
21
+ 'custom_cv32e40p': ({'irq_i': 'input logic [31:0]'},
22
+ 'always_comb tbsig::core_irq = irq_i;'),
23
+ 'custom_picorv32': ({'irq_i': 'input logic [31:0]'},
24
+ 'always_comb tbsig::core_irq = irq_i;'),
25
+ 'xlnx_microblaze_riscv': ({'Interrupt': 'input logic'},
26
+ 'always_comb tbsig::core_irq = 32\'(Interrupt) << 11;'),
27
+ }
28
+
29
+
30
+ def balanced(s, i):
31
+ d = 0
32
+ for j in range(i, len(s)):
33
+ d += (s[j] == '(') - (s[j] == ')')
34
+ if d == 0:
35
+ return j
36
+ raise SystemExit('unbalanced parentheses')
37
+
38
+
39
+ def main():
40
+ src = open(sys.argv[1]).read()
41
+ out = []
42
+ for mod in STUB:
43
+ ports, params = [], []
44
+ for m in re.finditer(r'^\s*%s\b' % mod, src, re.M):
45
+ i = m.end()
46
+ hdr = re.match(r'\s*#\s*(?=\()', src[i:])
47
+ if hdr:
48
+ i += hdr.end()
49
+ e = balanced(src, i)
50
+ params += [p for p in re.findall(r'\.(\w+)\s*\(', src[i:e]) if p not in params]
51
+ i = e + 1
52
+ inst = re.match(r'\s*\w+\s*(?=\()', src[i:])
53
+ if not inst:
54
+ continue
55
+ i += inst.end()
56
+ e = balanced(src, i)
57
+ depth, tops = 0, []
58
+ for n in re.finditer(r'[()]|\.(\w+)\s*(?=\()', src[i:e + 1]):
59
+ if n.group(0) == '(':
60
+ depth += 1
61
+ elif n.group(0) == ')':
62
+ depth -= 1
63
+ elif depth == 1:
64
+ tops.append(n.group(1))
65
+ ports += [p for p in tops if p not in ports]
66
+ if not ports:
67
+ continue
68
+ special, body = SPECIAL.get(mod, ({}, ''))
69
+ decl = [' %s %s' % (special.get(p, 'input logic [1023:0]'), p) for p in ports]
70
+ ph = ' #(' + ', '.join('parameter %s = 0' % p for p in params) + ')' if params else ''
71
+ out.append('module %s%s (\n%s\n);\n %s\nendmodule\n' % (mod, ph, ',\n'.join(decl), body))
72
+ open(sys.argv[2], 'w').write('\n'.join(out))
73
+
74
+
75
+ main()
testbench/HiSA-Team_Simply-V_pr68/open_tool_p2p_buggy.log DELETED
@@ -1,3 +0,0 @@
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_pr68/open_tool_p2p_fixed.log DELETED
@@ -1,3 +0,0 @@
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_pr68/repo_native_buggy.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native P2P smoke not applicable in buggy phase: no multi-file open-tool check passed
 
 
testbench/HiSA-Team_Simply-V_pr68/repo_native_fixed.log DELETED
@@ -1 +0,0 @@
1
- PASS: repo native P2P smoke not applicable in fixed phase: no multi-file open-tool check passed
 
 
testbench/HiSA-Team_Simply-V_pr68/run_verilator.sh CHANGED
@@ -1,6 +1,5 @@
1
  #!/bin/bash
2
  set -u
3
-
4
  HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
5
  cd "$HERE"
6
  . "$HERE/../_testcase_minimum.sh"
@@ -11,16 +10,20 @@ REPO_ROOT="$(cd "$HERE/../.." && pwd)"
11
  SNAPSHOT="$REPO_ROOT/snapshots/$NAME"
12
  PATCH_FILE="$REPO_ROOT/patches/$NAME.patch"
13
  SCRATCH="$HERE/snapshot_scratch"
14
-
15
- PATCH_TARGETS=(
16
- hw/xilinx/rtl/peripheral_bus.sv
17
- hw/xilinx/rtl/rvm_socket.sv
18
- hw/xilinx/rtl/uninasoc.sv
19
- hw/xilinx/rtl/uninasoc_pkg.sv
20
- )
21
 
22
  trap 'rm -rf "$SCRATCH" obj_dir' EXIT
23
 
 
 
 
 
 
 
 
 
 
 
24
  prepare_phase() {
25
  local tag="$1"
26
  rm -rf "$SCRATCH"
@@ -31,124 +34,53 @@ prepare_phase() {
31
  else
32
  (cd "$SCRATCH" && patch -p1 -R -f --no-backup-if-mismatch < "$PATCH_FILE" >/dev/null 2>&1) || true
33
  fi
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  }
35
 
36
  run_phase() {
37
- local tag="$1"
38
- rm -rf obj_dir "verilator_${tag}_build.log" "verilator_${tag}.log"
39
  run_repo_native_p2p_smoke "$tag" || return $?
40
- {
41
- printf 'INFO: patch target %s\n' "${PATCH_TARGETS[@]}"
42
- cat > "$SCRATCH/tb_interrupt_pkg.sv" <<'SV'
43
- `define NUM_SI 3
44
- `define NUM_MI 4
45
- `define PBUS_NUM_MI 4
46
- `define CORE_SELECTOR CORE_CV32E40P
47
- module tb_interrupt_pkg;
48
- import uninasoc_pkg::*;
49
- logic [31:0] rvm_socket_interrupt_line;
50
- logic [31:0] plic_int_line;
51
- logic [3:0] pbus_int_line;
52
- logic plic_int_irq_o;
53
- initial begin
54
- pbus_int_line = 4'b1010;
55
- plic_int_irq_o = 1'b1;
56
- plic_int_line = '0;
57
- rvm_socket_interrupt_line = '0;
58
- plic_int_line[PLIC_GPIOIN_INTERRUPT] = pbus_int_line[PBUS_GPIOIN_INTERRUPT];
59
- plic_int_line[PLIC_TIM0_INTERRUPT] = pbus_int_line[PBUS_TIM0_INTERRUPT];
60
- plic_int_line[PLIC_TIM1_INTERRUPT] = pbus_int_line[PBUS_TIM1_INTERRUPT];
61
- plic_int_line[PLIC_UART_INTERRUPT] = pbus_int_line[PBUS_UART_INTERRUPT];
62
- rvm_socket_interrupt_line[CORE_EXT_INTERRUPT] = plic_int_irq_o;
63
- #1;
64
- if (CORE_EXT_INTERRUPT != 11 || rvm_socket_interrupt_line[11] !== 1'b1) begin
65
- $fatal(1, "FAIL: PLIC IRQ must map to core external interrupt bit 11");
66
- end
67
- if (plic_int_line[PLIC_UART_INTERRUPT] !== pbus_int_line[PBUS_UART_INTERRUPT]) begin
68
- $fatal(1, "FAIL: PBUS UART interrupt must map through package constants");
69
- end
70
- $display("PASS: T_COMPLETION directed testcase sequence completed");
71
- $display("PASS: HiSA-Team_Simply-V_pr68 interrupt constants elaborate from uninasoc_pkg");
72
- $finish;
73
- end
74
- endmodule
75
- SV
76
- } >"verilator_${tag}_build.log"
77
-
78
- if [ "$tag" = buggy ]; then
79
- verilator --lint-only --timing --sv \
80
- --Wno-fatal --Wno-WIDTH --Wno-UNUSEDSIGNAL --Wno-DECLFILENAME \
81
- --timescale 1ns/1ps \
82
- "$SCRATCH/hw/xilinx/rtl/peripheral_bus.sv" \
83
- "$SCRATCH/hw/xilinx/rtl/rvm_socket.sv" \
84
- "$SCRATCH/hw/xilinx/rtl/uninasoc.sv" \
85
- "$SCRATCH/hw/xilinx/rtl/uninasoc_pkg.sv" \
86
- 2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null || true
87
- echo "FAIL: $NAME buggy state does not expose interrupt mapping constants" >"verilator_${tag}.log"
88
- return 1
89
- fi
90
-
91
- cat > "$SCRATCH/tb_interrupt_pkg.sv" <<'SV'
92
- module tb_interrupt_pkg;
93
- logic [31:0] rvm_socket_interrupt_line;
94
- logic plic_int_irq_o;
95
- initial begin
96
- plic_int_irq_o = 1'b1;
97
- rvm_socket_interrupt_line = '0;
98
- rvm_socket_interrupt_line[11] = plic_int_irq_o;
99
- #1;
100
- if (rvm_socket_interrupt_line[11] !== 1'b1) begin
101
- $fatal(1, "FAIL: PLIC IRQ must map to external interrupt bit 11");
102
- end
103
- $display("PASS: T_COMPLETION directed testcase sequence completed");
104
- $display("PASS: HiSA-Team_Simply-V_pr68 interrupt fixed phase elaborated");
105
- $finish;
106
- end
107
- endmodule
108
- SV
109
-
110
- verilator --binary --timing --sv \
111
- --Wno-fatal --Wno-WIDTH --Wno-UNUSEDSIGNAL --Wno-DECLFILENAME \
112
- --timescale 1ns/1ps \
113
- "$SCRATCH/tb_interrupt_pkg.sv" \
114
- --top-module tb_interrupt_pkg \
115
- -Mdir obj_dir -o simv_vlt 2>&1 | tee -a "verilator_${tag}_build.log" >/dev/null
116
- local rc=${PIPESTATUS[0]}
117
- [ "$rc" -eq 0 ] || return "$rc"
118
-
119
- timeout 20 ./obj_dir/simv_vlt 2>&1 | tee "verilator_${tag}.log" >/dev/null
120
- rc=${PIPESTATUS[0]}
121
- [ "$rc" -eq 0 ] || return "$rc"
122
- grep -qE '(^|[^A-Za-z])PASS:' "verilator_${tag}.log" \
123
- && ! grep -qE '(^|[^A-Za-z])(FAIL:|\$fatal|Aborting\.\.\.)' "verilator_${tag}.log"
124
  }
125
 
126
  echo BUGGY
127
  prepare_phase buggy
128
- prep_buggy=$?
129
- if [ "$prep_buggy" = "0" ]; then
130
- run_phase buggy
131
- rc_buggy=$?
132
- else
133
- rc_buggy=$prep_buggy
134
- fi
135
- if [ "$rc_buggy" != "0" ]; then
136
- touch verilator_buggy.log
137
- grep -qE '^\s*(\[FAIL\]|FAIL)\b' verilator_buggy.log \
138
- || echo "FAIL: $NAME buggy state rejected by real Verilator package elaboration" >> verilator_buggy.log
139
- fi
140
 
141
  echo FIXED
142
  prepare_phase fixed
143
- prep_fixed=$?
144
- if [ "$prep_fixed" = "0" ]; then
145
- run_phase fixed
146
- rc_fixed=$?
147
- else
148
- rc_fixed=$prep_fixed
149
- fi
150
 
151
  echo "buggy:$rc_buggy fixed:$rc_fixed"
152
- ([ "$rc_buggy" != "0" ]) && [ "$rc_fixed" = "0" ] \
153
- && { hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $NAME"; exit 0; } \
154
- || { echo "FAIL: $NAME"; exit 1; }
 
1
  #!/bin/bash
2
  set -u
 
3
  HERE="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
4
  cd "$HERE"
5
  . "$HERE/../_testcase_minimum.sh"
 
10
  SNAPSHOT="$REPO_ROOT/snapshots/$NAME"
11
  PATCH_FILE="$REPO_ROOT/patches/$NAME.patch"
12
  SCRATCH="$HERE/snapshot_scratch"
13
+ TOP=tb_hisa_simplyv_pr68_verilator
 
 
 
 
 
 
14
 
15
  trap 'rm -rf "$SCRATCH" obj_dir' EXIT
16
 
17
+ # eval_case.sh and run_case_protocol.sh reverse-apply the gold patch to a snapshot
18
+ # that is already pre-fix. One hunk then duplicates the *_INT_PIN localparams in
19
+ # rvm_socket.sv, which cannot elaborate. Drop the duplicates so that verdicts come
20
+ # from behaviour. Keyed on the tree contents only, so it is phase independent.
21
+ repair_base() {
22
+ awk '/^ *localparam [A-Z_]+_INT_PIN *=/ { if (seen[$2]++) next } { print }' \
23
+ "$SCRATCH/hw/xilinx/rtl/rvm_socket.sv" > "$SCRATCH/rvm_socket.tmp" &&
24
+ mv "$SCRATCH/rvm_socket.tmp" "$SCRATCH/hw/xilinx/rtl/rvm_socket.sv"
25
+ }
26
+
27
  prepare_phase() {
28
  local tag="$1"
29
  rm -rf "$SCRATCH"
 
34
  else
35
  (cd "$SCRATCH" && patch -p1 -R -f --no-backup-if-mismatch < "$PATCH_FILE" >/dev/null 2>&1) || true
36
  fi
37
+ repair_base
38
+ }
39
+
40
+ # Identical build and test in both phases; only $SCRATCH differs.
41
+ run_core() {
42
+ local tag="$1" core="$2" R="$SCRATCH/hw/xilinx/rtl" dir="obj_dir_$2"
43
+ local defs=(+define+EMBEDDED=1 +define+AXI_DATA_WIDTH=32 +define+AXI_ADDR_WIDTH=32
44
+ +define+AXI_ID_WIDTH=2 +define+NUM_SI=4 +define+NUM_MI=4 +define+PBUS_NUM_MI=5
45
+ "+define+CORE_SELECTOR=$core")
46
+ verilator -E -P --sv "${defs[@]}" "+incdir+$R" "$R/uninasoc_pkg.sv" "$R/uninasoc.sv" \
47
+ "$R/rvm_socket.sv" > "$SCRATCH/pp.sv" 2>>"verilator_${tag}_build.log" || return 2
48
+ python3 -I "$HERE/gen_stubs.py" "$SCRATCH/pp.sv" "$SCRATCH/ip_stubs.sv" || return 2
49
+ rm -rf "$dir"
50
+ verilator --binary --timing --sv -Wno-fatal -Wno-WIDTH --timescale 1ns/1ps \
51
+ "${defs[@]}" "+incdir+$R" \
52
+ "$HERE/uninasoc_tb_stubs_pkg.sv" "$R/uninasoc_pkg.sv" "$SCRATCH/ip_stubs.sv" \
53
+ "$R/uninasoc.sv" "$R/rvm_socket.sv" "$HERE/$TOP.sv" \
54
+ --top-module "$TOP" -Mdir "$dir" -o simv_vlt \
55
+ >> "verilator_${tag}_build.log" 2>&1 || { grep -m5 %Error "verilator_${tag}_build.log"; return 2; }
56
+ timeout 20 "./$dir/simv_vlt" 2>&1 | tee "verilator_${tag}_$core.log"
57
+ [ "${PIPESTATUS[0]}" -eq 0 ] || return 1
58
+ grep -qE '(^|[^A-Za-z])PASS:' "verilator_${tag}_$core.log" &&
59
+ ! grep -qE '(^|[^A-Za-z])(FAIL:|Aborting\.\.\.)' "verilator_${tag}_$core.log"
60
  }
61
 
62
  run_phase() {
63
+ local tag="$1" core rc=0
64
+ : > "verilator_${tag}_build.log"
65
  run_repo_native_p2p_smoke "$tag" || return $?
66
+ for core in CORE_CV32E40P CORE_MICROBLAZEV; do
67
+ run_core "$tag" "$core" || rc=$?
68
+ rm -rf "obj_dir_$core"
69
+ done
70
+ return "$rc"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  }
72
 
73
  echo BUGGY
74
  prepare_phase buggy
75
+ run_phase buggy
76
+ rc_buggy=$?
 
 
 
 
 
 
 
 
 
 
77
 
78
  echo FIXED
79
  prepare_phase fixed
80
+ run_phase fixed
81
+ rc_fixed=$?
 
 
 
 
 
82
 
83
  echo "buggy:$rc_buggy fixed:$rc_fixed"
84
+ ([ "$rc_buggy" != "0" ] && [ "$rc_fixed" = "0" ]) &&
85
+ { hwe_report_min_testcases; hwe_report_real_verilator_coverage; echo "PASS: $NAME"; exit 0; } ||
86
+ { echo "FAIL: $NAME"; exit 1; }
testbench/HiSA-Team_Simply-V_pr68/tb_hisa_simplyv_pr68_verilator.sv CHANGED
@@ -1,25 +1,54 @@
1
- module uninasoc_irq_map_buggy(
2
- input logic plic_int_irq_o,
3
- output logic [31:0] rvm_socket_interrupt_line
4
- );
5
- assign rvm_socket_interrupt_line = {21'h0, plic_int_irq_o, 10'h0};
6
- endmodule
7
 
 
 
 
8
  module tb_hisa_simplyv_pr68_verilator;
9
- logic plic_int_irq_o;
10
- logic [31:0] rvm_socket_interrupt_line;
 
 
 
11
 
12
- uninasoc_irq_map_buggy dut(
13
- .plic_int_irq_o(plic_int_irq_o),
14
- .rvm_socket_interrupt_line(rvm_socket_interrupt_line)
 
15
  );
16
 
 
 
 
 
 
 
 
 
 
17
  initial begin
18
- plic_int_irq_o = 1'b1;
19
- #1;
20
- if (rvm_socket_interrupt_line[11] !== 1'b1) $fatal(1, "PLIC IRQ must map to EXT interrupt bit 11");
21
- $display("PASS: T_COMPLETION directed testcase sequence completed");
22
- $display("PASS: hisa simply-v pr68");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  $finish;
24
  end
25
  endmodule
 
1
+ `timescale 1ns/1ps
 
 
 
 
 
2
 
3
+ // Real uninasoc + rvm_socket with stubbed IPs. A PLIC irq_o must reach the
4
+ // selected core as the machine external interrupt (mcause 11), and PBUS
5
+ // interrupts must reach the PLIC sources 1..4.
6
  module tb_hisa_simplyv_pr68_verilator;
7
+ logic clk = 1'b0;
8
+ logic rst = 1'b1;
9
+ logic uart_tx;
10
+ logic [15:0] gpio_out;
11
+ always #5 clk = ~clk;
12
 
13
+ uninasoc dut (
14
+ .sys_clock_i(clk), .sys_reset_i(rst),
15
+ .uart_rx_i(1'b1), .uart_tx_o(uart_tx),
16
+ .gpio_in_i(16'h0), .gpio_out_o(gpio_out)
17
  );
18
 
19
+ int errors = 0;
20
+ task automatic settle(); repeat (4) @(posedge clk); #1; endtask
21
+ task automatic check(input string what, input logic [31:0] got, want);
22
+ if (got !== want) begin
23
+ $display("FAIL: %s = 0x%08h, expected 0x%08h", what, got, want);
24
+ errors++;
25
+ end
26
+ endtask
27
+
28
  initial begin
29
+ settle();
30
+ rst = 1'b0;
31
+ settle();
32
+ tbsig::plic_irq = 1'b0; tbsig::pbus_int = '0;
33
+ settle();
34
+ check("core irq, PLIC idle", tbsig::core_irq, 32'h0);
35
+ check("PLIC sources, PBUS idle", tbsig::plic_src, 32'h0);
36
+
37
+ tbsig::plic_irq = 1'b1;
38
+ settle();
39
+ check("core irq, PLIC asserted", tbsig::core_irq, 32'h1 << 11);
40
+
41
+ tbsig::plic_irq = 1'b0;
42
+ settle();
43
+ check("core irq, PLIC released", tbsig::core_irq, 32'h0);
44
+
45
+ for (int i = 0; i < 4; i++) begin
46
+ tbsig::pbus_int = 32'h1 << i;
47
+ settle();
48
+ check("PLIC sources for one PBUS line", tbsig::plic_src, 32'h2 << i);
49
+ end
50
+ if (errors != 0) $fatal(1, "FAIL: interrupt routing incorrect");
51
+ $display("PASS: interrupt routing correct");
52
  $finish;
53
  end
54
  endmodule
testbench/HiSA-Team_Simply-V_pr68/uninasoc_tb_stubs_pkg.sv ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ // Observation points shared by the generated stubs and the testbench.
2
+ package tbsig;
3
+ logic plic_irq = 1'b0; // driven by the testbench, PLIC irq_o
4
+ logic [31:0] plic_src; // what uninasoc feeds to PLIC intr_src_i
5
+ logic [31:0] pbus_int = '0; // driven by the testbench, PBUS int_o
6
+ logic [31:0] core_irq; // interrupt vector reaching the selected core
7
+ endpackage
testbench/HiSA-Team_Simply-V_pr68/verilator_buggy.log DELETED
@@ -1 +0,0 @@
1
- FAIL: HiSA-Team_Simply-V_pr68 buggy state does not expose interrupt mapping constants
 
 
testbench/HiSA-Team_Simply-V_pr68/verilator_buggy_build.log DELETED
@@ -1,165 +0,0 @@
1
- INFO: patch target hw/xilinx/rtl/peripheral_bus.sv
2
- INFO: patch target hw/xilinx/rtl/rvm_socket.sv
3
- INFO: patch target hw/xilinx/rtl/uninasoc.sv
4
- INFO: patch target hw/xilinx/rtl/uninasoc_pkg.sv
5
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:35:10: Cannot find include file: 'uninasoc_axi.svh'
6
- 35 | `include "uninasoc_axi.svh"
7
- | ^~~~~~~~~~~~~~~~~~
8
- ... See the manual at https://verilator.org/verilator_doc.html?v=5.047 for more assistance.
9
- ... This may be because there's no search path specified with -I<dir>.
10
- ... Looked in:
11
- uninasoc_axi.svh
12
- uninasoc_axi.svh.v
13
- uninasoc_axi.svh.sv
14
- obj_dir/uninasoc_axi.svh
15
- obj_dir/uninasoc_axi.svh.v
16
- obj_dir/uninasoc_axi.svh.sv
17
- ... With current working directory 'testbench/HiSA-Team_Simply-V_pr68'
18
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:44:5: Define or directive not defined: '`DEFINE_AXI_SLAVE_PORTS'
19
- 44 | `DEFINE_AXI_SLAVE_PORTS(s),
20
- | ^~~~~~~~~~~~~~~~~~~~~~~
21
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:44:28: syntax error, unexpected '(', expecting '['
22
- 44 | `DEFINE_AXI_SLAVE_PORTS(s),
23
- | ^
24
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:49:5: syntax error, unexpected output
25
- 49 | output logic uart_tx_o,
26
- | ^~~~~~
27
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:52:5: syntax error, unexpected input
28
- 52 | input logic [NUM_GPIO_IN -1 : 0] gpio_in_i,
29
- | ^~~~~
30
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:53:5: syntax error, unexpected output
31
- 53 | output logic [NUM_GPIO_OUT -1 : 0] gpio_out_o,
32
- | ^~~~~~
33
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:56:5: syntax error, unexpected output
34
- 56 | output logic [NUM_IRQ - 1 : 0] int_o
35
- | ^~~~~~
36
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:58:1: syntax error, unexpected ')', expecting ',' or ';'
37
- 58 | );
38
- | ^
39
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:65:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
40
- 65 | `DECLARE_AXILITE_BUS(prot_conv_to_xbar);
41
- | ^~~~~~~~~~~~~~~~~~~~
42
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:68:5: Define or directive not defined: '`DECLARE_AXILITE_BUS_ARRAY'
43
- 68 | `DECLARE_AXILITE_BUS_ARRAY(xbar_slaves, PBUS_NUM_MI);
44
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
45
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:71:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
46
- 71 | `DECLARE_AXILITE_BUS(xbar_to_uart);
47
- | ^~~~~~~~~~~~~~~~~~~~
48
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:74:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
49
- 74 | `DECLARE_AXILITE_BUS(xbar_to_tim0);
50
- | ^~~~~~~~~~~~~~~~~~~~
51
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:77:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
52
- 77 | `DECLARE_AXILITE_BUS(xbar_to_tim1);
53
- | ^~~~~~~~~~~~~~~~~~~~
54
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:81:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
55
- 81 | `DECLARE_AXILITE_BUS(xbar_to_gpio_in);
56
- | ^~~~~~~~~~~~~~~~~~~~
57
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:82:5: Define or directive not defined: '`DECLARE_AXILITE_BUS'
58
- 82 | `DECLARE_AXILITE_BUS(xbar_to_gpio_out);
59
- | ^~~~~~~~~~~~~~~~~~~~
60
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/peripheral_bus.sv:100:5: syntax error, unexpected assign
61
- 100 | assign int_o = {uart_int, tim1_int, tim0_int, gpio_in_int};
62
- | ^~~~~~
63
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:10:10: Cannot find include file: 'uninasoc_axi.svh'
64
- 10 | `include "uninasoc_axi.svh"
65
- | ^~~~~~~~~~~~~~~~~~
66
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:11:10: Cannot find include file: 'uninasoc_mem.svh'
67
- 11 | `include "uninasoc_mem.svh"
68
- | ^~~~~~~~~~~~~~~~~~
69
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:26:5: Define or directive not defined: '`DEFINE_AXI_MASTER_PORTS'
70
- 26 | `DEFINE_AXI_MASTER_PORTS(rvm_socket_instr),
71
- | ^~~~~~~~~~~~~~~~~~~~~~~~
72
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:26:29: syntax error, unexpected '(', expecting '['
73
- 26 | `DEFINE_AXI_MASTER_PORTS(rvm_socket_instr),
74
- | ^
75
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:27:5: Define or directive not defined: '`DEFINE_AXI_MASTER_PORTS'
76
- 27 | `DEFINE_AXI_MASTER_PORTS(rvm_socket_data),
77
- | ^~~~~~~~~~~~~~~~~~~~~~~~
78
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:30:5: Define or directive not defined: '`DEFINE_AXI_MASTER_PORTS'
79
- 30 | `DEFINE_AXI_MASTER_PORTS(dbg_master),
80
- | ^~~~~~~~~~~~~~~~~~~~~~~~
81
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:31:5: Define or directive not defined: '`DEFINE_AXI_SLAVE_PORTS'
82
- 31 | `DEFINE_AXI_SLAVE_PORTS(dbg_slave)
83
- | ^~~~~~~~~~~~~~~~~~~~~~~
84
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:68:5: syntax error, unexpected assign
85
- 68 | assign core_resetn_internal = rst_ni & core_resetn_i;
86
- | ^~~~~~
87
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:71:5: Define or directive not defined: '`DECLARE_AXI_BUS'
88
- 71 | `DECLARE_AXI_BUS(core_instr_to_socket_instr, DATA_WIDTH);
89
- | ^~~~~~~~~~~~~~~~
90
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:72:5: Define or directive not defined: '`DECLARE_AXI_BUS'
91
- 72 | `DECLARE_AXI_BUS(core_data_to_socket_data, DATA_WIDTH);
92
- | ^~~~~~~~~~~~~~~~
93
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:75:5: Define or directive not defined: '`DECLARE_MEM_BUS'
94
- 75 | `DECLARE_MEM_BUS(core_instr, DATA_WIDTH);
95
- | ^~~~~~~~~~~~~~~~
96
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:76:5: Define or directive not defined: '`DECLARE_MEM_BUS'
97
- 76 | `DECLARE_MEM_BUS(core_data, DATA_WIDTH);
98
- | ^~~~~~~~~~~~~~~~
99
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:89:5: syntax error, unexpected generate
100
- 89 | generate
101
- | ^~~~~~~~
102
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:239:13: Define or directive not defined: '`DECLARE_AXI_BUS'
103
- 239 | `DECLARE_AXI_BUS(microblaze_data,DATA_WIDTH);
104
- | ^~~~~~~~~~~~~~~~
105
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:239:29: syntax error, unexpected '('
106
- 239 | `DECLARE_AXI_BUS(microblaze_data,DATA_WIDTH);
107
- | ^
108
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:240:13: Define or directive not defined: '`DECLARE_AXILITE_BUS'
109
- 240 | `DECLARE_AXILITE_BUS(microblaze_instr);
110
- | ^~~~~~~~~~~~~~~~~~~~
111
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:243:13: Define or directive not defined: '`DECLARE_AXI_BUS'
112
- 243 | `DECLARE_AXI_BUS(converter_instr,DATA_WIDTH);
113
- | ^~~~~~~~~~~~~~~~
114
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:341:13: Define or directive not defined: '`ASSIGN_AXI_BUS'
115
- 341 | `ASSIGN_AXI_BUS( rvm_socket_data , microblaze_data );
116
- | ^~~~~~~~~~~~~~~
117
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:342:13: Define or directive not defined: '`ASSIGN_AXI_BUS'
118
- 342 | `ASSIGN_AXI_BUS( rvm_socket_instr , converter_instr);
119
- | ^~~~~~~~~~~~~~~
120
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:452:9: Define or directive not defined: '`ASSIGN_AXI_BUS'
121
- 452 | `ASSIGN_AXI_BUS( rvm_socket_instr, core_instr_to_socket_instr );
122
- | ^~~~~~~~~~~~~~~
123
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:453:9: Define or directive not defined: '`ASSIGN_AXI_BUS'
124
- 453 | `ASSIGN_AXI_BUS( rvm_socket_data, core_data_to_socket_data );
125
- | ^~~~~~~~~~~~~~~
126
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:679:9: Define or directive not defined: '`SINK_AXI_MASTER_INTERFACE'
127
- 679 | `SINK_AXI_MASTER_INTERFACE(dbg_master);
128
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
129
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/rvm_socket.sv:680:9: Define or directive not defined: '`SINK_AXI_SLAVE_INTERFACE'
130
- 680 | `SINK_AXI_SLAVE_INTERFACE(dbg_slave);
131
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
132
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:43:10: Cannot find include file: 'uninasoc_axi.svh'
133
- 43 | `include "uninasoc_axi.svh"
134
- | ^~~~~~~~~~~~~~~~~~
135
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:117:5: Define or directive not defined: '`DECLARE_AXI_BUS'
136
- 117 | `DECLARE_AXI_BUS(sys_master_to_xbar, AXI_DATA_WIDTH);
137
- | ^~~~~~~~~~~~~~~~
138
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:117:21: syntax error, unexpected '('
139
- 117 | `DECLARE_AXI_BUS(sys_master_to_xbar, AXI_DATA_WIDTH);
140
- | ^
141
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:119:5: Define or directive not defined: '`DECLARE_AXI_BUS'
142
- 119 | `DECLARE_AXI_BUS(rvm_socket_instr , AXI_DATA_WIDTH);
143
- | ^~~~~~~~~~~~~~~~
144
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:120:5: Define or directive not defined: '`DECLARE_AXI_BUS'
145
- 120 | `DECLARE_AXI_BUS(rvm_socket_data , AXI_DATA_WIDTH);
146
- | ^~~~~~~~~~~~~~~~
147
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:121:5: Define or directive not defined: '`DECLARE_AXI_BUS'
148
- 121 | `DECLARE_AXI_BUS(dbg_master , AXI_DATA_WIDTH);
149
- | ^~~~~~~~~~~~~~~~
150
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:123:5: Define or directive not defined: '`DECLARE_AXI_BUS'
151
- 123 | `DECLARE_AXI_BUS(dbg_slave , AXI_DATA_WIDTH);
152
- | ^~~~~~~~~~~~~~~~
153
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:130:5: Define or directive not defined: '`DECLARE_AXI_BUS'
154
- 130 | `DECLARE_AXI_BUS(xbar_to_main_mem, AXI_DATA_WIDTH);
155
- | ^~~~~~~~~~~~~~~~
156
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:133:5: Define or directive not defined: '`DECLARE_AXI_BUS'
157
- 133 | `DECLARE_AXI_BUS(xbar_to_plic, AXI_DATA_WIDTH);
158
- | ^~~~~~~~~~~~~~~~
159
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:136:5: Define or directive not defined: '`DECLARE_AXI_BUS'
160
- 136 | `DECLARE_AXI_BUS(xbar_to_peripheral_bus, AXI_DATA_WIDTH);
161
- | ^~~~~~~~~~~~~~~~
162
- %Error: testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/hw/xilinx/rtl/uninasoc.sv:147:5: Define or directive not defined: '`DECLARE_AXI_BUS_ARRAY'
163
- 147 | `DECLARE_AXI_BUS_ARRAY(xbar_masters, NUM_SI);
164
- | ^~~~~~~~~~~~~~~~~~~~~~
165
- %Error: Exiting due to too many errors encountered; --error-limit=50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr68/verilator_fixed.log DELETED
@@ -1,6 +0,0 @@
1
- PASS: T_COMPLETION directed testcase sequence completed
2
- PASS: HiSA-Team_Simply-V_pr68 interrupt fixed phase elaborated
3
- - testbench/HiSA-Team_Simply-V_pr68/snapshot_scratch/tb_interrupt_pkg.sv:14: 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 1ns; walltime 0.000 s; speed 34.014 us/s
6
- - Verilator: cpu 0.000 s on 1 threads; allocated 6 MB
 
 
 
 
 
 
 
testbench/HiSA-Team_Simply-V_pr68/verilator_fixed_build.log DELETED
@@ -1,16 +0,0 @@
1
- INFO: patch target hw/xilinx/rtl/peripheral_bus.sv
2
- INFO: patch target hw/xilinx/rtl/rvm_socket.sv
3
- INFO: patch target hw/xilinx/rtl/uninasoc.sv
4
- INFO: patch target hw/xilinx/rtl/uninasoc_pkg.sv
5
- make: Entering directory 'testbench/HiSA-Team_Simply-V_pr68/obj_dir'
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 verilated.o /opt/oss-cad-suite/share/verilator/include/verilated.cpp
7
- 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
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=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
9
- python3 /opt/oss-cad-suite/share/verilator/bin/verilator_includer -DVL_INCLUDE_OPT=include Vtb_interrupt_pkg.cpp Vtb_interrupt_pkg___024root__0.cpp Vtb_interrupt_pkg__main.cpp Vtb_interrupt_pkg___024root__Slow.cpp Vtb_interrupt_pkg___024root__0__Slow.cpp Vtb_interrupt_pkg__Syms__Slow.cpp > Vtb_interrupt_pkg__ALL.cpp
10
- 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_interrupt_pkg__ALL.o Vtb_interrupt_pkg__ALL.cpp
11
- 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_interrupt_pkg__ALL.a -pthread -lpthread -latomic -o simv_vlt
12
- rm Vtb_interrupt_pkg__ALL.verilator_deplist.tmp
13
- make: Leaving directory 'testbench/HiSA-Team_Simply-V_pr68/obj_dir'
14
- - 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)
15
- - Verilator: Built from 0.032 MB sources in 2 modules, into 0.025 MB in 6 C++ files needing 0.000 MB
16
- - Verilator: Walltime 5.829 s (elab=0.000, cvt=0.002, bld=5.824); cpu 0.005 s on 1 threads; allocated 20.332 MB
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/MiSTer-devel_Gameboy_MiSTer_pr24/coverage.dat DELETED
@@ -1,102 +0,0 @@
1
- # SystemC::Coverage-3
2
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[0]hTOP.tb_gameboy_pr24_verilator.dut' 2
3
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[1]hTOP.tb_gameboy_pr24_verilator.dut' 1
4
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[2]hTOP.tb_gameboy_pr24_verilator.dut' 0
5
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[3]hTOP.tb_gameboy_pr24_verilator.dut' 0
6
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[4]hTOP.tb_gameboy_pr24_verilator.dut' 0
7
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[5]hTOP.tb_gameboy_pr24_verilator.dut' 0
8
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[6]hTOP.tb_gameboy_pr24_verilator.dut' 0
9
- C 'ftb_gameboy_pr24_verilator.svl10n15pagev_toggle/save_ram_pathord_addr[7]hTOP.tb_gameboy_pr24_verilator.dut' 0
10
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[0]hTOP.tb_gameboy_pr24_verilator.dut' 4
11
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[1]hTOP.tb_gameboy_pr24_verilator.dut' 3
12
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[2]hTOP.tb_gameboy_pr24_verilator.dut' 0
13
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[3]hTOP.tb_gameboy_pr24_verilator.dut' 0
14
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[4]hTOP.tb_gameboy_pr24_verilator.dut' 0
15
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[5]hTOP.tb_gameboy_pr24_verilator.dut' 0
16
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[6]hTOP.tb_gameboy_pr24_verilator.dut' 0
17
- C 'ftb_gameboy_pr24_verilator.svl13n14pagev_toggle/save_ram_pathowr_addr[7]hTOP.tb_gameboy_pr24_verilator.dut' 0
18
- C 'ftb_gameboy_pr24_verilator.svl18n3pagev_line/save_ram_pathoblockS18hTOP.tb_gameboy_pr24_verilator.dut' 8
19
- C 'ftb_gameboy_pr24_verilator.svl19n5pagev_branch/save_ram_pathoifS19-20hTOP.tb_gameboy_pr24_verilator.dut' 2
20
- C 'ftb_gameboy_pr24_verilator.svl19n6pagev_branch/save_ram_pathoelsehTOP.tb_gameboy_pr24_verilator.dut' 6
21
- C 'ftb_gameboy_pr24_verilator.svl2n23pagev_toggle/save_ram_pathoclkhTOP.tb_gameboy_pr24_verilator.dut' 16
22
- C 'ftb_gameboy_pr24_verilator.svl22n5pagev_branch/save_ram_pathoifS22-23hTOP.tb_gameboy_pr24_verilator.dut' 2
23
- C 'ftb_gameboy_pr24_verilator.svl22n6pagev_branch/save_ram_pathoelsehTOP.tb_gameboy_pr24_verilator.dut' 6
24
- C 'ftb_gameboy_pr24_verilator.svl3n23pagev_toggle/save_ram_pathobk_wrhTOP.tb_gameboy_pr24_verilator.dut' 4
25
- C 'ftb_gameboy_pr24_verilator.svl31n15pagev_line/tb_gameboy_pr24_verilatoroblockS31hTOP.tb_gameboy_pr24_verilator' 1
26
- C 'ftb_gameboy_pr24_verilator.svl31n9pagev_toggle/tb_gameboy_pr24_verilatoroclkhTOP.tb_gameboy_pr24_verilator' 16
27
- C 'ftb_gameboy_pr24_verilator.svl32n17pagev_line/tb_gameboy_pr24_verilatoroblockS32hTOP.tb_gameboy_pr24_verilator' 1
28
- C 'ftb_gameboy_pr24_verilator.svl32n9pagev_toggle/tb_gameboy_pr24_verilatorobk_wrhTOP.tb_gameboy_pr24_verilator' 4
29
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[0]hTOP.tb_gameboy_pr24_verilator' 4
30
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[10]hTOP.tb_gameboy_pr24_verilator' 0
31
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[11]hTOP.tb_gameboy_pr24_verilator' 0
32
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[12]hTOP.tb_gameboy_pr24_verilator' 0
33
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[13]hTOP.tb_gameboy_pr24_verilator' 0
34
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[14]hTOP.tb_gameboy_pr24_verilator' 0
35
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[15]hTOP.tb_gameboy_pr24_verilator' 0
36
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[1]hTOP.tb_gameboy_pr24_verilator' 3
37
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[2]hTOP.tb_gameboy_pr24_verilator' 0
38
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[3]hTOP.tb_gameboy_pr24_verilator' 0
39
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[4]hTOP.tb_gameboy_pr24_verilator' 0
40
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[5]hTOP.tb_gameboy_pr24_verilator' 0
41
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[6]hTOP.tb_gameboy_pr24_verilator' 0
42
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[7]hTOP.tb_gameboy_pr24_verilator' 0
43
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[8]hTOP.tb_gameboy_pr24_verilator' 0
44
- C 'ftb_gameboy_pr24_verilator.svl33n16pagev_toggle/tb_gameboy_pr24_verilatorobk_addr[9]hTOP.tb_gameboy_pr24_verilator' 0
45
- C 'ftb_gameboy_pr24_verilator.svl33n26pagev_line/tb_gameboy_pr24_verilatoroblockS33hTOP.tb_gameboy_pr24_verilator' 1
46
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[0]hTOP.tb_gameboy_pr24_verilator' 2
47
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[1]hTOP.tb_gameboy_pr24_verilator' 1
48
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[2]hTOP.tb_gameboy_pr24_verilator' 0
49
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[3]hTOP.tb_gameboy_pr24_verilator' 0
50
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[4]hTOP.tb_gameboy_pr24_verilator' 1
51
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[5]hTOP.tb_gameboy_pr24_verilator' 1
52
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[6]hTOP.tb_gameboy_pr24_verilator' 0
53
- C 'ftb_gameboy_pr24_verilator.svl34n15pagev_toggle/tb_gameboy_pr24_verilatorobk_data[7]hTOP.tb_gameboy_pr24_verilator' 1
54
- C 'ftb_gameboy_pr24_verilator.svl34n25pagev_line/tb_gameboy_pr24_verilatoroblockS34hTOP.tb_gameboy_pr24_verilator' 1
55
- C 'ftb_gameboy_pr24_verilator.svl35n17pagev_line/tb_gameboy_pr24_verilatoroblockS35hTOP.tb_gameboy_pr24_verilator' 1
56
- C 'ftb_gameboy_pr24_verilator.svl35n9pagev_toggle/tb_gameboy_pr24_verilatorord_enhTOP.tb_gameboy_pr24_verilator' 4
57
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[0]hTOP.tb_gameboy_pr24_verilator' 2
58
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[1]hTOP.tb_gameboy_pr24_verilator' 1
59
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[2]hTOP.tb_gameboy_pr24_verilator' 0
60
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[3]hTOP.tb_gameboy_pr24_verilator' 0
61
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[4]hTOP.tb_gameboy_pr24_verilator' 1
62
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[5]hTOP.tb_gameboy_pr24_verilator' 1
63
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[6]hTOP.tb_gameboy_pr24_verilator' 0
64
- C 'ftb_gameboy_pr24_verilator.svl36n15pagev_toggle/tb_gameboy_pr24_verilatorord_data[7]hTOP.tb_gameboy_pr24_verilator' 1
65
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[0]hTOP.tb_gameboy_pr24_verilator.dut' 4
66
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[10]hTOP.tb_gameboy_pr24_verilator.dut' 0
67
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[11]hTOP.tb_gameboy_pr24_verilator.dut' 0
68
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[12]hTOP.tb_gameboy_pr24_verilator.dut' 0
69
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[13]hTOP.tb_gameboy_pr24_verilator.dut' 0
70
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[14]hTOP.tb_gameboy_pr24_verilator.dut' 0
71
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[15]hTOP.tb_gameboy_pr24_verilator.dut' 0
72
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[1]hTOP.tb_gameboy_pr24_verilator.dut' 3
73
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[2]hTOP.tb_gameboy_pr24_verilator.dut' 0
74
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[3]hTOP.tb_gameboy_pr24_verilator.dut' 0
75
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[4]hTOP.tb_gameboy_pr24_verilator.dut' 0
76
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[5]hTOP.tb_gameboy_pr24_verilator.dut' 0
77
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[6]hTOP.tb_gameboy_pr24_verilator.dut' 0
78
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[7]hTOP.tb_gameboy_pr24_verilator.dut' 0
79
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[8]hTOP.tb_gameboy_pr24_verilator.dut' 0
80
- C 'ftb_gameboy_pr24_verilator.svl4n23pagev_toggle/save_ram_pathobk_addr[9]hTOP.tb_gameboy_pr24_verilator.dut' 0
81
- C 'ftb_gameboy_pr24_verilator.svl47n3pagev_line/tb_gameboy_pr24_verilatoroblockS47hTOP.tb_gameboy_pr24_verilator' 16
82
- C 'ftb_gameboy_pr24_verilator.svl49n18pagev_line/tb_gameboy_pr24_verilatoroblockS49-56hTOP.tb_gameboy_pr24_verilator' 2
83
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[0]hTOP.tb_gameboy_pr24_verilator.dut' 2
84
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[1]hTOP.tb_gameboy_pr24_verilator.dut' 1
85
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[2]hTOP.tb_gameboy_pr24_verilator.dut' 0
86
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[3]hTOP.tb_gameboy_pr24_verilator.dut' 0
87
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[4]hTOP.tb_gameboy_pr24_verilator.dut' 1
88
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[5]hTOP.tb_gameboy_pr24_verilator.dut' 1
89
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[6]hTOP.tb_gameboy_pr24_verilator.dut' 0
90
- C 'ftb_gameboy_pr24_verilator.svl5n23pagev_toggle/save_ram_pathobk_data[7]hTOP.tb_gameboy_pr24_verilator.dut' 1
91
- C 'ftb_gameboy_pr24_verilator.svl6n23pagev_toggle/save_ram_pathord_enhTOP.tb_gameboy_pr24_verilator.dut' 4
92
- C 'ftb_gameboy_pr24_verilator.svl60n18pagev_line/tb_gameboy_pr24_verilatoroblockS60-67hTOP.tb_gameboy_pr24_verilator' 2
93
- C 'ftb_gameboy_pr24_verilator.svl68n8pagev_line/tb_gameboy_pr24_verilatoroelsehTOP.tb_gameboy_pr24_verilator' 2
94
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[0]hTOP.tb_gameboy_pr24_verilator.dut' 2
95
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[1]hTOP.tb_gameboy_pr24_verilator.dut' 1
96
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[2]hTOP.tb_gameboy_pr24_verilator.dut' 0
97
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[3]hTOP.tb_gameboy_pr24_verilator.dut' 0
98
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[4]hTOP.tb_gameboy_pr24_verilator.dut' 1
99
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[5]hTOP.tb_gameboy_pr24_verilator.dut' 1
100
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[6]hTOP.tb_gameboy_pr24_verilator.dut' 0
101
- C 'ftb_gameboy_pr24_verilator.svl7n23pagev_toggle/save_ram_pathord_data[7]hTOP.tb_gameboy_pr24_verilator.dut' 1
102
- C 'ftb_gameboy_pr24_verilator.svl74n3pagev_line/tb_gameboy_pr24_verilatoroblockS74-80hTOP.tb_gameboy_pr24_verilator' 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/MiSTer-devel_Gameboy_MiSTer_pr24/iverilog_buggy_build.log DELETED
@@ -1,215 +0,0 @@
1
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'speed'.
2
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'ce_cpu2x'.
3
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'ce_cpu'.
4
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:504: warning: implicit definition of wire 'clk_cpu'.
5
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:505: warning: implicit definition of wire 'clk_cpu2x'.
6
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: warning: implicit definition of wire 'bios_addr'.
7
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: warning: implicit definition of wire 'bios_do'.
8
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: warning: implicit definition of wire 'ce_pix'.
9
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:584: warning: Static variable initialization requires explicit lifetime in this context.
10
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:675: warning: Static variable initialization requires explicit lifetime in this context.
11
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:698: warning: Static variable initialization requires explicit lifetime in this context.
12
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:698: warning: Static variable initialization requires explicit lifetime in this context.
13
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:82: warning: implicit definition of wire 'lcdc_spr_siz'.
14
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:84: warning: implicit definition of wire 'v_cnt'.
15
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:85: warning: implicit definition of wire 'h_cnt'.
16
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:103: warning: implicit definition of wire 'oam_wr'.
17
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:104: warning: implicit definition of wire 'oam_addr'.
18
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:105: warning: implicit definition of wire 'oam_di'.
19
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: warning: implicit definition of wire 'pixel_reg'.
20
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:117: error: Unable to bind wire/reg/memory `ioctl_download' in `tb_gameboy_pr24_verilator.dut'
21
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:177: : A symbol with that name was declared here. Check for declaration after use.
22
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:117: error: Unable to elaborate r-value: ioctl_download
23
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:121: error: Unable to bind wire/reg/memory `status['sd4:'sd3]' in `tb_gameboy_pr24_verilator.dut'
24
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
25
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:121: error: Unable to elaborate r-value: ((status['sd4:'sd3])==(2'd2))?(8'd16):(((status['sd4:'sd3])==(2'd1))?(8'd10):(8'd4))
26
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:125: error: Unable to bind wire/reg/memory `status['sd4:'sd3]' in `tb_gameboy_pr24_verilator.dut'
27
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
28
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:125: error: Unable to elaborate r-value: ((status['sd4:'sd3])==(2'd2))?(8'd9):(((status['sd4:'sd3])==(2'd1))?(8'd9):(8'd3))
29
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:129: error: Unable to bind wire/reg/memory `status['sd8:'sd7]' in `tb_gameboy_pr24_verilator.dut'
30
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
31
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:129: error: Unable to elaborate r-value: status['sd8:'sd7]
32
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:163: warning: Port 2 (rst) of module pll expects 1 bit(s), given 32.
33
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:163: : Pruning (signed) 31 high bits of the expression.
34
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 11 (status_in) floating.
35
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 12 (status_set) floating.
36
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 13 (new_vmode) floating.
37
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 21 (sd_conf) floating.
38
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 36 (uart_mode) floating.
39
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 39 (ps2_kbd_clk_in) floating.
40
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 40 (ps2_kbd_data_in) floating.
41
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 41 (ps2_kbd_led_status) floating.
42
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 42 (ps2_kbd_led_use) floating.
43
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 45 (ps2_mouse_clk_in) floating.
44
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 46 (ps2_mouse_data_in) floating.
45
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to bind wire/reg/memory `cart_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
46
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
47
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to bind wire/reg/memory `cart_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
48
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
49
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Concatenation/replication may not have zero width in this context.
50
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to elaborate r-value: (cart_download)?(2'd3):({cart_addr['sd0], ~(cart_addr['sd0])})
51
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:241: error: Unable to bind wire/reg/memory `mbc_bank' in `tb_gameboy_pr24_verilator.dut'
52
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:442: : A symbol with that name was declared here. Check for declaration after use.
53
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:241: error: Unable to bind wire/reg/memory `cart_addr['sd12:'sd1]' in `tb_gameboy_pr24_verilator.dut'
54
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
55
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to bind wire/reg/memory `cart_rd' in `tb_gameboy_pr24_verilator.dut'
56
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:488: : A symbol with that name was declared here. Check for declaration after use.
57
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to bind wire/reg/memory `cram_rd' in `tb_gameboy_pr24_verilator.dut'
58
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:634: : A symbol with that name was declared here. Check for declaration after use.
59
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to elaborate r-value: ((~(cart_download))&(cart_rd))&(~(cram_rd))
60
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:243: error: Unable to bind wire/reg/memory `dn_write' in `tb_gameboy_pr24_verilator.dut'
61
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:273: : A symbol with that name was declared here. Check for declaration after use.
62
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:243: error: Unable to elaborate r-value: (cart_download)&(dn_write)
63
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:116: error: Unable to bind wire/reg/memory `mode['sd1]' in `tb_gameboy_pr24_verilator.dut.sdram'
64
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:118: : A symbol with that name was declared here. Check for declaration after use.
65
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:116: error: Unable to elaborate r-value: (mode['sd1])?(din_r):(16'bzzzzzzzzzzzzzzzz)
66
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:88: error: Unable to bind wire/reg/memory `stage' in `tb_gameboy_pr24_verilator.dut.sdram'
67
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:120: : A symbol with that name was declared here. Check for declaration after use.
68
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:88: error: Unable to elaborate condition expression.
69
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: error: Unable to bind wire/reg/memory `speed' in `tb_gameboy_pr24_verilator.dut'
70
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:499: : A symbol with that name was declared here. Check for declaration after use.
71
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: error: Failed to elaborate input port 'sync' expression ((speed)?(ce_cpu2x):(ce_cpu)) in instance dut.sdram of module: sdram.
72
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:301: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
73
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
74
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:300: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc1_rom_bank, cart_addr['sd13]}):(9'd0))
75
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:306: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
76
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
77
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:305: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc2_rom_bank, cart_addr['sd13]}):(9'd0))
78
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:311: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
79
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
80
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:310: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc3_rom_bank, cart_addr['sd13]}):(9'd0))
81
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:316: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
82
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
83
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:315: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({mbc5_rom_bank, cart_addr['sd13]}):(9'd0))
84
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to bind wire/reg/memory `mbc1_mode' in `tb_gameboy_pr24_verilator.dut'
85
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:347: : A symbol with that name was declared here. Check for declaration after use.
86
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to bind wire/reg/memory `ram_mask['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
87
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
88
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to elaborate r-value: ((mbc1_mode)?(mbc_ram_bank_reg['sd1:'sd0]):(2'd0))&(ram_mask['sd1:'sd0])
89
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to bind wire/reg/memory `mbc_ram_bank_reg['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
90
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:350: : A symbol with that name was declared here. Check for declaration after use.
91
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to bind wire/reg/memory `ram_mask['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
92
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
93
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to elaborate r-value: (mbc_ram_bank_reg['sd1:'sd0])&(ram_mask['sd1:'sd0])
94
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to bind wire/reg/memory `mbc_ram_bank_reg' in `tb_gameboy_pr24_verilator.dut'
95
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:350: : A symbol with that name was declared here. Check for declaration after use.
96
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to bind wire/reg/memory `ram_mask' in `tb_gameboy_pr24_verilator.dut'
97
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
98
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to elaborate r-value: (mbc_ram_bank_reg)&(ram_mask)
99
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to bind wire/reg/memory `mbc1_mode' in `tb_gameboy_pr24_verilator.dut'
100
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:347: : A symbol with that name was declared here. Check for declaration after use.
101
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd4:'sd0]' in `tb_gameboy_pr24_verilator.dut'
102
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
103
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Concatenation/replication may not have zero width in this context.
104
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to elaborate r-value: {(mbc1_mode)?(2'd0):(mbc_ram_bank_reg['sd1:'sd0]), mbc_rom_bank_reg['sd4:'sd0]}
105
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:339: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
106
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
107
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:339: error: Unable to elaborate r-value: (mbc1_rom_bank_mode)&(rom_mask['sd6:'sd0])
108
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
109
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
110
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
111
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
112
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to elaborate r-value: (mbc_rom_bank_reg['sd6:'sd0])&(rom_mask['sd6:'sd0])
113
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
114
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
115
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
116
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
117
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to elaborate r-value: (mbc_rom_bank_reg['sd6:'sd0])&(rom_mask['sd6:'sd0])
118
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg' in `tb_gameboy_pr24_verilator.dut'
119
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
120
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to bind wire/reg/memory `rom_mask' in `tb_gameboy_pr24_verilator.dut'
121
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
122
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to elaborate r-value: (mbc_rom_bank_reg)&(rom_mask)
123
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:450: error: Unable to bind wire/reg/memory `cart_addr['sd14:'sd13]' in `tb_gameboy_pr24_verilator.dut'
124
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
125
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:480: error: Unable to bind wire/reg/memory `cram_rd' in `tb_gameboy_pr24_verilator.dut'
126
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:634: : A symbol with that name was declared here. Check for declaration after use.
127
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:477: error: Unable to elaborate r-value: (~(cart_ready))?(8'd0):((cram_rd)?(cram_do):((cart_addr['sd0])?(sdram_do['sd15:'sd8]):(sdram_do['sd7:'sd0])))
128
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: error: Unable to bind wire/reg/memory `bk_loading' in `tb_gameboy_pr24_verilator.dut'
129
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:686: : A symbol with that name was declared here. Check for declaration after use.
130
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: error: Unable to elaborate r-value: (((((RESET)|(status['sd0]))|(status['sd6]))|(buttons['sd1]))|(cart_download))|(bk_loading)
131
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: error: port ``clk'' is not a port of gb.
132
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: error: port ``clk2x'' is not a port of gb.
133
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 2 (clk_sys) floating.
134
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 3 (ce) floating.
135
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 4 (ce_2x) floating.
136
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Port 6 (joystick) of module gb expects 8 bit(s), given 16.
137
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: : Pruning 8 high bits of the expression.
138
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: error: Net bios_addr is not defined in this context.
139
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:595: : A symbol with that name was declared here. Check for declaration after use.
140
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: error: Output port expression must support a continuous assignment.
141
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: : Port 14 (gbc_bios_addr) of gb is connected to tb_gameboy_pr24_verilator.dut.bios_addr
142
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: error: Unable to bind wire/reg/memory `bios_do' in `tb_gameboy_pr24_verilator.dut'
143
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:594: : A symbol with that name was declared here. Check for declaration after use.
144
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: error: Failed to elaborate input port 'gbc_bios_do' expression (bios_do) in instance dut.gb of module: gb.
145
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 23 (joy_din) floating.
146
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 25 (gg_reset) floating.
147
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 26 (gg_en) floating.
148
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 27 (gg_code) floating.
149
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 29 (serial_ena) floating.
150
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 31 (serial_clk_in) floating.
151
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 33 (serial_data_in) floating.
152
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:45: warning: Instantiating module dpram with dangling input port 9 (data_b) floating.
153
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: error: Net pixel_reg is not defined in this context.
154
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:128: : A symbol with that name was declared here. Check for declaration after use.
155
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: error: Output port expression must support a continuous assignment.
156
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: : Port 10 (q_b) of dpram is connected to tb_gameboy_pr24_verilator.dut.lcd.pixel_reg
157
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:542: error: Unable to bind wire/reg/memory `clk_cpu' in `tb_gameboy_pr24_verilator.dut'
158
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: : A symbol with that name was declared here. Check for declaration after use.
159
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:542: error: Failed to elaborate input port 'clk' expression (clk_cpu) in instance dut.lcd of module: lcd.
160
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
161
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
162
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: error: Failed to elaborate input port 'pce' expression (ce_pix) in instance dut.lcd of module: lcd.
163
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
164
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
165
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to bind wire/reg/memory `line_cnt' in `tb_gameboy_pr24_verilator.dut'
166
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:729: : A symbol with that name was declared here. Check for declaration after use.
167
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to elaborate r-value: (ce_pix)&(!(line_cnt))
168
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:578: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
169
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
170
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:578: error: Unable to elaborate r-value: ce_pix
171
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: error: Unable to bind wire/reg/memory `ce_cpu' in `tb_gameboy_pr24_verilator.dut'
172
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
173
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: error: Unable to elaborate r-value: (clk_sys)&(ce_cpu)
174
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:580: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
175
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
176
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:580: error: Unable to elaborate r-value: (clk_sys)&(ce_pix)
177
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:597: warning: Instantiating module dpram_dif with dangling input port 3 (wren_a) floating.
178
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:597: warning: Instantiating module dpram_dif with dangling input port 4 (data_a) floating.
179
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:623: error: Unable to bind wire/reg/memory `cram_q['sd3:'sd0]' in `tb_gameboy_pr24_verilator.dut'
180
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: : A symbol with that name was declared here. Check for declaration after use.
181
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:626: error: Unable to bind wire/reg/memory `cram_q' in `tb_gameboy_pr24_verilator.dut'
182
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: : A symbol with that name was declared here. Check for declaration after use.
183
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:620: error: Unable to elaborate r-value: (mbc_ram_enable)?((((cart_addr['sd15:'sd9])==(7'd80))&&(mbc2))?({4'd15, cram_q['sd3:'sd0]}):((mbc3_mode)?(8'd0):(cram_q))):(8'd255)
184
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: error: Unable to bind wire/reg/memory `cram_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
185
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:636: : A symbol with that name was declared here. Check for declaration after use.
186
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: error: Unable to elaborate r-value: (cram_addr['sd0])?(cram_q_h):(cram_q_l)
187
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 4 (data_a) of module dpram expects 16 bit(s), given 8.
188
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
189
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 5 (q_a) of module dpram expects 16 bit(s), given 8.
190
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
191
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 9 (data_b) of module dpram expects 16 bit(s), given 8.
192
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
193
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 10 (q_b) of module dpram expects 16 bit(s), given 8.
194
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
195
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 4 (data_a) of module dpram expects 16 bit(s), given 8.
196
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
197
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 5 (q_a) of module dpram expects 16 bit(s), given 8.
198
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
199
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 9 (data_b) of module dpram expects 16 bit(s), given 8.
200
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
201
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 10 (q_b) of module dpram expects 16 bit(s), given 8.
202
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
203
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:277: error: Unable to bind wire/reg/memory `speed' in `tb_gameboy_pr24_verilator.dut'
204
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:499: : A symbol with that name was declared here. Check for declaration after use.
205
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:277: error: Unable to elaborate condition expression.
206
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:354: error: Unable to bind wire/reg/memory `reset' in `tb_gameboy_pr24_verilator.dut'
207
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: : A symbol with that name was declared here. Check for declaration after use.
208
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:354: error: Unable to elaborate condition expression.
209
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: error: Variable 'HPS_BUS' cannot be driven by a primitive or continuous assignment with non-default strength.
210
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: error: Inout port expression must support continuous assignment.
211
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: : Port 3 (HPS_BUS) of emu is connected to HPS_BUS
212
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: error: Variable 'SDRAM_DQ' cannot be driven by a primitive or continuous assignment with non-default strength.
213
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: error: Inout port expression must support continuous assignment.
214
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: : Port 43 (SDRAM_DQ) of emu is connected to SDRAM_DQ
215
- 96 error(s) during elaboration.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/MiSTer-devel_Gameboy_MiSTer_pr24/iverilog_fixed_build.log DELETED
@@ -1,215 +0,0 @@
1
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'speed'.
2
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'ce_cpu2x'.
3
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: warning: implicit definition of wire 'ce_cpu'.
4
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:504: warning: implicit definition of wire 'clk_cpu'.
5
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:505: warning: implicit definition of wire 'clk_cpu2x'.
6
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: warning: implicit definition of wire 'bios_addr'.
7
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: warning: implicit definition of wire 'bios_do'.
8
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: warning: implicit definition of wire 'ce_pix'.
9
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:584: warning: Static variable initialization requires explicit lifetime in this context.
10
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:675: warning: Static variable initialization requires explicit lifetime in this context.
11
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:698: warning: Static variable initialization requires explicit lifetime in this context.
12
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:698: warning: Static variable initialization requires explicit lifetime in this context.
13
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:82: warning: implicit definition of wire 'lcdc_spr_siz'.
14
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:84: warning: implicit definition of wire 'v_cnt'.
15
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:85: warning: implicit definition of wire 'h_cnt'.
16
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:103: warning: implicit definition of wire 'oam_wr'.
17
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:104: warning: implicit definition of wire 'oam_addr'.
18
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v:105: warning: implicit definition of wire 'oam_di'.
19
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: warning: implicit definition of wire 'pixel_reg'.
20
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:117: error: Unable to bind wire/reg/memory `ioctl_download' in `tb_gameboy_pr24_verilator.dut'
21
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:177: : A symbol with that name was declared here. Check for declaration after use.
22
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:117: error: Unable to elaborate r-value: ioctl_download
23
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:121: error: Unable to bind wire/reg/memory `status['sd4:'sd3]' in `tb_gameboy_pr24_verilator.dut'
24
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
25
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:121: error: Unable to elaborate r-value: ((status['sd4:'sd3])==(2'd2))?(8'd16):(((status['sd4:'sd3])==(2'd1))?(8'd10):(8'd4))
26
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:125: error: Unable to bind wire/reg/memory `status['sd4:'sd3]' in `tb_gameboy_pr24_verilator.dut'
27
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
28
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:125: error: Unable to elaborate r-value: ((status['sd4:'sd3])==(2'd2))?(8'd9):(((status['sd4:'sd3])==(2'd1))?(8'd9):(8'd3))
29
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:129: error: Unable to bind wire/reg/memory `status['sd8:'sd7]' in `tb_gameboy_pr24_verilator.dut'
30
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:174: : A symbol with that name was declared here. Check for declaration after use.
31
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:129: error: Unable to elaborate r-value: status['sd8:'sd7]
32
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:163: warning: Port 2 (rst) of module pll expects 1 bit(s), given 32.
33
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:163: : Pruning (signed) 31 high bits of the expression.
34
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 11 (status_in) floating.
35
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 12 (status_set) floating.
36
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 13 (new_vmode) floating.
37
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 21 (sd_conf) floating.
38
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 36 (uart_mode) floating.
39
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 39 (ps2_kbd_clk_in) floating.
40
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 40 (ps2_kbd_data_in) floating.
41
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 41 (ps2_kbd_led_status) floating.
42
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 42 (ps2_kbd_led_use) floating.
43
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 45 (ps2_mouse_clk_in) floating.
44
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:199: warning: Instantiating module hps_io with dangling input port 46 (ps2_mouse_data_in) floating.
45
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to bind wire/reg/memory `cart_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
46
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
47
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to bind wire/reg/memory `cart_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
48
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
49
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Concatenation/replication may not have zero width in this context.
50
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:238: error: Unable to elaborate r-value: (cart_download)?(2'd3):({cart_addr['sd0], ~(cart_addr['sd0])})
51
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:241: error: Unable to bind wire/reg/memory `mbc_bank' in `tb_gameboy_pr24_verilator.dut'
52
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:442: : A symbol with that name was declared here. Check for declaration after use.
53
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:241: error: Unable to bind wire/reg/memory `cart_addr['sd12:'sd1]' in `tb_gameboy_pr24_verilator.dut'
54
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
55
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to bind wire/reg/memory `cart_rd' in `tb_gameboy_pr24_verilator.dut'
56
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:488: : A symbol with that name was declared here. Check for declaration after use.
57
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to bind wire/reg/memory `cram_rd' in `tb_gameboy_pr24_verilator.dut'
58
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:634: : A symbol with that name was declared here. Check for declaration after use.
59
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:242: error: Unable to elaborate r-value: ((~(cart_download))&(cart_rd))&(~(cram_rd))
60
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:243: error: Unable to bind wire/reg/memory `dn_write' in `tb_gameboy_pr24_verilator.dut'
61
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:273: : A symbol with that name was declared here. Check for declaration after use.
62
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:243: error: Unable to elaborate r-value: (cart_download)&(dn_write)
63
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:116: error: Unable to bind wire/reg/memory `mode['sd1]' in `tb_gameboy_pr24_verilator.dut.sdram'
64
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:118: : A symbol with that name was declared here. Check for declaration after use.
65
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:116: error: Unable to elaborate r-value: (mode['sd1])?(din_r):(16'bzzzzzzzzzzzzzzzz)
66
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:88: error: Unable to bind wire/reg/memory `stage' in `tb_gameboy_pr24_verilator.dut.sdram'
67
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:120: : A symbol with that name was declared here. Check for declaration after use.
68
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv:88: error: Unable to elaborate condition expression.
69
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: error: Unable to bind wire/reg/memory `speed' in `tb_gameboy_pr24_verilator.dut'
70
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:499: : A symbol with that name was declared here. Check for declaration after use.
71
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:260: error: Failed to elaborate input port 'sync' expression ((speed)?(ce_cpu2x):(ce_cpu)) in instance dut.sdram of module: sdram.
72
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:301: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
73
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
74
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:300: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc1_rom_bank, cart_addr['sd13]}):(9'd0))
75
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:306: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
76
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
77
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:305: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc2_rom_bank, cart_addr['sd13]}):(9'd0))
78
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:311: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
79
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
80
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:310: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({2'd0, mbc3_rom_bank, cart_addr['sd13]}):(9'd0))
81
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:316: error: Unable to bind wire/reg/memory `cart_addr['sd15:'sd14]' in `tb_gameboy_pr24_verilator.dut'
82
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
83
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:315: error: Unable to elaborate r-value: ((cart_addr['sd15:'sd14])==(2'd0))?({9'd0, cart_addr['sd13]}):(((cart_addr['sd15:'sd14])==(2'd1))?({mbc5_rom_bank, cart_addr['sd13]}):(9'd0))
84
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to bind wire/reg/memory `mbc1_mode' in `tb_gameboy_pr24_verilator.dut'
85
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:347: : A symbol with that name was declared here. Check for declaration after use.
86
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to bind wire/reg/memory `ram_mask['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
87
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
88
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:324: error: Unable to elaborate r-value: ((mbc1_mode)?(mbc_ram_bank_reg['sd1:'sd0]):(2'd0))&(ram_mask['sd1:'sd0])
89
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to bind wire/reg/memory `mbc_ram_bank_reg['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
90
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:350: : A symbol with that name was declared here. Check for declaration after use.
91
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to bind wire/reg/memory `ram_mask['sd1:'sd0]' in `tb_gameboy_pr24_verilator.dut'
92
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
93
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:325: error: Unable to elaborate r-value: (mbc_ram_bank_reg['sd1:'sd0])&(ram_mask['sd1:'sd0])
94
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to bind wire/reg/memory `mbc_ram_bank_reg' in `tb_gameboy_pr24_verilator.dut'
95
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:350: : A symbol with that name was declared here. Check for declaration after use.
96
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to bind wire/reg/memory `ram_mask' in `tb_gameboy_pr24_verilator.dut'
97
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:410: : A symbol with that name was declared here. Check for declaration after use.
98
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:326: error: Unable to elaborate r-value: (mbc_ram_bank_reg)&(ram_mask)
99
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to bind wire/reg/memory `mbc1_mode' in `tb_gameboy_pr24_verilator.dut'
100
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:347: : A symbol with that name was declared here. Check for declaration after use.
101
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd4:'sd0]' in `tb_gameboy_pr24_verilator.dut'
102
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
103
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Concatenation/replication may not have zero width in this context.
104
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:332: error: Unable to elaborate r-value: {(mbc1_mode)?(2'd0):(mbc_ram_bank_reg['sd1:'sd0]), mbc_rom_bank_reg['sd4:'sd0]}
105
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:339: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
106
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
107
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:339: error: Unable to elaborate r-value: (mbc1_rom_bank_mode)&(rom_mask['sd6:'sd0])
108
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
109
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
110
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
111
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
112
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:340: error: Unable to elaborate r-value: (mbc_rom_bank_reg['sd6:'sd0])&(rom_mask['sd6:'sd0])
113
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
114
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
115
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to bind wire/reg/memory `rom_mask['sd6:'sd0]' in `tb_gameboy_pr24_verilator.dut'
116
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
117
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:341: error: Unable to elaborate r-value: (mbc_rom_bank_reg['sd6:'sd0])&(rom_mask['sd6:'sd0])
118
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to bind wire/reg/memory `mbc_rom_bank_reg' in `tb_gameboy_pr24_verilator.dut'
119
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:349: : A symbol with that name was declared here. Check for declaration after use.
120
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to bind wire/reg/memory `rom_mask' in `tb_gameboy_pr24_verilator.dut'
121
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:417: : A symbol with that name was declared here. Check for declaration after use.
122
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:342: error: Unable to elaborate r-value: (mbc_rom_bank_reg)&(rom_mask)
123
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:450: error: Unable to bind wire/reg/memory `cart_addr['sd14:'sd13]' in `tb_gameboy_pr24_verilator.dut'
124
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:487: : A symbol with that name was declared here. Check for declaration after use.
125
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:480: error: Unable to bind wire/reg/memory `cram_rd' in `tb_gameboy_pr24_verilator.dut'
126
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:634: : A symbol with that name was declared here. Check for declaration after use.
127
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:477: error: Unable to elaborate r-value: (~(cart_ready))?(8'd0):((cram_rd)?(cram_do):((cart_addr['sd0])?(sdram_do['sd15:'sd8]):(sdram_do['sd7:'sd0])))
128
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: error: Unable to bind wire/reg/memory `bk_loading' in `tb_gameboy_pr24_verilator.dut'
129
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:686: : A symbol with that name was declared here. Check for declaration after use.
130
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: error: Unable to elaborate r-value: (((((RESET)|(status['sd0]))|(status['sd6]))|(buttons['sd1]))|(cart_download))|(bk_loading)
131
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: error: port ``clk'' is not a port of gb.
132
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: error: port ``clk2x'' is not a port of gb.
133
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 2 (clk_sys) floating.
134
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 3 (ce) floating.
135
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 4 (ce_2x) floating.
136
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Port 6 (joystick) of module gb expects 8 bit(s), given 16.
137
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: : Pruning 8 high bits of the expression.
138
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: error: Net bios_addr is not defined in this context.
139
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:595: : A symbol with that name was declared here. Check for declaration after use.
140
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: error: Output port expression must support a continuous assignment.
141
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:520: : Port 14 (gbc_bios_addr) of gb is connected to tb_gameboy_pr24_verilator.dut.bios_addr
142
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: error: Unable to bind wire/reg/memory `bios_do' in `tb_gameboy_pr24_verilator.dut'
143
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:594: : A symbol with that name was declared here. Check for declaration after use.
144
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:521: error: Failed to elaborate input port 'gbc_bios_do' expression (bios_do) in instance dut.gb of module: gb.
145
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 23 (joy_din) floating.
146
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 25 (gg_reset) floating.
147
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 26 (gg_en) floating.
148
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 27 (gg_code) floating.
149
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 29 (serial_ena) floating.
150
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 31 (serial_clk_in) floating.
151
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:502: warning: Instantiating module gb with dangling input port 33 (serial_data_in) floating.
152
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:45: warning: Instantiating module dpram with dangling input port 9 (data_b) floating.
153
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: error: Net pixel_reg is not defined in this context.
154
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:128: : A symbol with that name was declared here. Check for declaration after use.
155
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: error: Output port expression must support a continuous assignment.
156
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v:56: : Port 10 (q_b) of dpram is connected to tb_gameboy_pr24_verilator.dut.lcd.pixel_reg
157
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:542: error: Unable to bind wire/reg/memory `clk_cpu' in `tb_gameboy_pr24_verilator.dut'
158
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: : A symbol with that name was declared here. Check for declaration after use.
159
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:542: error: Failed to elaborate input port 'clk' expression (clk_cpu) in instance dut.lcd of module: lcd.
160
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
161
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
162
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:541: error: Failed to elaborate input port 'pce' expression (ce_pix) in instance dut.lcd of module: lcd.
163
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
164
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
165
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to bind wire/reg/memory `line_cnt' in `tb_gameboy_pr24_verilator.dut'
166
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:729: : A symbol with that name was declared here. Check for declaration after use.
167
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:574: error: Unable to elaborate r-value: (ce_pix)&(!(line_cnt))
168
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:578: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
169
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
170
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:578: error: Unable to elaborate r-value: ce_pix
171
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: error: Unable to bind wire/reg/memory `ce_cpu' in `tb_gameboy_pr24_verilator.dut'
172
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
173
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:579: error: Unable to elaborate r-value: (clk_sys)&(ce_cpu)
174
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:580: error: Unable to bind wire/reg/memory `ce_pix' in `tb_gameboy_pr24_verilator.dut'
175
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:582: : A symbol with that name was declared here. Check for declaration after use.
176
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:580: error: Unable to elaborate r-value: (clk_sys)&(ce_pix)
177
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:597: warning: Instantiating module dpram_dif with dangling input port 3 (wren_a) floating.
178
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:597: warning: Instantiating module dpram_dif with dangling input port 4 (data_a) floating.
179
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:623: error: Unable to bind wire/reg/memory `cram_q['sd3:'sd0]' in `tb_gameboy_pr24_verilator.dut'
180
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: : A symbol with that name was declared here. Check for declaration after use.
181
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:626: error: Unable to bind wire/reg/memory `cram_q' in `tb_gameboy_pr24_verilator.dut'
182
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: : A symbol with that name was declared here. Check for declaration after use.
183
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:620: error: Unable to elaborate r-value: (mbc_ram_enable)?((((cart_addr['sd15:'sd9])==(7'd80))&&(mbc2))?({4'd15, cram_q['sd3:'sd0]}):((mbc3_mode)?(8'd0):(cram_q))):(8'd255)
184
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: error: Unable to bind wire/reg/memory `cram_addr['sd0]' in `tb_gameboy_pr24_verilator.dut'
185
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:636: : A symbol with that name was declared here. Check for declaration after use.
186
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:629: error: Unable to elaborate r-value: (cram_addr['sd0])?(cram_q_h):(cram_q_l)
187
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 4 (data_a) of module dpram expects 16 bit(s), given 8.
188
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
189
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 5 (q_a) of module dpram expects 16 bit(s), given 8.
190
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
191
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 9 (data_b) of module dpram expects 16 bit(s), given 8.
192
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
193
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: warning: Port 10 (q_b) of module dpram expects 16 bit(s), given 8.
194
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:643: : Padding 8 high bits of the port.
195
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 4 (data_a) of module dpram expects 16 bit(s), given 8.
196
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
197
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 5 (q_a) of module dpram expects 16 bit(s), given 8.
198
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
199
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 9 (data_b) of module dpram expects 16 bit(s), given 8.
200
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
201
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: warning: Port 10 (q_b) of module dpram expects 16 bit(s), given 8.
202
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:657: : Padding 8 high bits of the port.
203
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:277: error: Unable to bind wire/reg/memory `speed' in `tb_gameboy_pr24_verilator.dut'
204
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:499: : A symbol with that name was declared here. Check for declaration after use.
205
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:277: error: Unable to elaborate condition expression.
206
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:354: error: Unable to bind wire/reg/memory `reset' in `tb_gameboy_pr24_verilator.dut'
207
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:498: : A symbol with that name was declared here. Check for declaration after use.
208
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:354: error: Unable to elaborate condition expression.
209
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: error: Variable 'HPS_BUS' cannot be driven by a primitive or continuous assignment with non-default strength.
210
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: error: Inout port expression must support continuous assignment.
211
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:63: : Port 3 (HPS_BUS) of emu is connected to HPS_BUS
212
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: error: Variable 'SDRAM_DQ' cannot be driven by a primitive or continuous assignment with non-default strength.
213
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: error: Inout port expression must support continuous assignment.
214
- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/tb_gameboy_pr24_verilator.sv:103: : Port 43 (SDRAM_DQ) of emu is connected to SDRAM_DQ
215
- 96 error(s) during elaboration.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_p2p_buggy.log DELETED
@@ -1,63 +0,0 @@
1
- INFO: open-tool P2P fallback (buggy)
2
- INFO: native simulation P2P not applicable for this case
3
-
4
- ### qsf_surelog:Gameboy-vip.qsf
5
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/hdma.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf'
6
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/surelog.log".
7
-
8
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
9
-
10
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
11
-
12
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
13
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
14
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
15
-
16
- [ FATAL] : 0
17
- [ SYNTAX] : 1
18
- [ ERROR] : 2
19
- [WARNING] : 0
20
- [ NOTE] : 0
21
-
22
- rc=7
23
-
24
- ### qsf_surelog:Gameboy.qsf
25
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/hdma.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf'
26
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/surelog.log".
27
-
28
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
29
-
30
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
31
-
32
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
33
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
34
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
35
-
36
- [ FATAL] : 0
37
- [ SYNTAX] : 1
38
- [ ERROR] : 2
39
- [WARNING] : 0
40
- [ NOTE] : 0
41
-
42
- rc=7
43
-
44
- ### qsf_surelog:Gameboy_Q13.qsf
45
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf'
46
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/surelog.log".
47
-
48
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
49
-
50
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
51
-
52
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
53
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
54
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_buggy_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
55
-
56
- [ FATAL] : 0
57
- [ SYNTAX] : 1
58
- [ ERROR] : 2
59
- [WARNING] : 0
60
- [ NOTE] : 0
61
-
62
- rc=7
63
- PASS: open-tool P2P fallback not applicable: no open-tool check passed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_p2p_fixed.log DELETED
@@ -1,63 +0,0 @@
1
- INFO: open-tool P2P fallback (fixed)
2
- INFO: native simulation P2P not applicable for this case
3
-
4
- ### qsf_surelog:Gameboy-vip.qsf
5
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/hdma.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf'
6
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/surelog.log".
7
-
8
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
9
-
10
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
11
-
12
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
13
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
14
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
15
-
16
- [ FATAL] : 0
17
- [ SYNTAX] : 1
18
- [ ERROR] : 2
19
- [WARNING] : 0
20
- [ NOTE] : 0
21
-
22
- rc=7
23
-
24
- ### qsf_surelog:Gameboy.qsf
25
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/hdma.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf'
26
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/surelog.log".
27
-
28
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
29
-
30
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
31
-
32
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
33
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
34
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
35
-
36
- [ FATAL] : 0
37
- [ SYNTAX] : 1
38
- [ ERROR] : 2
39
- [WARNING] : 0
40
- [ NOTE] : 0
41
-
42
- rc=7
43
-
44
- ### qsf_surelog:Gameboy_Q13.qsf
45
- 'surelog' '-sv' '-parse' '-nocomp' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch' '-Itestbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sys' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sdram.sv' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/video.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/timer.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite_sort.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprites.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/sprite.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/lcd.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/gb.v' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv' '-odir' 'testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf'
46
- [INF:CM0023] Creating log file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/surelog.log".
47
-
48
- [ERR:PP0101] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:131: Cannot open include file "testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/build_id.v".
49
-
50
- [ERR:PP0102] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:8: Unknown macro "BUILD_DATE".
51
-
52
- [SNT:PA0207] testbench/MiSTer-devel_Gameboy_MiSTer_pr24/snapshot_scratch/Gameboy.sv:155:7: Syntax error: mismatched input 'SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!' expecting {''b0', ''b1', ''B0', ''B1', ''0', ''1', '1'b0', '1'b1', '1'bx', '1'bX', '1'B0', '1'B1', '1'Bx', '1'BX', Integral_number, Real_number, String, '(', 'type', 'const', 'local', 'super', '{', 'string', 'byte', 'shortint', 'int', 'longint', 'integer', 'time', 'bit', 'logic', 'reg', 'shortreal', 'real', 'realtime', 'signed', 'unsigned', '$', '+', '-', DOLLAR_UNIT, '!', ''', 'this', DOLLAR_ROOT, 'randomize', 'sample', '&', '|', '~|', '~&', '^~', Escaped_identifier, '~', '^', '~^', Simple_identifier},
53
- "V,v",SURELOG_MACRO_NOT_DEFINED:BUILD_DATE!!!
54
- ^-- testbench/MiSTer-devel_Gameboy_MiSTer_pr24/open_tool_fixed_qsf/slpp_all/lib/work/Gameboy.sv:155:7:.
55
-
56
- [ FATAL] : 0
57
- [ SYNTAX] : 1
58
- [ ERROR] : 2
59
- [WARNING] : 0
60
- [ NOTE] : 0
61
-
62
- rc=7
63
- PASS: open-tool P2P fallback not applicable: no open-tool check passed