AveryWong03 commited on
Commit
959afdb
·
verified ·
1 Parent(s): a8e99af

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. WilliamZhang20_ECE298A-TPU/sim_script_map.json +6 -0
  2. WilliamZhang20_ECE298A-TPU/simulations.jsonl +4 -0
  3. WilliamZhang20_ECE298A-TPU/source/.devcontainer/Dockerfile +27 -0
  4. WilliamZhang20_ECE298A-TPU/source/.devcontainer/copy_tt_support_tools.sh +6 -0
  5. WilliamZhang20_ECE298A-TPU/source/.devcontainer/devcontainer.json +29 -0
  6. WilliamZhang20_ECE298A-TPU/source/.gitignore +14 -0
  7. WilliamZhang20_ECE298A-TPU/source/.vscode/extensions.json +6 -0
  8. WilliamZhang20_ECE298A-TPU/source/.vscode/settings.json +4 -0
  9. WilliamZhang20_ECE298A-TPU/source/LICENSE +201 -0
  10. WilliamZhang20_ECE298A-TPU/source/README.md +86 -0
  11. WilliamZhang20_ECE298A-TPU/source/docs/info.md +315 -0
  12. WilliamZhang20_ECE298A-TPU/source/info.yaml +62 -0
  13. WilliamZhang20_ECE298A-TPU/source/src/PE.v +30 -0
  14. WilliamZhang20_ECE298A-TPU/source/src/config.json +86 -0
  15. WilliamZhang20_ECE298A-TPU/source/src/control_unit.v +129 -0
  16. WilliamZhang20_ECE298A-TPU/source/src/delay_cell.v +15 -0
  17. WilliamZhang20_ECE298A-TPU/source/src/memory.v +36 -0
  18. WilliamZhang20_ECE298A-TPU/source/src/mmu_feeder.v +94 -0
  19. WilliamZhang20_ECE298A-TPU/source/src/systolic_array_2x2.v +55 -0
  20. WilliamZhang20_ECE298A-TPU/source/src/tpu.v +126 -0
  21. WilliamZhang20_ECE298A-TPU/source/test/Makefile +134 -0
  22. WilliamZhang20_ECE298A-TPU/source/test/README.md +148 -0
  23. WilliamZhang20_ECE298A-TPU/source/test/control_unit/control_unit_tb.v +38 -0
  24. WilliamZhang20_ECE298A-TPU/source/test/control_unit/test_control_unit.py +243 -0
  25. WilliamZhang20_ECE298A-TPU/source/test/requirements.txt +8 -0
  26. WilliamZhang20_ECE298A-TPU/testbenches.json +98 -0
  27. completed.json +815 -236
  28. manifest.json +642 -250
  29. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/buggy_waveform.fst +0 -0
  30. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/diff.patch +17 -0
  31. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/metadata.json +16 -0
  32. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/sim_log.txt +178 -0
  33. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/buggy_waveform.fst +0 -0
  34. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/diff.patch +18 -0
  35. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/metadata.json +16 -0
  36. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/sim_log.txt +178 -0
  37. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/buggy_waveform.fst +0 -0
  38. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/diff.patch +29 -0
  39. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/metadata.json +16 -0
  40. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/sim_log.txt +178 -0
  41. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/buggy_waveform.fst +0 -0
  42. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/diff.patch +17 -0
  43. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/metadata.json +17 -0
  44. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/sim_log.txt +178 -0
  45. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/wrong_bitwidth/metadata.json +16 -0
  46. mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/wrong_bitwidth/sim_log.txt +20 -0
  47. mciepluc_cocotb-coverage/candidates/pkt_switch__pkt_switch/bugs/wrong_bitwidth/sim_log.txt +64 -0
  48. mciepluc_cocotb-coverage/sim_script_map.json +6 -0
  49. mciepluc_cocotb-coverage/simulations.jsonl +4 -0
  50. mciepluc_cocotb-coverage/testbenches.json +42 -0
WilliamZhang20_ECE298A-TPU/sim_script_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "test/control_unit/test_control_unit.py": "control_unit_tb_sim.sh",
3
+ "test/memory/test_memory.py": "memory_tb_sim.sh",
4
+ "test/mmu_feeder/test_mmu_feeder.py": "mmu_feeder_tb_sim.sh",
5
+ "test/systolic_array/test_systolic_array.py": "systolic_array_tb_sim.sh"
6
+ }
WilliamZhang20_ECE298A-TPU/simulations.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"tb_file_path": "test/control_unit/test_control_unit.py", "simulator": "cocotb", "top_module": "control_unit_tb", "work_subdir": "test", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "control_unit_tb", "MODULE": "test_control_unit"}, "target": "test-control-unit", "clean_first": false}}
2
+ {"tb_file_path": "test/memory/test_memory.py", "simulator": "cocotb", "top_module": "memory_tb", "work_subdir": "test", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "memory_tb", "MODULE": "test_memory"}, "target": "test-memory", "clean_first": false}}
3
+ {"tb_file_path": "test/mmu_feeder/test_mmu_feeder.py", "simulator": "cocotb", "top_module": "mmu_feeder_tb", "work_subdir": "test", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "mmu_feeder_tb", "MODULE": "test_mmu_feeder"}, "target": "test-mmu-feeder", "clean_first": false}}
4
+ {"tb_file_path": "test/systolic_array/test_systolic_array.py", "simulator": "cocotb", "top_module": "systolic_array_tb", "work_subdir": "test", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "systolic_array_tb", "MODULE": "test_systolic_array"}, "target": "test-systolic-array", "clean_first": false}}
WilliamZhang20_ECE298A-TPU/source/.devcontainer/Dockerfile ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG VARIANT=ubuntu-22.04
2
+ FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT}
3
+
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
+ ENV PDK_ROOT=/home/vscode/ttsetup/pdk
6
+ ENV PDK=sky130A
7
+
8
+ RUN apt update
9
+ RUN apt install -y iverilog gtkwave python3 python3-pip python3-venv python3-tk python-is-python3 libcairo2 verilator libpng-dev libqhull-dev
10
+
11
+ # Clone tt-support-tools
12
+ RUN mkdir -p /ttsetup
13
+ RUN git clone -b ttsky25a https://github.com/TinyTapeout/tt-support-tools /ttsetup/tt-support-tools
14
+
15
+ COPY test/requirements.txt /ttsetup/test_requirements.txt
16
+ COPY .devcontainer/copy_tt_support_tools.sh /ttsetup
17
+
18
+ RUN pip3 install -r /ttsetup/test_requirements.txt -r /ttsetup/tt-support-tools/requirements.txt
19
+
20
+ # Install verible (for formatting)
21
+ RUN umask 022 && \
22
+ curl -L https://github.com/chipsalliance/verible/releases/download/v0.0-3795-gf4d72375/verible-v0.0-3795-gf4d72375-linux-static-x86_64.tar.gz | \
23
+ tar zxf - -C /usr/local --strip-components=1 && \
24
+ chmod 755 /usr/local/bin
25
+
26
+ # Install openlane
27
+ RUN pip3 install openlane==2.2.9
WilliamZhang20_ECE298A-TPU/source/.devcontainer/copy_tt_support_tools.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #! /bin/sh
2
+
3
+ if [ ! -L tt ]; then
4
+ cp -R /ttsetup/tt-support-tools tt
5
+ cd tt && git pull && cd ..
6
+ fi
WilliamZhang20_ECE298A-TPU/source/.devcontainer/devcontainer.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/ubuntu
3
+ {
4
+ "name": "Tiny Tapeout Dev Container",
5
+ "build": {
6
+ "dockerfile": "Dockerfile",
7
+ "context": ".."
8
+ },
9
+ "runArgs": [
10
+ "--memory=10GB"
11
+ ],
12
+ "customizations": {
13
+ "vscode": {
14
+ "settings": {
15
+ "terminal.integrated.defaultProfile.linux": "bash"
16
+ },
17
+ "extensions": ["mshr-h.veriloghdl", "surfer-project.surfer"]
18
+ }
19
+ },
20
+ "features": {
21
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {
22
+ "moby": true,
23
+ "azureDnsAutoDetection": true,
24
+ "version": "latest",
25
+ "dockerDashComposeVersion": "none"
26
+ }
27
+ },
28
+ "postStartCommand": "/ttsetup/copy_tt_support_tools.sh"
29
+ }
WilliamZhang20_ECE298A-TPU/source/.gitignore ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .DS_Store
2
+ .idea
3
+ *.vcd
4
+ runs
5
+ tt_submission
6
+ src/user_config.json
7
+ src/config_merged.json
8
+ test/sim_build
9
+ test/*/__pycache__/
10
+ test/__pycache__/
11
+ test/results.xml
12
+ test/gate_level_netlist.v
13
+ test/tpu/data
14
+ test/data
WilliamZhang20_ECE298A-TPU/source/.vscode/extensions.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "recommendations": [
3
+ "mshr-h.veriloghdl",
4
+ "surfer-project.surfer"
5
+ ]
6
+ }
WilliamZhang20_ECE298A-TPU/source/.vscode/settings.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "verilog.linting.linter": "verilator",
3
+ "verilog.formatting.verilogHDL.formatter": "verible-verilog-format"
4
+ }
WilliamZhang20_ECE298A-TPU/source/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
WilliamZhang20_ECE298A-TPU/source/README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ![](../../workflows/gds/badge.svg) ![](../../workflows/docs/badge.svg) ![](../../workflows/test/badge.svg) ![](../../workflows/fpga/badge.svg)
2
+
3
+ # Tiny Tapeout Tensor Processing Unit
4
+
5
+ - [Read the documentation for project](docs/info.md)
6
+ - To see an architectural redesign, please visit [this](https://github.com/WilliamZhang20/TPUv2) repository.
7
+
8
+ ## Overview
9
+
10
+ This project implements a small-scale, hardware-efficient Tensor Processing Unit (TPU) that performs 2×2 matrix multiplications using a systolic array of Multiply-Accumulate (MAC) units. It is designed in Verilog and deployable via the Tiny Tapeout ASIC flow.
11
+
12
+ Hardware design files are in the `./src` folder, while the ML inference setup is inside `./test/tpu`.
13
+
14
+ ## Hardware Features
15
+
16
+ - **Systolic Array:** A 2×2 grid of MAC units propagates data left-to-right and top-to-bottom, emulating a systolic matrix multiplication engine.
17
+ - **Signed 8-bit Inputs, 16-bit Outputs:** Handles signed integers (-128 to 127) and accumulates products in 16-bit precision.
18
+ - **Streaming Input/Output:** Supports pipelined loading and output to achieve >99.8M operations/sec.
19
+ - **Control FSM:** Automates input loading, matrix multiplication timing, and result collection.
20
+ - **Optional Features:** On-chip fused matrix transpose (`Bᵀ`) and ReLU activation.
21
+
22
+ ## Machine Learning Ecosystem
23
+
24
+ - **Accurate Low-Precision Training**: since the chip only runs on 8-bit arithmetic but training needs higher precision, I run Quantization-Aware Training, simulating the quantization noise from 32-bit float to 8-bit integer during the training process. This allows minimal accuracy loss during inference.
25
+ - The process is made easier with TorchAO inserting quantization stubs automatically, and ExecuTorch handling fast quantization into INT8 XNNPack operators and low-precision training.
26
+ - **Simplified Model Deployment**: rather than run inference by calling the chip's `matmul` kernel manually while training in a separate `torch.nn` module, a PyTorch compiler backend unifies the process in `torch.nn`. One can train the model using the module, call `torch.compile` with a custom backend, and run inference with `model(input)`.
27
+
28
+ ---
29
+
30
+ ## System Architecture
31
+
32
+ Notice in the diagram that data flows from the input through the blue, yellow, red, purple, and green arrows to go from two input matrices to an output matrix.
33
+
34
+ ![Block Diagram](docs/ECE298A-TPU.png)
35
+
36
+ **Subsystems:**
37
+ - **Processing Element (PE):** Executes MAC operations and propagates intermediate values.
38
+ - **Systolic Array (MMU):** A mesh of 4 PEs wired in systolic fashion.
39
+ - **Unified Memory:** 8-byte register bank storing both input and weight matrices.
40
+ - **Control Unit:** Finite-state machine (FSM) handles sequencing and pipelined computation.
41
+ - **MMU Feeder:** Schedules data flow between memory, computation, and output.
42
+
43
+ ## Pin Configuration
44
+
45
+ ### Dedicated Input Pins ui_in[7:0]
46
+
47
+ Is the primary port for inputting matrices used as operands in the product.
48
+
49
+ ### Dedicated Output Pins uo_out[7:0]
50
+
51
+ 8-bit half-sections of signed 16-bit elements of the 2x2 output matrix.
52
+
53
+ ### Bidirectional GPIO Pins
54
+
55
+ - Index 0 - enabling the loading of elements at dedicated inputs into memory for computation
56
+ - Index 1 - enabling fused transpose of second operand in the product.
57
+ - Index 2 - enabling the application of Rectified Linear Unit (ReLU) activation at the output
58
+
59
+ ### Control Signals
60
+ - Reset rst_n: Active low reset
61
+ - Clock clk: System timing (50 MHz)
62
+
63
+ ## Operation
64
+ 1. Initial Load: loading two 2x2 matrices (8 cycles)
65
+ 2. Continuous streaming: while taking output of the matrices input in 1, the chip allows overlapped input of the next matrices
66
+
67
+ ## How to test
68
+
69
+ See the test directory README for detailed instructions on running pre-silicon tests.
70
+
71
+ ### Available test targets
72
+
73
+ ```bash
74
+ cd test
75
+
76
+ # Run individual module tests
77
+ make test-top # complete system
78
+ make test-memory # memory unit
79
+ make test-systolic-array # systolic array integrity
80
+ make test-control-unit # control unit
81
+ make test-mmu-feeder # matrix unit feeder
82
+ make test-nn # test neural network inference through the chip!!!
83
+
84
+ # Run all tests
85
+ make
86
+ ```
WilliamZhang20_ECE298A-TPU/source/docs/info.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!---
2
+
3
+ This file is used to generate your project datasheet. Please fill in the information below and delete any unused
4
+ sections.
5
+
6
+ You can also include images in this folder and reference them in the markdown. Each image must be less than
7
+ 512 kb in size, and the combined size of all images must be less than 1 MB.
8
+ -->
9
+
10
+ ## How it works
11
+
12
+ This project is a small-scale matrix multiplier inspired by the Tensor Processing Unit (TPU), an AI inference accelerator ASIC developed by Google.
13
+
14
+ It multiplies two 2x2 matrices with signed 8-bit (1 byte) elements to an output matrix with signed 16-bit (2-byte) elements. It does so in a systolic array circuit, where flow of data is facilitated through the connections between a grid of 4 Multiply-Add-Accumulate (MAC) Processing Elements (PEs).
15
+
16
+ To store inputs prior to computation, it contains 2 matrices in memory registers, which occupy a total of 8 bytes.
17
+
18
+ To orchestrate the flow of data between inputs, memory, and outputs, a control unit coordinates state transitions, loads, and stores automatically.
19
+
20
+ Finally, a feeder module interfaces with the matrix multiplier to schedule the inputs and outputs to and from the systolic array.
21
+
22
+ It is capable of running over 99.8 Million Operations Per Second when using a maximum throughput streamed processing pattern to multiply big matrices in 2x2 blocks.
23
+
24
+ ## System Architecture
25
+
26
+ ![Alt text](ECE298A-TPU.png)
27
+
28
+ ### The Processing Element
29
+
30
+ Let's start from the most atomic element of the matrix multiplier unit (MMU): its processing element (PE). The value stored within each PE contributes an element to the output.
31
+
32
+ |Signal Name | Direction |Width | Description |
33
+ |-------------------|---------------|---------|-------------------|
34
+ |clk | input |1 | The clock! |
35
+ |rst | input |1 | Reset |
36
+ |clear | input |1 | Clear PE |
37
+ |a_in | input |8 | Input value |
38
+ |a_out | output |8 | Pass-on of input |
39
+ |b_in | input |8 | Weight value |
40
+ |b_out | output |8 | Pass-on of weight |
41
+ |c_out | output |16 | Accumulation |
42
+
43
+ Since each output element of a matrix multiplication is a sum of products, the PE's primary operation is a multiply-add-accumulate.
44
+
45
+ It will take input terms `a_in` and `b_in`, multiply them, and then add them to the accumulator value `c_out`. Due to the larger values induced by multiplication, the accumulator holds more bits.
46
+
47
+ Since adjacent PEs corresponding to adjacent elements of the output matrix need the same input and weight values, these input terms are sent to `a_out` and `b_out` respectively, which are connected to other PEs by the systolic array.
48
+
49
+ Once the multiplication is done, the control unit will want to clear the PEs so that they can reset the accumulation for the next matrix product, which is facilitated via the automatic `clear` signal.
50
+
51
+ On the other hand, it is non-ideal to reset the entire chip, as it wastes time (an entire clock cycle) and is unnecessary to reset other elements such as memory.
52
+
53
+ The output is 16 bits for the 8-bit inputs, to account for the property of multiplication.
54
+
55
+ ### The Systolic Array
56
+
57
+ |Signal Name | Direction |Width | Description |
58
+ |-------------------|---------------|---------|---------------------------------|
59
+ |clk | input |1 | The clock! |
60
+ |rst | input |1 | Reset |
61
+ |clear | input |1 | Forwarded to PEs |
62
+ |activation | input |1 | Enables ReLU |
63
+ |a_data0 | input |8 | Input value of top-left PE |
64
+ |a_data1 | input |8 | Input value of bottom-left PE |
65
+ |b_data0 | input |8 | Input value of top-left PE |
66
+ |b_data1 | input |8 | Input value of top-right PE |
67
+ |c00 | output |16 | Top-left output value |
68
+ |c01 | output |16 | Top-right output value |
69
+ |c10 | output |16 | Bottom-left output value |
70
+ |c11 | output |16 | Bottom-right output value |
71
+
72
+ The systolic array is a network, or grid, of PEs. In this 2x2 multiplier, the result is a 4-element square matrix, so there are 4 PEs.
73
+
74
+ Internally, the systolic array maintains internal registers and a matrix of accumulators that are read by and written into by the PEs.
75
+
76
+ This includes a 2x3 matrix for the input matrix values, a 3x2 matrix for the weight matrix values, and a 2x2 for the final output.
77
+
78
+ The extra values beyond 2x2 for input & weight matrix values are to allow the PEs at the edge of the grid to send their input/weight values to a register to a "garbage".
79
+
80
+ At each clock cycle, elements will flow between the PEs. The inputs will flow from "left to right", and the weights will flow from "top to bottom". To add new values, inputs have to be provided to the ports at the "left", and weights have to be provided to the ports at the "top".
81
+
82
+ Then, the PEs are instantiated using the Verilog compile-time construct of `genvar`, in which signals of the PE are connected to specified indices of the internal systolic array signals. Makes the code clean and easy to write!
83
+
84
+ Diagram of PE arrangement below:
85
+
86
+ ![Alt text](systolic_array_diagram.png)
87
+
88
+ ### Unified Memory
89
+
90
+ The unified memory module (`memory.v`) is an on-chip store that holds both weight and input matrices for quick access to both values during computations.
91
+
92
+ |Signal Name | Direction | Width | Description |
93
+ |-------------------|-----------|-------|---------------------------------------|
94
+ |clk | input | 1 | System clock |
95
+ |rst | input | 1 | Active-high reset |
96
+ |load_en | input | 1 | Enable signal for matrix loading |
97
+ |addr | input | 3 | Memory address for matrix elements |
98
+ |in_data | input | 8 | Current input matrix |
99
+ |weight[0,1,2,3] | output | 8 | Weight matrix elements |
100
+ |input[0,1,2,3] | output | 8 | Input matrix elements |
101
+
102
+ The only source of the memory will come from `ui_in` ports directly. When `load_en` goes high, the current element (`in_data`) connected to all bits at the dedicated input `ui_in` is loaded into memory at its specified byte address, on the next rising edge.
103
+
104
+ Matrix elements are held internally within an 8x8 register (`sram`). In terms of outputs, `sram[0..3]` maps to `weight[0..3]`, `sram[4..7]` maps to `input[0..3]`. An address (`addr`) is generated by the control unit to correctly load elements into the internal register.
105
+
106
+ The entire memory space of 8 bytes is visible at the output ports asynchronously.
107
+
108
+ ### Control Unit
109
+
110
+ The control unit (`control_unit.v`) serves as the central orchestrator for the entire TPU, coordinating the flow of data between memory, the systolic array, and output collection through a carefully designed finite state machine (FSM).
111
+
112
+ |Signal Name | Direction | Width | Description |
113
+ |-------------------|-----------|-------|---------------------------------------|
114
+ |clk | input | 1 | System clock |
115
+ |rst | input | 1 | Active-high reset |
116
+ |load_en | input | 1 | Enable signal for matrix loading |
117
+ |mem_addr | output | 3 | Memory address for matrix elements |
118
+ |mmu_en | output | 1 | Enable signal for MMU operations |
119
+ |mmu_cycle | output | 3 | Current cycle count for MMU timing |
120
+
121
+ #### State Machine Architecture
122
+
123
+ The control unit implements a 3-state FSM that manages the complete matrix multiplication pipeline:
124
+
125
+ 1. **S_IDLE (2'b00)**: The default waiting state where the system remains until a matrix multiplication operation is requested via the `load_en` signal.
126
+
127
+ 2. **S_LOAD_MATS (2'b01)**: The matrix loading phase when 8 matrix elements (4 for each 2x2 matrix) are sequentially loaded into memory. Because the order is already assumed to be row-major order, left matrix first, then the address value tracked in `mem_addr` will only increment when `load_en` is asserted, from 0 up until 7 when it resets to get ready for future input matrices.
128
+
129
+ 3. **S_MMU_FEED_COMPUTE_WB (2'b10)**: The computation and output phase, taking 8 cycles total when the systolic array performs the last few operations of matrix multiplication, and makes the 4 outputs available in 16 bits each, 1 every 2 cycles. At the same time, the chip is available for streamed processing so that 8 new elements, representing 2 new 2x2 matrices, can be input for the next round of outputs occurring right after the current round.
130
+
131
+ #### Orchestration Logic
132
+
133
+ The control unit coordinates several critical functions:
134
+
135
+ - **Memory Interface Management**: Through the `mem_addr` output (`control_unit.v:9`), it generates sequential memory addresses (0-7) during the loading and streaming phase, ensuring matrix elements are stored in the correct memory locations for later retrieval.
136
+
137
+ - **MMU Timing Control**: The `mmu_cycle` signal (`control_unit.v:13`) provides precise timing information to the MMU feeder module, enabling it to:
138
+ - Feed correct matrix elements to the systolic array at appropriate cycles
139
+ - Determine when computation results are ready for output
140
+ - Clear processing elements after computation completion
141
+
142
+ - **Pipeline Coordination**: The `mmu_en` signal (`control_unit.v:12`) acts as the master enable for the entire computation pipeline, transitioning from low during loading to high during computation phases. This is to ensure that elements are only loaded into the systolic array during the first round of set up inputs when all inputs are ready. Otherwise, if the chip is not initialized with all inputs in memory, it cannot complete computation and hence should not start it.
143
+ - However, for maximum throughput, the `mmu_en` signal is asserted when 6 of the 8 elements making up 2 matrices are input, so that computation begins when we have the elements to produce enough outputs, and is overlapped with matrix loads, and completes in the middle of the output cycle.
144
+
145
+ - **Streamed Processing**: During the 8-cycle output phase, the chip is available to take in 8 new input bytes provided at the `ui_in` ports. This is a streamlined flow of execution, as the input and output ports will henceforth be constantly used. After this 8-cycle output phase, the input bytes input during that phase can now begin outputting, while subsequent inputs can be further written.
146
+
147
+ - However, if the user chooses not to write new inputs during the output phase, the outputs continue unabated, and the systolic array matrix accumulators automatically reset once the outputs are complete.
148
+
149
+ #### Critical Timing Relationships
150
+
151
+ The control unit implements sophisticated timing logic based on the systolic array's computational pipeline:
152
+
153
+ - **Cycle 0**: Initial data feeding begins (a00×b00 starts)
154
+ - **Cycle 1**: First partial products computed, additional data fed
155
+ - **Cycle 2**: First result (c00) becomes available, Next input group can begin.
156
+ - Future value of A00 expected at input during streamed processing
157
+ - **Cycle 3**: Second and third results (c01, c10) become available simultaneously
158
+ - Future value of A01 expected at input
159
+ - **Cycle 4**: Final result (c11) becomes available
160
+ - Future value of A10 expected at input
161
+ - **Cycle 5**: All outputs remain stable.
162
+ - Future value of A11 expected at input
163
+ - **Cycle 6**: Output continues
164
+ - Future value of B00 expected at input
165
+ - **Cycle 7**: Output continues
166
+ - Future value of B01 expected at input
167
+ - **Back to Cycle 0**: Output continues. Since 6 of 8 of the next input elements would be on chip, the next cycle of data feeding begins
168
+ - Future value of B10 expected at input
169
+ - **Cycle 1 again**: Last output element, first partial products of next output are computed.
170
+ - Future value of B11 expected at input
171
+ - **Cycle 2 again**: Repeat of description above, etc.
172
+
173
+ #### State Transition Logic
174
+
175
+ State transitions are triggered by specific conditions:
176
+ - `S_IDLE → S_LOAD_MATS`: When `load_en` is asserted (`control_unit.v:30-32`)
177
+ - `S_LOAD_MATS → S_MMU_FEED_COMPUTE_WB`: When all 8 elements are loaded (`mem_addr == 3'b111`) (`control_unit.v:37-38`)
178
+ - `S_LOAD_MATS → S_MMU_FEED_COMPUTE_WB`: When all 8 elements are loaded (`mat_elems_loaded == 3'b111`) (`control_unit.v:37-38`)
179
+ - Afterwards, the state machine stays in `S_MMU_FEED_COMPUTE_WB`, but essentially cycles through counts of `mem_addr` and `mmu_cycle` to keep track of the memory address writing for streamed processing and maintain a rhythm for the Matrix Unit Feeder.
180
+
181
+ #### Integration with Other Modules
182
+
183
+ The control unit interfaces with all major TPU components:
184
+ - **Memory Module**: Provides addressing (`mem_addr`) and coordinates write operations during loading
185
+ - **MMU Feeder**: Supplies enable signal (`mmu_en`) and cycle timing (`mmu_cycle`) for data routing and output selection
186
+ - **Top-level TPU**: Receives external `load_en` control signal and coordinates the entire operation sequence
187
+
188
+ This design ensures that matrix multiplication operations proceed automatically once initiated, with the control unit handling all timing dependencies and data flow coordination between the TPU's constituent modules.
189
+
190
+ ### The Matrix Unit Feeder
191
+
192
+ The Matrix Unit Feeder (in `mmu_feeder.v`) is the interface between the control unit and the computational unit (MMU), facilitating smooth data flow between the internal components of the TPU and outputs to the host. When enabled, its role is to either feed the expected matrix data from host to MMU, or to direct computed matrix outputs from MMU to host; this is decided based on the mmu_cycle defined and cycled through (0-7 repeating constantly) by the control unit.
193
+
194
+ |Signal Name | Direction | Width | Description |
195
+ |-------------------|-----------|-------|---------------------------------------|
196
+ |clk | input | 1 | System clock |
197
+ |rst | input | 1 | Active-high reset |
198
+ |en | input | 1 | Enable signal for MMU operations |
199
+ |mmu_cycle | input | 3 | Current cycle count for timing |
200
+ |weight[0,1,2,3] | input | 8 | Weight matrix from memory |
201
+ |input[0,1,2,3] | input | 8 | Input matrix from memory |
202
+ |c[00,01,10,11] | input | 8 | Computed element output from MMU |
203
+ |done | output | 1 | Signal to host that output is ready |
204
+ |host_outdata | output | 8 | Data register to output to host |
205
+ |a_data[0,1] | output | 8 | Output A to MMU for computation |
206
+ |b_data[0,1] | output | 8 | Output B to MMU for computation |
207
+
208
+ The weight and input matrices are taken from memory. The feeder will set the expected values of a_data0/1 and b_data0/1 depending on the value of mmu_cycle. Output values are 16 bits, but the maximum data width of the output ports is 8-bit so we have to feed half an element a cycle!
209
+ - **Cycle 0**:
210
+ - Blank data is sent to the output port. a_data0 = weight[0], b_data0 = input[0], done = 0
211
+ - **Cycle 1**:
212
+ - During the initial cycle when the memory is first populated, cycle 1 occurs during the input of the second matrix, which also overlaps with compute as the counter has already incremented.
213
+ - This module will send a value to its output that is equal to the lower 8 bits of the product of the A00 and B00, which are the top-left elements of the matrices. This is due to the settings that enable streamed processing. The chip should therefore ignore that output.
214
+ - In terms of feeding the systolic array, if fused transpose is disabled, then a_data0 = weight[1], a_data1 = weight[2], b_data0 = input[2], b_data1 = input[1].
215
+ - If fused transpose is enabled, the b_data0 and b_data1 values are swapped.
216
+ - **Cycle 2**:
217
+ - In this cycle, the output counter is 0. The output sends the upper 8 bits of C00, the top-left output element.
218
+ - To signal that the outputs are coming, the done signal is asserted, which is visible from the user.
219
+ - The values given to the systolic array are a_data1 = weight[3], b_data1 = input[3].
220
+ - **Cycle 3**:
221
+ - In this cycle, the output counter is 1. The output sends the lower 8 bits of C00, the top-left output element.
222
+ - Since we have finished sending all the last input values to the systolic array, intermediate feeds will have a value of 0, having no effect on the operation of MAC units.
223
+ - **Cycle 4**:
224
+ - In this cycle, the output counter is 2. The output sends the upper 8 bits of C01, the top-right output element.
225
+ - **Cycle 5**:
226
+ - In this cycle, the output counter is 3. The output sends the lower 8 bits of C01, the top-right output element.
227
+ - **Cycle 6**:
228
+ - In this cycle, the output counter is 4. The output sends the upper 8 bits of C10, the bottom-left output element.
229
+ - **Cycle 7**:
230
+ - In this cycle, the output counter is 5. The output sends the lower 8 bits of C10, the bottom-left output element.
231
+ - **Back to Cycle 0**: (set by control unit)
232
+ - In this cycle, the output counter is 6. The output sends the upper 8 bits of C11, the bottom-right output element.
233
+ - The clear signal is asserted to make way for the computation of the next input to accumulate from 0.
234
+ - Therefore, to preserve the lower 8 bits of C11 output in the next cycle, we assign the value to a "pipeline register", aptly named `tail_hold` as it holds the tail of the output.
235
+ - The systolic array feeding pattern is the exact same as was shown above.
236
+ - **Cycle 1 Again**:
237
+ - In this cycle, the output counter is 7. The output sends the lower 8 bits of C11, the bottom-right output element.
238
+ - The output count resets to 0 automatically.
239
+
240
+ For similar details on timing relationships, see **Critical Timing Relationships** above, in the Control Unit section.
241
+
242
+ ## How to test
243
+
244
+ Notation: the matrix element A_xy denotes a value in the xth row and yth column of the matrix A.
245
+
246
+ The module will assume an order of input of A matrix values and B matrix values, and outputs. That is, it is expected that inputs come in order of A00, A01, A10, A11, B00, B01, B10, B11, and the outputs will come in the order of C00, C01, C10, C11. This keeps the chip simple and avoids extra logic/user input.
247
+
248
+ ### Setup
249
+
250
+ 1. Power Supply: Connect the chip to a stable power supply as per the voltage specifications.
251
+ 2. Clock Signal: Provide a stable clock signal to the clk pin.
252
+ 3. Reset: Ensure the rst_n pin is properly connected to allow resetting the chip.
253
+
254
+ ### A Matrix Multiplication Round
255
+
256
+ 1. Initial Reset
257
+ - Perform a reset by pulling the `rst_n` pin low to 0, and waiting for a single clock signal before pulling it back high to 1. This sets initial state values.
258
+ 2. Initial Matrix Load
259
+ - Load 8 matrix elements into the chip, one per cycle. For example, if your matrices are [[1, 2], [3, 4]], [[5, 6], [7, 8]], you would load in the row-major-first-matrix-first order of 1, 2, 3, 4, 5, 6, 7, 8. This occurs by setting the 8 `ui_in` pins to the 8-bit value of the set matrix element, and waiting one clock cycle before the next can be loaded.
260
+ 3. Collect Output & Send Next Inputs
261
+ - Thanks to the aggressive pipelining implemented in the chip, once the matrices are loaded, you can already start collecting output!
262
+ - Output elements will be 16 bits each, but since the output port is only 8 bits, one element is output in 2 cycles, with the upper half (bits 15 - 8) in the first cycle, and the lower half (bits 7 - 0) in the second cycle.
263
+ - To collect outputs, wait for a single clock edge, and then read the `uo_out` pin for the 8-bit value. Repeat again to get the full 16-bit value. Overall, the matrix output at `uo_out` will be in the order of c_00, c_01, c_10, c_11, taking 8 cycles to output 4 elements.
264
+ - For the above example, the output would be in the order of [19, 22, 43, 50], starting from the cycle right after you finish your last load, and ending 8 cycles afterwards.
265
+ - It is also recommended that in those same 8 cycles, the next 2 input matrices are sent to the `ui_in` pin. That will be 1 element per cycle for 2 serial, row-major 2x2 matrix inputs, for 8 cycles total.
266
+ 4. Repeat
267
+ 5. Input Options
268
+ - Note that if new matrices are not input during the output cycle, i.e. the `ui_in` pin is set to 0, then it is the equivalent of "flushing the pipeline", as once the output is complete, it is the equivalent of starting at step 2.
269
+
270
+
271
+ Below is a visual of an example matrix multiplication round through the systolic array. Note that while it behaves similarly to the chip, the chip's matrix inputs to the systolic array are the diagram's order inverted across the matrix diagonal.
272
+
273
+ ![Alt text](Matrix-Multiplication-Round-Systolic.png)
274
+
275
+ ### Matrix Multiplication Options
276
+
277
+ The example shown above is a very simple and plain 2x2 matrix multiplication. However, this TPU chip offers additional options.
278
+
279
+ The first is the ability to compute the product $AB^T$, which is the first matrix multiplied by the transpose of the second. This saves time computing a transpose taken by a CPU instruction in $O(n^2)$ time, where n is a rough measure of the matrix dimension. Instead, it is fused with the entire process, taking no extra time.
280
+
281
+ The second is the ability to run the Rectified Linear Unit (ReLU) activation function, commonly seen in neural networks for approximating non-linear patterns in data.
282
+
283
+ The third, which is provided as a software interface option, is the ability to multiply bigger matrices, of all compatible dimensions, in 2x2 blocks.
284
+
285
+ ### Example Result
286
+
287
+ Below is a timing diagram showing signal progression for a streamed processing pattern of the TPU chip, generated by GTKWave:
288
+
289
+ ![Alt text](TPU-GTKWave.png)
290
+
291
+ The part highlighting Input/Output streaming is the fact that `mem_addr`, which increments whenever load is enabled, keeps incrementing like 0-7, 0-7, etc, and so is the output count, albeit slightly offset in time.
292
+
293
+ One can also observe the pattern in which elements are fed into the systolic array, as seen by `a_data0`, `a_data1`, `b_data0`, `b_data1` signals, and the output "waterfall" flow of output appearances seen inside `c00`, `c01`, `c10`, `c11`.
294
+
295
+ ### Scaling it up
296
+
297
+ Earlier, it was mentioned that you could scale the multiplication up to any dimension. What else does this mean? AI inference! We are able to run forward inference of a Quantization-Aware-Trained (QAT) machine learning model using the chip's logic.
298
+
299
+ The model is trained to recognize black-and-white images of single handwritten digits from the MNIST dataset.
300
+
301
+ In the demonstration, which is kept simple, I run QAT on the local PC, and then run forward inference with this model on the chip. It was able to successfully recognize 2 out of 3 images in a test batch, which is far superior to a coin flip.
302
+
303
+ ## External hardware
304
+
305
+ An external microcontroller will send signals over the chip interface, including the clock signal, which will allow it to coordinate I/O on clock edges.
306
+
307
+ ## Acknowledgements
308
+
309
+ * William Zhang: Processing Elements, Systolic Array, Module Compilation & Integration, Pipelining Optimization
310
+ * Ethan Leung: Matrix Unit Feeder
311
+ * Guhan Iyer: Unified Memory
312
+ * Yash Karthik: Control Unit
313
+ * ECE 298A Course Staff: Prof. John Long, Prof. Vincent Gaudet, Refik Yalcin
314
+
315
+ An earlier iteration of this project is located at [this](https://github.com/YashKarthik/tpu) repository, in which the original plan was to submit to the IHP25B shuttle.
WilliamZhang20_ECE298A-TPU/source/info.yaml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Tiny Tapeout project information
2
+ project:
3
+ title: "Tiny Tapeout Tensor Processing Unit" # Project title
4
+ author: "William Zhang, Yash Karthik, Guhan Iyer, Ethan Leung" # Your name
5
+ discord: "" # Your discord username, for communication and automatically assigning you a Tapeout role (optional)
6
+ description: "multiplies matrices" # One line description of what your project does
7
+ language: "Verilog" # other examples include SystemVerilog, Amaranth, VHDL, etc
8
+ clock_hz: 50000000 # Clock frequency in Hz (or 0 if not applicable)
9
+
10
+ # How many tiles your design occupies? A single tile is about 167x108 uM.
11
+ tiles: "1x2" # Valid values: 1x1, 1x2, 2x2, 3x2, 4x2, 6x2 or 8x2
12
+
13
+ # Your top module name must start with "tt_um_". Make it unique by including your github username:
14
+ top_module: "tt_um_tpu"
15
+
16
+ # List your project's source files here.
17
+ # Source files must be in ./src and you must list each source file separately, one per line.
18
+ # Don't forget to also update `PROJECT_SOURCES` in test/Makefile.
19
+ source_files:
20
+ - "tpu.v"
21
+ - "systolic_array_2x2.v"
22
+ - "PE.v"
23
+ - "memory.v"
24
+ - "control_unit.v"
25
+ - "mmu_feeder.v"
26
+ - "delay_cell.v"
27
+
28
+ # The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
29
+ # This section is for the datasheet/website. Use descriptive names (e.g., RX, TX, MOSI, SCL, SEG_A, etc.).
30
+ pinout:
31
+ # Inputs
32
+ ui[0]: "IN0"
33
+ ui[1]: "IN1"
34
+ ui[2]: "IN2"
35
+ ui[3]: "IN3"
36
+ ui[4]: "IN4"
37
+ ui[5]: "IN5"
38
+ ui[6]: "IN6"
39
+ ui[7]: "IN7"
40
+
41
+ # Outputs
42
+ uo[0]: "OUT0"
43
+ uo[1]: "OUT1"
44
+ uo[2]: "OUT2"
45
+ uo[3]: "OUT3"
46
+ uo[4]: "OUT4"
47
+ uo[5]: "OUT5"
48
+ uo[6]: "OUT6"
49
+ uo[7]: "OUT7"
50
+
51
+ # Bidirectional pins
52
+ uio[0]: "LOAD_EN (input)"
53
+ uio[1]: "TRANSPOSE (input)"
54
+ uio[2]: "ACTIVATION (input)"
55
+ uio[3]: "Unused"
56
+ uio[4]: "Unused"
57
+ uio[5]: "Unused"
58
+ uio[6]: "Unused"
59
+ uio[7]: "DONE (output)"
60
+
61
+ # Do not change!
62
+ yaml_version: 6
WilliamZhang20_ECE298A-TPU/source/src/PE.v ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module PE #(
2
+ parameter WIDTH = 8
3
+ )(
4
+ input wire clk,
5
+ input wire rst,
6
+ input wire clear,
7
+ input wire signed [WIDTH-1:0] a_in,
8
+ input wire signed [WIDTH-1:0] b_in,
9
+
10
+ output reg signed [WIDTH-1:0] a_out,
11
+ output reg signed [WIDTH-1:0] b_out,
12
+
13
+ output reg signed [WIDTH*2-1:0] c_out
14
+ );
15
+
16
+ always @(posedge clk) begin
17
+ a_out <= a_in;
18
+ b_out <= b_in;
19
+ if (rst) begin
20
+ c_out <= 0;
21
+ a_out <= 0;
22
+ b_out <= 0;
23
+ end else if (clear) begin
24
+ c_out <= a_in * b_in;
25
+ end else begin
26
+ c_out <= c_out + (a_in * b_in);
27
+ end
28
+ end
29
+
30
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "//": "DO NOT EDIT THIS FILE before reading the comments below:",
3
+
4
+ "//": "This is the default configuration for Tiny Tapeout projects. It should fit most designs.",
5
+ "//": "If you change it, please make sure you understand what you are doing. We are not responsible",
6
+ "//": "if your project fails because of a bad configuration.",
7
+
8
+ "//": "!!! DO NOT EDIT THIS FILE unless you know what you are doing !!!",
9
+
10
+ "//": "If you get stuck with this config, please open an issue or get in touch via the discord.",
11
+
12
+ "//": "Here are some of the variables you may want to change:",
13
+
14
+ "//": "PL_TARGET_DENSITY_PCT - You can increase this if Global Placement fails with error GPL-0302.",
15
+ "//": "Users have reported that values up to 80 worked well for them.",
16
+ "PL_TARGET_DENSITY_PCT": 80,
17
+
18
+ "//": "CLOCK_PERIOD - Increase this in case you are getting setup time violations.",
19
+ "//": "The value is in nanoseconds, so 20ns == 50MHz.",
20
+ "CLOCK_PERIOD": 20,
21
+
22
+ "//": "Hold slack margin - Increase them in case you are getting hold violations.",
23
+ "PL_RESIZER_HOLD_SLACK_MARGIN": 0.2,
24
+ "GRT_RESIZER_HOLD_SLACK_MARGIN": 0.1,
25
+
26
+ "//": "Enable core optimization (buffering/sizing) during placement and routing.",
27
+ "PL_RESIZER_DESIGN_OPTIMIZATIONS": 1,
28
+ "GRT_RESIZER_DESIGN_OPTIMIZATIONS": 1,
29
+
30
+ "//": "Increase setup margin to encourage Resizer to be more aggressive with upsizing/buffering.",
31
+ "PL_RESIZER_SETUP_SLACK_MARGIN": 0.5,
32
+
33
+ "//": "Enable antenna diode insertion for fixing antenna ratio violations",
34
+ "DIODE_INSERTION_STRATEGY": 4,
35
+ "ANTENNA_DIODE_CELL": "sky130_fd_sc_hd__diode_2",
36
+
37
+ "//": "RUN_LINTER, LINTER_INCLUDE_PDK_MODELS - Disabling the linter is not recommended!",
38
+ "RUN_LINTER": 1,
39
+ "LINTER_INCLUDE_PDK_MODELS": 1,
40
+
41
+ "//": "If you need a custom clock configuration, read the following documentation first:",
42
+ "//": "https://tinytapeout.com/faq/#how-can-i-map-an-additional-external-clock-to-one-of-the-gpios",
43
+ "CLOCK_PORT": "clk",
44
+
45
+ "//": "Configuration docs: https://openlane.readthedocs.io/en/latest/reference/configuration.html",
46
+
47
+ "//": "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
48
+ "//": "!!! DO NOT CHANGE ANYTHING BELOW THIS POINT !!!",
49
+ "//": "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
50
+
51
+ "//": "Save some time",
52
+ "RUN_KLAYOUT_XOR": 0,
53
+ "RUN_KLAYOUT_DRC": 0,
54
+
55
+ "//": "Don't put clock buffers on the outputs",
56
+ "DESIGN_REPAIR_BUFFER_OUTPUT_PORTS": 0,
57
+
58
+ "//": "Reduce wasted space",
59
+ "TOP_MARGIN_MULT": 1,
60
+ "BOTTOM_MARGIN_MULT": 1,
61
+ "LEFT_MARGIN_MULT": 6,
62
+ "RIGHT_MARGIN_MULT": 6,
63
+
64
+ "//": "Absolute die size",
65
+ "FP_SIZING": "absolute",
66
+
67
+ "GRT_ALLOW_CONGESTION": 1,
68
+
69
+ "FP_IO_HLENGTH": 2,
70
+ "FP_IO_VLENGTH": 2,
71
+
72
+ "FP_PDN_VPITCH": 38.87,
73
+
74
+ "//": "Clock",
75
+ "RUN_CTS": 1,
76
+
77
+ "//": "Don't use power rings or met5 layer",
78
+ "FP_PDN_MULTILAYER": 0,
79
+ "RT_MAX_LAYER": "met4",
80
+
81
+ "//": "MAGIC_DEF_LABELS may cause issues with LVS",
82
+ "MAGIC_DEF_LABELS": 0,
83
+
84
+ "//": "Only export pin area in LEF (without any connected nets)",
85
+ "MAGIC_WRITE_LEF_PINONLY": 1
86
+ }
WilliamZhang20_ECE298A-TPU/source/src/control_unit.v ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ `default_nettype none
2
+
3
+ module control_unit (
4
+ input wire clk,
5
+ input wire rst,
6
+ input wire load_en,
7
+
8
+ // Memory interface
9
+ output reg [2:0] mem_addr,
10
+
11
+ // MMU feeding control
12
+ output reg mmu_en,
13
+ output reg [2:0] mmu_cycle,
14
+
15
+ // For debugging
16
+ output wire [1:0] state_out
17
+ );
18
+
19
+ // STATES
20
+ localparam [1:0] S_IDLE = 2'b00;
21
+ localparam [1:0] S_LOAD_MATS = 2'b01;
22
+ localparam [1:0] S_MMU_FEED_COMPUTE_WB = 2'b10;
23
+
24
+ reg [1:0] state, next_state;
25
+
26
+ assign state_out = state;
27
+
28
+ // Next state logic
29
+ always @(*) begin
30
+ next_state = state;
31
+
32
+ case (state)
33
+ S_IDLE: begin
34
+ if (load_en) begin
35
+ next_state = S_LOAD_MATS;
36
+ end
37
+ end
38
+
39
+ S_LOAD_MATS: begin
40
+ // All 8 elements loaded (4 for each matrix)
41
+ if (mem_addr == 3'b111) begin
42
+ next_state = S_MMU_FEED_COMPUTE_WB;
43
+ end
44
+ end
45
+
46
+ S_MMU_FEED_COMPUTE_WB:
47
+ next_state = S_MMU_FEED_COMPUTE_WB;
48
+ /* MMU CYCLE PATTERN
49
+ * Cycle 0: Start feeding data (a00×b00 starts)
50
+ * Cycle 1: First partial products computed, more data fed
51
+ * Cycle 2: c00 ready (a00×b00 + a01×b10), is output, while take in next a00
52
+ * Cycle 3: c01 and c10 ready simultaneously, read next a01:
53
+ * c01 = a00×b01 + a01×b11
54
+ * c10 = a10×b00 + a11×b10
55
+ * Cycle 4: c11 ready (a10×b01 + a11×b11), read next a10
56
+ * Cycle 5: All outputs remain valid, read next a11
57
+ * Cycle 6: Keep outputting, read next b00
58
+ * Cycle 7: Keep outputting, read next b01
59
+ * Back to cycle 0: Start feeding data (a00×b00 starts), keep outputting, read next b10
60
+ * Cycle 1: First partial products computed, keep outputting, read next b01
61
+ * Cycle 2: c00 ready, begin output, take in next a00, pattern continues...
62
+ */
63
+
64
+ default: begin
65
+ next_state = S_IDLE;
66
+ end
67
+ endcase
68
+ end
69
+
70
+ // State Machine
71
+ always @(posedge clk) begin
72
+ if (rst) begin
73
+ state <= S_IDLE;
74
+ mmu_cycle <= 0;
75
+ mmu_en <= 0;
76
+ mem_addr <= 0;
77
+ end else begin
78
+ state <= next_state;
79
+ mem_addr <= 0;
80
+ case (state)
81
+ S_IDLE: begin
82
+ mmu_cycle <= 0;
83
+ mmu_en <= 0;
84
+ if (load_en) begin
85
+ mem_addr <= mem_addr + 1;
86
+ end
87
+ end
88
+
89
+ S_LOAD_MATS: begin
90
+ if (load_en) begin
91
+ mem_addr <= mem_addr + 1;
92
+ end
93
+
94
+ if (mem_addr == 3'b101) begin
95
+ mmu_en <= 1;
96
+ end else if (mem_addr >= 3'b110) begin
97
+ mmu_en <= 1;
98
+ mmu_cycle <= mmu_cycle + 1;
99
+ if (mem_addr == 3'b111) begin
100
+ mem_addr <= 0;
101
+ end
102
+ end
103
+ end
104
+
105
+ S_MMU_FEED_COMPUTE_WB: begin
106
+ // Now: the TPU will be forever stuck in this cycle...
107
+ // Cycles through counter of 8...
108
+ // In each cycle of 8 counts, it will: output 4 16-bit output elements the result of the previous matmul,
109
+ // and take in 8 new 8-bit elements
110
+ if (load_en) begin
111
+ mem_addr <= mem_addr + 1;
112
+ end
113
+ mmu_cycle <= mmu_cycle + 1; // allow mmu_cycle to continue incrementing, permitting a pipeline flush
114
+ if (mmu_cycle == 3'b111) begin
115
+ mmu_cycle <= 0;
116
+ end else if (mmu_cycle == 1) begin
117
+ mem_addr <= 0;
118
+ end
119
+ end
120
+
121
+ default: begin
122
+ mmu_cycle <= 0;
123
+ mmu_en <= 0;
124
+ end
125
+ endcase
126
+ end
127
+ end
128
+
129
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/delay_cell.v ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module buffer (
2
+ output wire X ,
3
+ input wire A ,
4
+ input wire VPWR,
5
+ input wire VGND,
6
+ input wire VPB ,
7
+ input wire VNB
8
+ );
9
+
10
+ assign X = A;
11
+
12
+ wire _unused;
13
+ assign _unused = &{ 1'b0, VPWR, VGND, VPB, VNB };
14
+
15
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/memory.v ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ `default_nettype none
2
+
3
+ module memory (
4
+ input wire clk,
5
+ input wire rst,
6
+ input wire load_en,
7
+ input wire [2:0] addr, // MSB selects matrix (0: weights, 1: inputs), [1:0] selects element
8
+ input wire [7:0] in_data, // Fixed from reg to wire to match tt_um_tpu.v
9
+ output wire [7:0] weight0, weight1, weight2, weight3, // 2x2 matrix A elements, 1 byte each
10
+ output wire [7:0] input0, input1, input2, input3 // 2x2 matrix B elements, 1 byte each
11
+ );
12
+
13
+ reg [7:0] sram [0:7]; // 8 locations: 0-3 for weights, 4-7 for inputs
14
+ integer i;
15
+
16
+ always @(posedge clk) begin
17
+ if (rst) begin
18
+ for (i = 0; i < 8; i = i + 1) begin
19
+ sram[i] <= 8'b0;
20
+ end
21
+ end else if (load_en) begin
22
+ sram[addr] <= in_data;
23
+ end
24
+ end
25
+
26
+ // asynchronous read
27
+ assign weight0 = sram[0];
28
+ assign weight1 = sram[1];
29
+ assign weight2 = sram[2];
30
+ assign weight3 = sram[3];
31
+ assign input0 = sram[4];
32
+ assign input1 = sram[5];
33
+ assign input2 = sram[6];
34
+ assign input3 = sram[7];
35
+
36
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/mmu_feeder.v ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ `default_nettype none
2
+
3
+ module mmu_feeder (
4
+ input wire clk,
5
+ input wire rst,
6
+ input wire en,
7
+ input wire [2:0] mmu_cycle,
8
+
9
+ input wire transpose,
10
+
11
+ /* Memory module interface */
12
+ input wire [7:0] weight0, weight1, weight2, weight3,
13
+ input wire [7:0] input0, input1, input2, input3,
14
+
15
+ /* systolic array -> feeder */
16
+ input wire signed [15:0] c00, c01, c10, c11,
17
+
18
+ /* feeder -> mmu */
19
+ output wire clear,
20
+ output wire [7:0] a_data0,
21
+ output wire [7:0] a_data1,
22
+ output wire [7:0] b_data0,
23
+ output wire [7:0] b_data1,
24
+
25
+ /* feeder -> rpi */
26
+ output wire done,
27
+ output reg [7:0] host_outdata
28
+ );
29
+
30
+ // Done signal for output phase
31
+ assign done = en && (mmu_cycle >= 3'b010);
32
+ assign clear = (mmu_cycle == 3'b000);
33
+
34
+ // Output counter for selecting c_out
35
+ reg [2:0] output_count;
36
+
37
+ assign a_data0 = en ?
38
+ (mmu_cycle == 3'd0) ? weight0 :
39
+ (mmu_cycle == 3'd1) ? weight1 : 0 : 0;
40
+
41
+ assign a_data1 = en ?
42
+ (mmu_cycle == 3'd1) ? weight2 :
43
+ (mmu_cycle == 3'd2) ? weight3 : 0 : 0;
44
+
45
+ assign b_data0 = en ?
46
+ (mmu_cycle == 3'd0) ? input0 :
47
+ (mmu_cycle == 3'd1) ?
48
+ transpose ? input1 : input2 : 0 : 0;
49
+
50
+ assign b_data1 = en ?
51
+ (mmu_cycle == 3'd1) ?
52
+ transpose ? input2 : input1 :
53
+ (mmu_cycle == 3'd2) ? input3 : 0 : 0;
54
+
55
+ reg [7:0] tail_hold; // since clear occurs at output of 4th element we want to preserve it... :)
56
+
57
+ // Sequential logic for control and data outputs
58
+ always @(posedge clk) begin
59
+ if (rst) begin
60
+ output_count <= 0;
61
+ tail_hold <= 8'b0;
62
+ end else begin
63
+ if (en) begin
64
+ // Update output_count during output phase
65
+ if (mmu_cycle == 1) begin
66
+ output_count <= 0;
67
+ end else if (mmu_cycle == 7) begin
68
+ tail_hold <= c11[7:0];
69
+ output_count <= output_count + 1;
70
+ end else begin
71
+ output_count <= output_count + 1;
72
+ end
73
+ end
74
+ end
75
+ end
76
+
77
+ // Combinational logic for host_outdata with corrected saturation
78
+ always @(*) begin
79
+ host_outdata = 8'b0; // Default to avoid latch
80
+ if (en) begin
81
+ case (output_count)
82
+ 3'b000: host_outdata = c00[15:8];
83
+ 3'b001: host_outdata = c00[7:0];
84
+ 3'b010: host_outdata = c01[15:8];
85
+ 3'b011: host_outdata = c01[7:0];
86
+ 3'b100: host_outdata = c10[15:8];
87
+ 3'b101: host_outdata = c10[7:0];
88
+ 3'b110: host_outdata = c11[15:8];
89
+ 3'b111: host_outdata = tail_hold;
90
+ endcase
91
+ end
92
+ end
93
+
94
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/systolic_array_2x2.v ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module systolic_array_2x2 #(
2
+ parameter WIDTH = 8
3
+ )(
4
+ input wire clk,
5
+ input wire rst,
6
+ input wire clear,
7
+ input wire activation,
8
+
9
+ input wire [WIDTH-1:0] a_data0,
10
+ input wire [WIDTH-1:0] a_data1,
11
+ input wire [WIDTH-1:0] b_data0,
12
+ input wire [WIDTH-1:0] b_data1,
13
+
14
+ output wire [WIDTH*2-1:0] c00,
15
+ output wire [WIDTH*2-1:0] c01,
16
+ output wire [WIDTH*2-1:0] c10,
17
+ output wire [WIDTH*2-1:0] c11
18
+ );
19
+
20
+ // Internal signals between PEs
21
+ wire [WIDTH-1:0] a_wire [0:1][0:2];
22
+ wire [WIDTH-1:0] b_wire [0:2][0:1];
23
+ wire signed [WIDTH*2-1:0] c_array [0:1][0:1];
24
+
25
+ // Input loading at top-left
26
+ assign a_wire[0][0] = a_data0;
27
+ assign a_wire[1][0] = a_data1;
28
+ assign b_wire[0][0] = b_data0;
29
+ assign b_wire[0][1] = b_data1;
30
+
31
+ genvar i, j;
32
+ generate
33
+ for (i = 0; i < 2; i = i + 1) begin : row
34
+ for (j = 0; j < 2; j = j + 1) begin : col
35
+ PE #(.WIDTH(WIDTH)) pe_inst (
36
+ .clk(clk),
37
+ .rst(rst),
38
+ .clear(clear),
39
+ .a_in(a_wire[i][j]),
40
+ .b_in(b_wire[i][j]),
41
+ .a_out(a_wire[i][j+1]),
42
+ .b_out(b_wire[i+1][j]),
43
+ .c_out(c_array[i][j])
44
+ );
45
+ end
46
+ end
47
+ endgenerate
48
+
49
+ // Combinational logic for output with optional ReLU
50
+ assign c00 = activation ? (c_array[0][0] < 0 ? 0 : c_array[0][0]) : c_array[0][0];
51
+ assign c01 = activation ? (c_array[0][1] < 0 ? 0 : c_array[0][1]) : c_array[0][1];
52
+ assign c10 = activation ? (c_array[1][0] < 0 ? 0 : c_array[1][0]) : c_array[1][0];
53
+ assign c11 = activation ? (c_array[1][1] < 0 ? 0 : c_array[1][1]) : c_array[1][1];
54
+
55
+ endmodule
WilliamZhang20_ECE298A-TPU/source/src/tpu.v ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright (c) 2025 William
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ `default_nettype none
7
+
8
+ module tt_um_tpu (
9
+ input wire [7:0] ui_in, // data input
10
+ output wire [7:0] uo_out, // data output (lower 8 bits of result)
11
+ input wire [7:0] uio_in, // control input
12
+ output wire [7:0] uio_out, // done signal on uio_out[7]
13
+ output wire [7:0] uio_oe, // only uio_out[7] driven
14
+ input wire ena,
15
+ input wire clk,
16
+ input wire rst_n
17
+ );
18
+
19
+ wire load_en = uio_in[0];
20
+ wire transpose = uio_in[1];
21
+ wire activation = uio_in[2];
22
+
23
+ wire mmu_en; // internal signal
24
+ reg clear; // reset of PEs only
25
+ wire [2:0] mem_addr; // 3-bit address for matrix and element selection
26
+
27
+ wire [2:0] mmu_cycle; // compute/output cycle count - 3 bit
28
+
29
+ wire [7:0] weight0, weight1, weight2, weight3;
30
+ wire [7:0] input0, input1, input2, input3;
31
+
32
+ wire [15:0] outputs [0:3]; // raw accumulations (16-bit)
33
+ wire [7:0] out_data; // sent to CPU
34
+ // Ports of the systolic Array
35
+ wire [7:0] a_data0, b_data0, a_data1, b_data1;
36
+
37
+ wire done;
38
+ wire [1:0] state;
39
+
40
+ wire [7:0] stage1, stage2, stage3;
41
+
42
+ wire [7:0] uio_s1, uio_s2, uio_s3, uio_s4;
43
+
44
+ // Module Instantiations
45
+ memory mem (
46
+ .clk(clk),
47
+ .rst(~rst_n),
48
+ .load_en(load_en),
49
+ .addr(mem_addr),
50
+ .in_data(ui_in),
51
+ .weight0(weight0), .weight1(weight1), .weight2(weight2), .weight3(weight3),
52
+ .input0(input0), .input1(input1), .input2(input2), .input3(input3)
53
+ );
54
+
55
+ control_unit central_ctrl (
56
+ .clk(clk),
57
+ .rst(~rst_n),
58
+ .load_en(load_en),
59
+ .mem_addr(mem_addr),
60
+ .mmu_en(mmu_en),
61
+ .mmu_cycle(mmu_cycle),
62
+ .state_out(state)
63
+ );
64
+
65
+ systolic_array_2x2 mmu (
66
+ .clk(clk),
67
+ .rst(~rst_n),
68
+ .clear(clear),
69
+ .activation(activation),
70
+ .a_data0(a_data0),
71
+ .a_data1(a_data1),
72
+ .b_data0(b_data0),
73
+ .b_data1(b_data1),
74
+ .c00(outputs[0]),
75
+ .c01(outputs[1]),
76
+ .c10(outputs[2]),
77
+ .c11(outputs[3])
78
+ );
79
+
80
+ mmu_feeder compute_ctrl (
81
+ .clk(clk),
82
+ .rst(~rst_n),
83
+ .en(mmu_en),
84
+ .mmu_cycle(mmu_cycle),
85
+ .transpose(transpose),
86
+ .weight0(weight0), .weight1(weight1), .weight2(weight2), .weight3(weight3),
87
+ .input0(input0), .input1(input1), .input2(input2), .input3(input3),
88
+ .c00(outputs[0]),
89
+ .c01(outputs[1]),
90
+ .c10(outputs[2]),
91
+ .c11(outputs[3]),
92
+ .clear(clear),
93
+ .a_data0(a_data0),
94
+ .a_data1(a_data1),
95
+ .b_data0(b_data0),
96
+ .b_data1(b_data1),
97
+ .done(done),
98
+ .host_outdata(out_data)
99
+ );
100
+
101
+ genvar i;
102
+ generate
103
+ for (i = 0; i < 8; i = i + 1) begin : buf_loop
104
+ (* keep *) buffer buf1 (.A(out_data[i]), .X(stage1[i]));
105
+ (* keep *) buffer buf2 (.A(stage1[i]), .X(stage2[i]));
106
+ (* keep *) buffer buf3 (.A(stage2[i]), .X(stage3[i]));
107
+ end
108
+ endgenerate
109
+ assign uo_out = stage3;
110
+
111
+ assign uio_s1 = {done, state, 5'b0};
112
+
113
+ genvar j;
114
+ generate
115
+ for (j = 0; j < 8; j = j + 1) begin : uio_bufs
116
+ (* keep *) buffer buf21 (.A(uio_s1[j]), .X(uio_s2[j]));
117
+ (* keep *) buffer buf22 (.A(uio_s2[j]), .X(uio_s3[j]));
118
+ (* keep *) buffer buf23 (.A(uio_s3[j]), .X(uio_s4[j]));
119
+ end
120
+ endgenerate
121
+ assign uio_out = uio_s4;
122
+ assign uio_oe = 8'b11100000;
123
+
124
+ wire _unused = &{ena, uio_in[7:3]};
125
+
126
+ endmodule
WilliamZhang20_ECE298A-TPU/source/test/Makefile ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Makefile
2
+ # See https://docs.cocotb.org/en/stable/quickstart.html for more info
3
+
4
+ # defaults
5
+ SIM ?= icarus
6
+ TOPLEVEL_LANG ?= verilog
7
+ SRC_DIR = $(PWD)/../src
8
+
9
+ TIMESTAMP = $(shell TZ=US/Eastern date +%Y%m%d_%H:%M:%S)
10
+ WAVES_ROOT = $(PWD)
11
+ COMPILE_ARGS += -DTIMESTAMP=\"$(TIMESTAMP)\"
12
+
13
+ PROJECT_SOURCES = tpu.v \
14
+ systolic_array_2x2.v \
15
+ control_unit.v \
16
+ PE.v \
17
+ delay_cell.v \
18
+ mmu_feeder.v \
19
+ memory.v
20
+
21
+ ifneq ($(GATES),yes)
22
+
23
+ # RTL simulation:
24
+ SIM_BUILD = sim_build/rtl
25
+ VERILOG_SOURCES += $(addprefix $(SRC_DIR)/,$(PROJECT_SOURCES))
26
+
27
+ else
28
+
29
+ # Gate level simulation:
30
+ SIM_BUILD = sim_build/gl
31
+ COMPILE_ARGS += -DGL_TEST
32
+ COMPILE_ARGS += -DFUNCTIONAL
33
+ COMPILE_ARGS += -DUSE_POWER_PINS
34
+ COMPILE_ARGS += -DSIM
35
+ COMPILE_ARGS += -DUNIT_DELAY=\#1
36
+ VERILOG_SOURCES += $(PDK_ROOT)/sky130A/libs.ref/sky130_fd_sc_hd/verilog/primitives.v
37
+ VERILOG_SOURCES += $(PDK_ROOT)/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v
38
+
39
+ # this gets copied in by the GDS action workflow
40
+ VERILOG_SOURCES += $(PWD)/gate_level_netlist.v
41
+
42
+ endif
43
+
44
+ # Allow sharing configuration between design and testbench via `include`:
45
+ COMPILE_ARGS += -I$(SRC_DIR)
46
+
47
+ .PHONY: all test-uvm test-memory test-systolic-array test-control-unit test-nn test-mmu-feeder test-top
48
+
49
+ all:
50
+ $(MAKE) test-uvm
51
+ $(MAKE) test-memory
52
+ $(MAKE) test-systolic-array
53
+ $(MAKE) test-control-unit
54
+ $(MAKE) test-mmu-feeder
55
+ $(MAKE) test-nn
56
+ $(MAKE) test-top
57
+
58
+ test-uvm:
59
+ $(MAKE) clean
60
+ $(MAKE) sim \
61
+ TOPLEVEL=tb \
62
+ MODULE=test_uvm \
63
+ VERILOG_SOURCES="$(WAVES_ROOT)/uvm_test/tb.v $(addprefix $(SRC_DIR)/,tpu.v delay_cell.v systolic_array_2x2.v PE.v mmu_feeder.v control_unit.v memory.v)" \
64
+ PYTHONPATH=$(WAVES_ROOT)/uvm_test \
65
+ WAVES_DIR=$(WAVES_ROOT)/uvm_test/wave \
66
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/uvm_test/wave/uvm_tb_$(TIMESTAMP).vcd\""'
67
+
68
+ test-top:
69
+ $(MAKE) clean
70
+ $(MAKE) sim \
71
+ TOPLEVEL=tb \
72
+ MODULE=test_tpu \
73
+ VERILOG_SOURCES="$(WAVES_ROOT)/tpu/tb.v $(addprefix $(SRC_DIR)/,tpu.v delay_cell.v systolic_array_2x2.v PE.v mmu_feeder.v control_unit.v memory.v)" \
74
+ PYTHONPATH=$(WAVES_ROOT)/tpu \
75
+ WAVES_DIR=$(WAVES_ROOT)/tpu/wave \
76
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/tpu/wave/tpu_tb_$(TIMESTAMP).vcd\""'
77
+
78
+ test-nn:
79
+ $(MAKE) clean
80
+ $(MAKE) sim \
81
+ TOPLEVEL=tb \
82
+ MODULE=train_qat_model \
83
+ VERILOG_SOURCES="$(WAVES_ROOT)/tpu/tb.v $(addprefix $(SRC_DIR)/,tpu.v delay_cell.v systolic_array_2x2.v PE.v mmu_feeder.v control_unit.v memory.v)" \
84
+ PYTHONPATH=$(WAVES_ROOT)/tpu \
85
+ WAVES_DIR=$(WAVES_ROOT)/tpu/wave \
86
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/tpu/wave/tpu_tb_$(TIMESTAMP).vcd\""'
87
+
88
+ test-systolic-array:
89
+ $(MAKE) clean
90
+ $(MAKE) sim \
91
+ TOPLEVEL=systolic_array_tb \
92
+ MODULE=test_systolic_array \
93
+ VERILOG_SOURCES="$(WAVES_ROOT)/systolic_array/systolic_array_tb.v $(SRC_DIR)/systolic_array_2x2.v $(SRC_DIR)/PE.v" \
94
+ PYTHONPATH=$(WAVES_ROOT)/systolic_array \
95
+ WAVES_DIR=$(WAVES_ROOT)/systolic_array/wave \
96
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/systolic_array/wave/systolic_array_tb_$(TIMESTAMP).vcd\""'
97
+
98
+ test-memory:
99
+ $(MAKE) clean
100
+ $(MAKE) sim \
101
+ TOPLEVEL=memory_tb \
102
+ MODULE=test_memory \
103
+ VERILOG_SOURCES="$(WAVES_ROOT)/memory/memory_tb.v $(SRC_DIR)/memory.v" \
104
+ PYTHONPATH=$(WAVES_ROOT)/memory \
105
+ WAVES_DIR=$(WAVES_ROOT)/memory/wave \
106
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/memory/wave/memory_tb_$(TIMESTAMP).vcd\""'
107
+
108
+ test-control-unit:
109
+ $(MAKE) clean
110
+ $(MAKE) sim \
111
+ TOPLEVEL=control_unit_tb \
112
+ MODULE=test_control_unit \
113
+ VERILOG_SOURCES="$(WAVES_ROOT)/control_unit/control_unit_tb.v $(SRC_DIR)/control_unit.v" \
114
+ PYTHONPATH=$(WAVES_ROOT)/control_unit \
115
+ WAVES_DIR=$(WAVES_ROOT)/control_unit/wave \
116
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/control_unit/wave/control_unit_tb_$(TIMESTAMP).vcd\""'
117
+
118
+ test-mmu-feeder:
119
+ $(MAKE) clean
120
+ $(MAKE) sim \
121
+ TOPLEVEL=mmu_feeder_tb \
122
+ MODULE=test_mmu_feeder \
123
+ VERILOG_SOURCES="$(WAVES_ROOT)/mmu_feeder/mmu_feeder_tb.v $(SRC_DIR)/mmu_feeder.v" \
124
+ PYTHONPATH=$(WAVES_ROOT)/mmu_feeder \
125
+ WAVES_DIR=$(WAVES_ROOT)/mmu_feeder/wave \
126
+ COMPILE_ARGS='$(COMPILE_ARGS) -DVCD_PATH="\"$(WAVES_ROOT)/mmu_feeder/wave/mmu_feeder_tb_$(TIMESTAMP).vcd\""'
127
+
128
+ # Phony target for cleaning up
129
+ .PHONY: clean
130
+ clean::
131
+ rm -rf sim_build* results.xml
132
+
133
+ # include cocotb's make rules to take care of the simulator setup
134
+ include $(shell cocotb-config --makefiles)/Makefile.sim
WilliamZhang20_ECE298A-TPU/source/test/README.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TPU Test Suite
2
+
3
+ This directory encompasses the test suite for our 2x2 TPU.
4
+
5
+ ## Structure
6
+
7
+ The test suite contains both per-module and system integration tests within their own directories:
8
+
9
+ * `control_unit/`: Control unit tests
10
+ * `memory/`: Unified memory tests
11
+ * `mmu_feeder/`: Matrix Unit Feeder tests
12
+ * `systolic_array/`: Systolic Array tests
13
+ * `tpu/`: Top-level system integration tests
14
+
15
+ ## Setting up
16
+
17
+ ### Local environment
18
+
19
+ If you are running these tests locally, you will need:
20
+
21
+ * Python
22
+ * Icarus Verilog
23
+
24
+ Both can be installed with your package manager of choice.
25
+
26
+ From the `test` directory, create a Python virtual environment:
27
+
28
+ ```python
29
+ python -m venv <ENV_NAME>
30
+
31
+ # Linux/macOS
32
+ source <ENV_NAME>/bin/activate
33
+
34
+ # Windows
35
+ <ENV_NAME>\Scripts\activate
36
+ ```
37
+
38
+ Regardless of whether you require a virtual environment or are running the tests on a pre-configured server, there are some necessary packages that must be installed:
39
+
40
+ ```python
41
+ pip install -r requirements.txt
42
+ ```
43
+
44
+ ## How to run
45
+
46
+ The `Makefile` in the test directory has been set up with targets for each module and the top-level:
47
+
48
+ ```c
49
+ // Per-module tests
50
+ make test-top // System integration
51
+ make test-memory
52
+ make test-systolic-array
53
+ make test-control-unit
54
+ make test-mmu-feeder
55
+
56
+ // Run all tests
57
+ make all
58
+
59
+ // Cleanup build artifacts
60
+ make clean
61
+ ```
62
+
63
+ To run gate-level simulations, specify the `GATES` flag for `test-top`:
64
+
65
+ ```c
66
+ make test-top GATES=yes
67
+ ```
68
+
69
+ ## Test Information
70
+
71
+ ### Control Unit Tests
72
+
73
+ **File:** `test_control_unit.py`
74
+
75
+ **Test Cases**:
76
+
77
+ * **Reset**: verifies all control signals (mem_addr, mmu_en, mmu_cycle) are properly zeroed when reset is asserted
78
+ * **Idle State**: ensures control unit remains in idle state with all outputs at zero when load_en is not asserted for multiple cycles
79
+ * **Matrix Loading**: tests 8-cycle matrix loading phase with proper memory address incrementing (0-7) and MMU enable assertion when sufficient elements are loaded
80
+ * **MMU Compute Phase**: validates MMU enable signals remain high and mmu_cycle counter increments correctly (2-7) during computation and writeback
81
+ * **Full Cycle**: tests complete operation sequence from idle → matrix loading → MMU computation → back to compute state with proper signal transitions
82
+ * **Load Enable Handling**: verifies load_en signal toggling is properly ignored during MMU compute phase while mmu_cycle continues incrementing normally
83
+ * **Multiple Operations**: stress tests control unit with 100 consecutive operation cycles to ensure state machine reliability and proper signal timing
84
+
85
+ ### Unified Memory Tests
86
+
87
+ **File:** `test_memory.py`
88
+
89
+ **Test Cases**:
90
+
91
+ * **Reset**: check if all values are zeroed when `rst` is asserted.
92
+ * **Sequential Read/Write**: write to all `sram` addresses and check the outputs at each address.
93
+ * **Load Enable Writes**: verify that writes only occur with `load_en` high.
94
+ * **Overwrite Addresses**: write two values to an address; second value should overwrite the first one.
95
+ * **Write During Reset**: ensure the validity of a reset if `rst` and `load_en` are asserted in the same cycle.
96
+ * **Randomized Burst**: randomized addresses and data are generated within a valid range, written, and read for verification.
97
+
98
+ ### Matrix Unit Feeder Tests
99
+
100
+ **File:** `test_mmu_feeder.py`
101
+
102
+ **Test Cases**:
103
+
104
+ * **Regular, Edge Case, and Transpose**: Test mmu_feeder with regular matrix inputs (minimal functionality), edge case matrix input (check expected behavior with extreme inputs), and regular matrix inputs with tranpose enabled (check transpose functionality).
105
+ * **Random Test Vectors**: Generates 10 random Input/Weight matrix pairs and processes them sequentially, checking output against expected values.
106
+
107
+ **Note**: Expected output control signal values from mmu_feeder (i.e clear and done) are asserted at each mmu_cycle, covering all mmu_feeder functionality.
108
+
109
+ ### Systolic Array Tests
110
+
111
+ **File:** `test_systolic_array.py`
112
+
113
+ **Test Cases**:
114
+
115
+ * **Basic 2x2 Matrix Multiplication**: validates core systolic array functionality with predefined 2x2 matrices, testing proper data flow through processing elements and correct computation of matrix multiplication (A=[[1,2],[3,4]], B=[[5,6],[7,8]], expected C=[[19,22],[43,50]])
116
+
117
+ ### Top-level Tests
118
+
119
+ **File:** `test_tpu.py`
120
+
121
+ **Test Cases**:
122
+
123
+ * **ReLU and Transpose Operations**: tests ReLU activation function and matrix transpose functionality with pipelined loading and reading, validating correct handling of negative values and matrix orientation changes
124
+ * **Large Matrix Operations**: stress tests with randomly generated matrices up to 20x20, measuring operations per second and testing all combinations of transpose/ReLU flags to ensure scalability and performance
125
+ * **Project Integration Test**: comprehensive end-to-end test simulating full TPU operation with sequential matrix operations
126
+ - Tests signed arithmetic edge cases with values ranging from -128 to 127
127
+ - Validates pipeline clearing between consecutive matrix operations
128
+ - Verifies proper output sequencing across multiple matrix computations
129
+ - Tests extreme value combinations (-128 × 127, -128 × -128)
130
+ - Ensures correct handling of result overflow and saturation
131
+
132
+ * **Verification Correctness**: output results were validated using commerically and popularly proven tools like NumPy, allowing us to verify that the logic of the circuit is correct. Similarly, when block multiplication was performed in bigger matrices, in which special algorithms were applied to break down the matrices, the NumPy validation was applied outside the hardware's required matrix breakdown, which validates the entire process at both ends.
133
+
134
+ ## Viewing waveforms
135
+
136
+ Each module's test directory has a `wave` directory, which contains `.vcd` waveforms generated after each test. These can be viewed with either `surfer` or `GTKWave`:
137
+
138
+ ```sh
139
+ # GTKWave
140
+ gtkwave tb.vcd
141
+
142
+ # Surfer
143
+ surfer tb.vcd
144
+ ```
145
+
146
+ ## Post-Silicon Tests
147
+
148
+ A future Python script that interfaces with the chip via the Caravel SoC can feed data and read outputs.
WilliamZhang20_ECE298A-TPU/source/test/control_unit/control_unit_tb.v ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ `default_nettype none
2
+ `timescale 1ns / 1ps
3
+
4
+ module control_unit_tb ();
5
+
6
+ // Dump the signals to a VCD file. You can view it with gtkwave or surfer.
7
+ initial begin
8
+ `ifdef VCD_PATH
9
+ $dumpfile(`VCD_PATH);
10
+ `else
11
+ $dumpfile("control_unit_tb.vcd");
12
+ `endif
13
+ $dumpvars(0, control_unit_tb);
14
+ #1;
15
+ end
16
+
17
+ // Inputs
18
+ reg clk;
19
+ reg rst;
20
+ reg load_en;
21
+ reg[1:0] state_out;
22
+
23
+ // Outputs
24
+ reg [2:0] mem_addr;
25
+ reg mmu_en;
26
+ reg [2:0] mmu_cycle;
27
+
28
+ control_unit dut (
29
+ .clk(clk),
30
+ .rst(rst),
31
+ .load_en(load_en),
32
+ .mem_addr(mem_addr),
33
+ .mmu_en(mmu_en),
34
+ .mmu_cycle(mmu_cycle),
35
+ .state_out(state_out)
36
+ );
37
+
38
+ endmodule
WilliamZhang20_ECE298A-TPU/source/test/control_unit/test_control_unit.py ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import cocotb
2
+ from cocotb.triggers import RisingEdge, ClockCycles
3
+ from cocotb.clock import Clock
4
+
5
+ @cocotb.test()
6
+ async def test_control_unit_reset(dut):
7
+ """Test control unit reset functionality"""
8
+ clock = Clock(dut.clk, 20, units="ns")
9
+ cocotb.start_soon(clock.start())
10
+
11
+ # Apply reset
12
+ dut.rst.value = 1
13
+ dut.load_en.value = 0
14
+ await ClockCycles(dut.clk, 2)
15
+
16
+ # Check reset state
17
+ assert dut.mem_addr.value == 0, f"mem_addr should be 0 after reset, got {dut.mem_addr.value}"
18
+ assert dut.mmu_en.value == 0, f"mmu_en should be 0 after reset, got {dut.mmu_en.value}"
19
+ assert dut.mmu_cycle.value == 0, f"mmu_cycle should be 0 after reset, got {dut.mmu_cycle.value}"
20
+
21
+ dut.rst.value = 0
22
+ await ClockCycles(dut.clk, 1)
23
+
24
+ dut._log.info("Reset test passed")
25
+
26
+ @cocotb.test()
27
+ async def test_control_unit_idle_state(dut):
28
+ """Test control unit stays in IDLE when load_en is not asserted"""
29
+ clock = Clock(dut.clk, 20, units="ns")
30
+ cocotb.start_soon(clock.start())
31
+
32
+ # Reset
33
+ dut.rst.value = 1
34
+ dut.load_en.value = 0
35
+ await ClockCycles(dut.clk, 2)
36
+ dut.rst.value = 0
37
+ await ClockCycles(dut.clk, 1)
38
+
39
+ # Stay in idle for several cycles
40
+ for _ in range(5):
41
+ assert dut.mem_addr.value == 0, f"mem_addr should remain 0 in idle, got {dut.mem_addr.value}"
42
+ assert dut.mmu_en.value == 0, f"mmu_en should remain 0 in idle, got {dut.mmu_en.value}"
43
+ assert dut.mmu_cycle.value == 0, f"mmu_cycle should remain 0 in idle, got {dut.mmu_cycle.value}"
44
+ await ClockCycles(dut.clk, 1)
45
+
46
+ dut._log.info("Idle state test passed")
47
+
48
+ @cocotb.test()
49
+ async def test_control_unit_load_matrices(dut):
50
+ """Test control unit matrix loading phase"""
51
+ clock = Clock(dut.clk, 20, units="ns")
52
+ cocotb.start_soon(clock.start())
53
+
54
+ # Reset
55
+ dut.rst.value = 1
56
+ dut.load_en.value = 0
57
+ await ClockCycles(dut.clk, 2)
58
+ dut.rst.value = 0
59
+ await ClockCycles(dut.clk, 1)
60
+
61
+ # Start loading - first load_en pulse should trigger transition to LOAD_MATS
62
+ dut.load_en.value = 1
63
+ await ClockCycles(dut.clk, 1)
64
+
65
+ # Check memory address increments correctly during loading
66
+ expected_addrs = [0, 1, 2, 3, 4, 5, 6, 7]
67
+ for i, expected_addr in enumerate(expected_addrs):
68
+ # Check current state BEFORE the clock edge
69
+ assert int(dut.mem_addr.value) == expected_addr, f"Cycle {i+1}: mem_addr should be {expected_addr}, got {dut.mem_addr.value}"
70
+
71
+ current_loaded = int(dut.mem_addr.value)
72
+ # We check when loaded = 6 and not when =5
73
+ # The value is "set" when =5
74
+ # Sequential regs capture the value on the next clock edge
75
+ # So we need to wait another cycle
76
+ if current_loaded >= 6:
77
+ assert dut.mmu_en.value == 1, f"Cycle {i+1}: mmu_en should be 1 when mat_elems_loaded >= 6"
78
+ else:
79
+ assert dut.mmu_en.value == 0, f"Cycle {i+1}: mmu_en should be 0 when mat_elems_loaded < 5"
80
+
81
+ # Wait for next clock edge (this is when assignments happen)
82
+ await ClockCycles(dut.clk, 1)
83
+
84
+ # After the loop, we've had 8 clock cycles
85
+ # Check final state after all loading is complete
86
+ # At this point, mat_elems_loaded should have been reset to 0 (from the == 7 condition)
87
+ assert dut.mem_addr.value == 0, "mem_addr should be 0 after loading all 8 elements"
88
+ assert dut.mmu_en.value == 1, "mmu_en should be 1 after loading all 8 elements"
89
+ dut.load_en.value = 0
90
+
91
+ # mmu_cycle should have incremented - check based on your logic
92
+ # If it starts at 0 and increments when mat_elems_loaded >= 6,
93
+ # it should be incremented multiple times during the loading
94
+ print(f"Final state: mmu_cycle = {dut.mmu_cycle.value}")
95
+
96
+ dut._log.info("Matrix loading test passed")
97
+
98
+ @cocotb.test()
99
+ async def test_control_unit_mmu_compute_phase(dut):
100
+ """Test control unit MMU compute and writeback phase"""
101
+ clock = Clock(dut.clk, 20, units="ns")
102
+ cocotb.start_soon(clock.start())
103
+
104
+ # Reset
105
+ dut.rst.value = 1
106
+ dut.load_en.value = 0
107
+ await ClockCycles(dut.clk, 2)
108
+ dut.rst.value = 0
109
+ await ClockCycles(dut.clk, 1)
110
+
111
+ # Load all 8 elements quickly
112
+ dut.load_en.value = 1
113
+ print("State: ", int(dut.state_out))
114
+ for _ in range(8):
115
+ print("State: ", int(dut.state_out))
116
+ await ClockCycles(dut.clk, 1)
117
+ dut.load_en.value = 0
118
+ print("State: ", int(dut.state_out))
119
+
120
+ # Now in MMU_FEED_COMPUTE_WB state
121
+ # mmu_cycle should increment from 2 to 7 (0 -> 1 done in S_LOAD_MATS state)
122
+ for expected_cycle in range(2, 8):
123
+ print("State: ", int(dut.state_out))
124
+ await ClockCycles(dut.clk, 1)
125
+ assert dut.mmu_en.value == 1, f"mmu_en should remain 1 during compute phase"
126
+ assert dut.mmu_cycle.value.integer == expected_cycle, f"mmu_cycle should be {expected_cycle}, got {dut.mmu_cycle.value}"
127
+
128
+ assert dut.load_en.value == 0, f"load_en should remain 0 during compute phase"
129
+ assert dut.mem_addr.value == 0, f"mem_addr should be 0 during compute phase"
130
+
131
+ # After mmu_cycle reaches 5, should return to IDLE
132
+ # print("State: ", int(dut.state_out))
133
+ await ClockCycles(dut.clk, 1)
134
+ assert dut.mmu_en.value == 1, "mmu_en should be 1 while kept in COMPUTE"
135
+ assert dut.mmu_cycle.value.integer == 0, "mmu_cycle should reset to 0 in COMPUTE"
136
+ assert dut.mem_addr.value == 0, "mem_addr should be 0 in COMPUTE with no LOAD_EN"
137
+
138
+ await ClockCycles(dut.clk, 1)
139
+
140
+ # MMU cycle continues cycling although we are not sending anything over....
141
+
142
+ assert dut.mmu_cycle.value.integer == 1, "mmu_cycle should cycle in compute"
143
+
144
+ dut._log.info("MMU compute phase test passed")
145
+
146
+ @cocotb.test()
147
+ async def test_control_unit_full_cycle(dut):
148
+ """Test complete control unit operation cycle"""
149
+ clock = Clock(dut.clk, 20, units="ns")
150
+ cocotb.start_soon(clock.start())
151
+
152
+ # Reset
153
+ dut.rst.value = 1
154
+ dut.load_en.value = 0
155
+ await ClockCycles(dut.clk, 2)
156
+ dut.rst.value = 0
157
+ await ClockCycles(dut.clk, 1)
158
+
159
+ # Full cycle: IDLE -> LOAD_MATS -> MMU_FEED_COMPUTE_WB -> IDLE
160
+
161
+ # Phase 1: Load matrices (8 cycles)
162
+ dut.load_en.value = 1
163
+ for cycle in range(8):
164
+ await ClockCycles(dut.clk, 1)
165
+ if cycle < 7: # During loading
166
+ assert dut.mem_addr.value.integer == cycle, f"mem_addr should be {cycle} during loading cycle {cycle}"
167
+
168
+ # Phase 2: MMU compute (7 cycles: mmu_cycle 2->7->0)
169
+ for cycle in range(2, 8):
170
+ await ClockCycles(dut.clk, 1)
171
+ assert dut.mmu_en.value == 1, f"mmu_en should be 1 during MMU cycle {cycle}"
172
+ assert dut.mem_addr.value == cycle-2, f"mem_addr should be {cycle-2} during MMU cycle {dut.mmu_cycle.value.integer}"
173
+
174
+ # Phase 3: pretending that we are continuing to load future matrice with load_en high... and mem_addr going up
175
+ await ClockCycles(dut.clk, 1)
176
+ assert dut.mmu_en.value == 1, "mmu_en should be 1 while kept in COMPUTE"
177
+ assert dut.mmu_cycle.value.integer == 0, "mmu_cycle should reset to 0 in COMPUTE"
178
+ assert dut.mem_addr.value.integer == 6, "mem_addr should be 0 in COMPUTE with no LOAD_EN"
179
+
180
+ dut._log.info("Full cycle test passed")
181
+
182
+ @cocotb.test()
183
+ async def test_control_unit_shaky_load_en(dut):
184
+ """Test that load_en is ignored during MMU compute phase"""
185
+ clock = Clock(dut.clk, 20, units="ns")
186
+ cocotb.start_soon(clock.start())
187
+
188
+ # Reset
189
+ dut.rst.value = 1
190
+ dut.load_en.value = 0
191
+ await ClockCycles(dut.clk, 2)
192
+ dut.rst.value = 0
193
+ await ClockCycles(dut.clk, 1)
194
+
195
+ # Load matrices, toggle load_en, should only proceed on load_en
196
+ for cycle in range(8):
197
+ dut.load_en.value = 1
198
+ await ClockCycles(dut.clk, 1)
199
+ assert dut.mem_addr.value.integer == cycle
200
+
201
+ # Now in MMU compute phase
202
+ for cycle in range(2, 8):
203
+ dut.load_en.value = 1 if cycle % 2 == 0 else 0
204
+ await ClockCycles(dut.clk, 1)
205
+ # mmu_cycle should still increment normally regardless of load_en
206
+ assert dut.mmu_cycle.value.integer == cycle, f"mmu_cycle should increment normally during compute phase"
207
+
208
+ dut._log.info("Shaky load enable during compute test passed")
209
+
210
+ @cocotb.test()
211
+ async def test_control_unit_multiple_operations(dut):
212
+ """Test multiple complete operation cycles"""
213
+ clock = Clock(dut.clk, 20, units="ns")
214
+ cocotb.start_soon(clock.start())
215
+
216
+ # Reset
217
+ dut.rst.value = 1
218
+ dut.load_en.value = 0
219
+ await ClockCycles(dut.clk, 2)
220
+ dut.rst.value = 0
221
+ await ClockCycles(dut.clk, 1)
222
+
223
+ # Init Load phase
224
+ dut.load_en.value = 1
225
+ for _ in range(8):
226
+ await ClockCycles(dut.clk, 1)
227
+
228
+ # Run 100 complete cycles
229
+ for operation in range(100):
230
+ # Commented below line for clarity of test action
231
+ # dut._log.info(f"Starting operation {operation + 1}")
232
+
233
+ # output/input phase
234
+ # Note that load_en is still asserted high
235
+ for val in range(8):
236
+ await ClockCycles(dut.clk, 1)
237
+ assert dut.mmu_en.value == 1, f"Operation {operation + 1}: mmu_en should be 1 during MMU phase"
238
+ assert dut.mmu_cycle.value.integer == (val + 2) % 8, f"MMU Cycle not running properly as it should be {val}"
239
+
240
+ # Wait in idle before next operation
241
+ dut.load_en.value = 0
242
+
243
+ dut._log.info("Multiple operations test passed")
WilliamZhang20_ECE298A-TPU/source/test/requirements.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ pytest==8.3.4
2
+ cocotb==1.9.2
3
+ numpy==2.1.3
4
+ torch
5
+ torchvision
6
+ pyuvm
7
+ torchao
8
+ executorch
WilliamZhang20_ECE298A-TPU/testbenches.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "file_path": "test/control_unit/test_control_unit.py",
4
+ "tb_type": "cocotb",
5
+ "simulator": "icarus",
6
+ "makefile_path": "test/Makefile",
7
+ "top_module": "control_unit_tb",
8
+ "rtl_files": [
9
+ "test/control_unit/control_unit_tb.v",
10
+ "src/control_unit.v"
11
+ ]
12
+ },
13
+ {
14
+ "file_path": "test/memory/test_memory.py",
15
+ "tb_type": "cocotb",
16
+ "simulator": "icarus",
17
+ "makefile_path": "test/Makefile",
18
+ "top_module": "memory_tb",
19
+ "rtl_files": [
20
+ "test/memory/memory_tb.v",
21
+ "src/memory.v"
22
+ ]
23
+ },
24
+ {
25
+ "file_path": "test/mmu_feeder/test_mmu_feeder.py",
26
+ "tb_type": "cocotb",
27
+ "simulator": "icarus",
28
+ "makefile_path": "test/Makefile",
29
+ "top_module": "mmu_feeder_tb",
30
+ "rtl_files": [
31
+ "test/mmu_feeder/mmu_feeder_tb.v",
32
+ "src/mmu_feeder.v"
33
+ ]
34
+ },
35
+ {
36
+ "file_path": "test/systolic_array/test_systolic_array.py",
37
+ "tb_type": "cocotb",
38
+ "simulator": "icarus",
39
+ "makefile_path": "test/Makefile",
40
+ "top_module": "systolic_array_tb",
41
+ "rtl_files": [
42
+ "test/systolic_array/systolic_array_tb.v",
43
+ "src/systolic_array_2x2.v",
44
+ "src/PE.v"
45
+ ]
46
+ },
47
+ {
48
+ "file_path": "test/tpu/test_tpu.py",
49
+ "tb_type": "cocotb",
50
+ "simulator": "icarus",
51
+ "makefile_path": "test/Makefile",
52
+ "top_module": "tb",
53
+ "rtl_files": [
54
+ "test/tpu/tb.v",
55
+ "src/tpu.v",
56
+ "src/delay_cell.v",
57
+ "src/systolic_array_2x2.v",
58
+ "src/PE.v",
59
+ "src/mmu_feeder.v",
60
+ "src/control_unit.v",
61
+ "src/memory.v"
62
+ ]
63
+ },
64
+ {
65
+ "file_path": "test/tpu/train_qat_model.py",
66
+ "tb_type": "cocotb",
67
+ "simulator": "icarus",
68
+ "makefile_path": "test/Makefile",
69
+ "top_module": "tb",
70
+ "rtl_files": [
71
+ "test/tpu/tb.v",
72
+ "src/tpu.v",
73
+ "src/delay_cell.v",
74
+ "src/systolic_array_2x2.v",
75
+ "src/PE.v",
76
+ "src/mmu_feeder.v",
77
+ "src/control_unit.v",
78
+ "src/memory.v"
79
+ ]
80
+ },
81
+ {
82
+ "file_path": "test/uvm_test/test_uvm.py",
83
+ "tb_type": "cocotb",
84
+ "simulator": "icarus",
85
+ "makefile_path": "test/Makefile",
86
+ "top_module": "tb",
87
+ "rtl_files": [
88
+ "test/uvm_test/tb.v",
89
+ "src/tpu.v",
90
+ "src/delay_cell.v",
91
+ "src/systolic_array_2x2.v",
92
+ "src/PE.v",
93
+ "src/mmu_feeder.v",
94
+ "src/control_unit.v",
95
+ "src/memory.v"
96
+ ]
97
+ }
98
+ ]
completed.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": 2,
3
- "generated_at": "2026-04-07T07:23:03.015881+00:00",
4
  "entries": {
5
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_mealy/missing_reset": {
6
  "status": "sim_ok"
@@ -136,7 +136,7 @@
136
  "status": "sim_ok"
137
  },
138
  "JN513_Risco-5/Core__leds/missing_enable": {
139
- "status": "waveform_identical"
140
  },
141
  "Mr-Bossman_KISC-V/soc_top__uart/blocking_nonblocking": {
142
  "status": "waveform_identical"
@@ -191,7 +191,7 @@
191
  "status": "sim_ok"
192
  },
193
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU/case_swap": {
194
- "status": "compile_error"
195
  },
196
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Main_Decoder/inverted_condition": {
197
  "status": "sim_ok"
@@ -303,7 +303,7 @@
303
  "status": "waveform_identical"
304
  },
305
  "JN513_Risco-5/Core__alu_control/case_swap": {
306
- "status": "waveform_identical"
307
  },
308
  "Weiyet_RTLStructLib/singly_linked_list__singly_linked_list/inverted_condition": {
309
  "status": "sim_ok"
@@ -367,7 +367,7 @@
367
  "status": "compile_error"
368
  },
369
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/missing_enable": {
370
- "status": "compile_error"
371
  },
372
  "Vaibhav-Gunthe_Verilog-Projects/alu_8bit__8bit-ALU/case_swap": {
373
  "status": "sim_ok"
@@ -419,7 +419,7 @@
419
  "status": "sim_failed"
420
  },
421
  "JN513_Risco-5/Core__registers/missing_reset": {
422
- "status": "waveform_identical"
423
  },
424
  "projf_isle/ch06__uart_dev/missing_reset": {
425
  "status": "waveform_identical"
@@ -594,7 +594,7 @@
594
  "examples_count": 0
595
  },
596
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ImmGen/concat_swap": {
597
- "status": "compile_error"
598
  },
599
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__PC/blocking_nonblocking": {
600
  "status": "sim_ok"
@@ -606,7 +606,7 @@
606
  "status": "compile_error"
607
  },
608
  "thedatabusdotio_fpga-ml-accelerator/acclerator__convolver/missing_reset": {
609
- "status": "timeout"
610
  },
611
  "alexforencich_verilog-axi/axi_crossbar_wrap_4x4__arbiter/inverted_condition": {
612
  "status": "timeout"
@@ -618,7 +618,7 @@
618
  "status": "compile_error"
619
  },
620
  "ttchisholm_10g-low-latency-ethernet/mac__code_defs_pkg/case_swap": {
621
- "status": "compile_error"
622
  },
623
  "qossayrida_PipelineProcessorDesign/IFStage__IFStage/wrong_bitwidth": {
624
  "status": "waveform_identical"
@@ -627,7 +627,7 @@
627
  "status": "sim_ok"
628
  },
629
  "JN513_Risco-5/Core__core/missing_enable": {
630
- "status": "sim_ok"
631
  },
632
  "mnmhdanas_Router-1-x-3-/router_reg__router_reg/wrong_bitwidth": {
633
  "status": "sim_ok"
@@ -645,7 +645,7 @@
645
  "status": "sim_ok"
646
  },
647
  "aditeyabaral_DDCO-Lab-UE18CS207/reg_alu__lib/operator_typo": {
648
- "status": "sim_ok"
649
  },
650
  "erihsu_INT_FP_MAC/int_fp_add__int_fp_add/operator_typo": {
651
  "status": "sim_failed"
@@ -663,7 +663,7 @@
663
  "status": "sim_ok"
664
  },
665
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/inverted_condition": {
666
- "status": "compile_error"
667
  },
668
  "projf_isle/ch04__textmode/missing_reset": {
669
  "status": "waveform_identical"
@@ -681,7 +681,7 @@
681
  "status": "compile_error"
682
  },
683
  "JN513_Risco-5/Core__memory/missing_enable": {
684
- "status": "sim_ok"
685
  },
686
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/concat_swap": {
687
  "status": "waveform_identical"
@@ -711,7 +711,7 @@
711
  "status": "sim_failed"
712
  },
713
  "aditeyabaral_DDCO-Lab-UE18CS207/mproc_mem__mproc_mem/wrong_bitwidth": {
714
- "status": "sim_ok"
715
  },
716
  "fcayci_sv-digital-design/fsm_tick__fsm_tick_en/inverted_condition": {
717
  "status": "sim_ok"
@@ -837,10 +837,10 @@
837
  "status": "sim_ok"
838
  },
839
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/case_swap": {
840
- "status": "compile_error"
841
  },
842
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/inverted_condition": {
843
- "status": "compile_error"
844
  },
845
  "Weiyet_RTLStructLib/list__sorter/inverted_condition": {
846
  "status": "sim_ok"
@@ -873,20 +873,20 @@
873
  "status": "sim_ok"
874
  },
875
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/unconnected_port": {
876
- "status": "sim_ok"
877
  },
878
  "biren15_Design-and-Implementation-of-a-Cruise-Control-System/cruisecontrol__cruisecontrol/operator_typo": {
879
  "status": "sim_ok"
880
  },
881
  "JN513_Risco-5/Core__pc/missing_enable": {
882
- "status": "waveform_identical"
883
  },
884
  "mnmhdanas_UART-protocol/UARTtb__counter_tx/blocking_nonblocking": {
885
  "status": "sim_ok",
886
  "examples_count": 0
887
  },
888
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/operator_typo": {
889
- "status": "sim_ok"
890
  },
891
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/signal_typo": {
892
  "status": "compile_error"
@@ -934,7 +934,7 @@
934
  "status": "sim_ok"
935
  },
936
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Register_File/missing_enable": {
937
- "status": "sim_ok"
938
  },
939
  "mnmhdanas_UART-protocol/UARTtb__piso_tx/blocking_nonblocking": {
940
  "status": "sim_ok",
@@ -950,7 +950,7 @@
950
  "status": "compile_error"
951
  },
952
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/state_transition": {
953
- "status": "sim_ok"
954
  },
955
  "mnmhdanas_UART-protocol/UARTtb__piso_tx/wrong_bitwidth": {
956
  "status": "sim_ok"
@@ -980,7 +980,7 @@
980
  "status": "compile_error"
981
  },
982
  "JN513_Risco-5/Core__memory/concat_swap": {
983
- "status": "waveform_identical"
984
  },
985
  "mnmhdanas_UART-protocol/UARTtb__transmitter/blocking_nonblocking": {
986
  "status": "sim_ok",
@@ -1051,10 +1051,10 @@
1051
  "status": "sim_ok"
1052
  },
1053
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/missing_reset": {
1054
- "status": "sim_ok"
1055
  },
1056
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Hazard_Unit/operator_typo": {
1057
- "status": "compile_error"
1058
  },
1059
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU_Control/case_swap": {
1060
  "status": "sim_ok"
@@ -1120,7 +1120,7 @@
1120
  "status": "sim_ok"
1121
  },
1122
  "aditeyabaral_DDCO-Lab-UE18CS207/pc__lib/operator_typo": {
1123
- "status": "sim_ok"
1124
  },
1125
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/width_bit_cutoff": {
1126
  "status": "sim_failed"
@@ -1160,7 +1160,7 @@
1160
  "status": "waveform_identical"
1161
  },
1162
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/case_swap": {
1163
- "status": "compile_error"
1164
  },
1165
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/delayed_signal": {
1166
  "status": "compile_error"
@@ -1227,7 +1227,7 @@
1227
  "status": "sim_ok"
1228
  },
1229
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC_Adderr/missing_enable": {
1230
- "status": "compile_error"
1231
  },
1232
  "defano_digital-design/konamiacceptor__debouncer/operator_typo": {
1233
  "status": "sim_ok"
@@ -1273,7 +1273,7 @@
1273
  "status": "waveform_identical"
1274
  },
1275
  "thedatabusdotio_fpga-ml-accelerator/acclerator__mac_manual/missing_reset": {
1276
- "status": "sim_ok"
1277
  },
1278
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/off_by_one_counter": {
1279
  "status": "sim_failed"
@@ -1285,7 +1285,7 @@
1285
  "status": "sim_ok"
1286
  },
1287
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Memory_Cycle/wrong_bitwidth": {
1288
- "status": "sim_ok"
1289
  },
1290
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/missing_reset": {
1291
  "status": "sim_ok"
@@ -1300,13 +1300,13 @@
1300
  "status": "sim_ok"
1301
  },
1302
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__IF_ID/missing_enable": {
1303
- "status": "compile_error"
1304
  },
1305
  "JN513_Risco-5/Core__memory/blocking_nonblocking": {
1306
  "status": "waveform_identical"
1307
  },
1308
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/off_by_one_counter": {
1309
- "status": "sim_ok"
1310
  },
1311
  "defano_digital-design/sevensegment__displaydriver/width_bit_cutoff": {
1312
  "status": "sim_ok"
@@ -1369,10 +1369,10 @@
1369
  "status": "sim_ok"
1370
  },
1371
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/missing_reset": {
1372
- "status": "compile_error"
1373
  },
1374
  "JN513_Risco-5/Core__core/inverted_condition": {
1375
- "status": "sim_ok"
1376
  },
1377
  "fcayci_sv-digital-design/fsm_tick__fsm_tick_en/delayed_signal": {
1378
  "status": "sim_ok"
@@ -1381,7 +1381,7 @@
1381
  "status": "compile_error"
1382
  },
1383
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Wrapper/unconnected_port": {
1384
- "status": "sim_ok"
1385
  },
1386
  "alexforencich_verilog-axi/axi_fifo__axi_fifo_wr/inverted_condition": {
1387
  "status": "sim_failed"
@@ -1438,7 +1438,7 @@
1438
  "status": "waveform_identical"
1439
  },
1440
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BTB/missing_reset": {
1441
- "status": "compile_error"
1442
  },
1443
  "JN513_Risco-5/Core__mdu/delayed_signal": {
1444
  "status": "waveform_identical"
@@ -1474,7 +1474,7 @@
1474
  "status": "sim_ok"
1475
  },
1476
  "apfaudio_eurorack-pmod/ak4619__ak4619/inverted_condition": {
1477
- "status": "compile_error"
1478
  },
1479
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_moore/missing_else_latch": {
1480
  "status": "sim_ok"
@@ -1549,7 +1549,7 @@
1549
  "status": "sim_ok"
1550
  },
1551
  "JN513_Risco-5/ClkDivider__clk_divider/missing_enable": {
1552
- "status": "sim_ok"
1553
  },
1554
  "projf_isle/ch02__canv_disp_agu/missing_reset": {
1555
  "status": "sim_ok"
@@ -1579,10 +1579,10 @@
1579
  "status": "compile_error"
1580
  },
1581
  "JN513_Risco-5/Core__leds/missing_reset": {
1582
- "status": "waveform_identical"
1583
  },
1584
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__lock_state/off_by_one_counter": {
1585
- "status": "compile_error"
1586
  },
1587
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/wrong_bitwidth": {
1588
  "status": "sim_ok"
@@ -1600,10 +1600,10 @@
1600
  "status": "waveform_identical"
1601
  },
1602
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/unconnected_port": {
1603
- "status": "sim_ok"
1604
  },
1605
  "JN513_Risco-5/Core__memory/inverted_condition": {
1606
- "status": "waveform_identical"
1607
  },
1608
  "thedatabusdotio_fpga-ml-accelerator/acclerator__control_logic2/operator_typo": {
1609
  "status": "sim_ok"
@@ -1630,7 +1630,7 @@
1630
  "status": "waveform_identical"
1631
  },
1632
  "JN513_Risco-5/Core__pc/missing_reset": {
1633
- "status": "sim_ok"
1634
  },
1635
  "ttchisholm_10g-low-latency-ethernet/rx_gearbox__tx_gearbox/signal_typo": {
1636
  "status": "compile_error"
@@ -1654,10 +1654,10 @@
1654
  "status": "sim_ok"
1655
  },
1656
  "JN513_Risco-5/Core__control_unit/case_swap": {
1657
- "status": "waveform_identical"
1658
  },
1659
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/operator_typo": {
1660
- "status": "compile_error"
1661
  },
1662
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/blocking_nonblocking": {
1663
  "status": "compile_error"
@@ -1726,13 +1726,13 @@
1726
  "status": "sim_ok"
1727
  },
1728
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/inverted_condition": {
1729
- "status": "sim_ok"
1730
  },
1731
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/signal_typo": {
1732
  "status": "compile_error"
1733
  },
1734
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__lock_state/missing_reset": {
1735
- "status": "compile_error"
1736
  },
1737
  "defano_digital-design/uart__uart/blocking_nonblocking": {
1738
  "status": "llm_failed"
@@ -1765,7 +1765,7 @@
1765
  "status": "sim_ok"
1766
  },
1767
  "JN513_Risco-5/Core__immediate_generator/case_swap": {
1768
- "status": "waveform_identical"
1769
  },
1770
  "biren15_Design-and-Implementation-of-a-Cruise-Control-System/cruisecontrol__cruisecontrol/inverted_condition": {
1771
  "status": "sim_ok"
@@ -1784,13 +1784,13 @@
1784
  "examples_count": 0
1785
  },
1786
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/concat_swap": {
1787
- "status": "compile_error"
1788
  },
1789
  "accomdemy_accomdemy_rv32i/cpu__instr_memory/wrong_bitwidth": {
1790
- "status": "sim_ok"
1791
  },
1792
  "JN513_Risco-5/Core__core/missing_reset": {
1793
- "status": "waveform_identical"
1794
  },
1795
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/operator_typo": {
1796
  "status": "sim_ok"
@@ -1884,7 +1884,7 @@
1884
  "status": "waveform_identical"
1885
  },
1886
  "mnmhdanas_Router-1-x-3-/router_reg__router_reg/inverted_condition": {
1887
- "status": "sim_ok"
1888
  },
1889
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__mac_pcs/signal_typo": {
1890
  "status": "compile_error"
@@ -1924,7 +1924,7 @@
1924
  "status": "sim_ok"
1925
  },
1926
  "JN513_Risco-5/Core__csr_unit/missing_enable": {
1927
- "status": "waveform_identical"
1928
  },
1929
  "apfaudio_eurorack-pmod/ak4619__ak4619/signal_typo": {
1930
  "status": "compile_error"
@@ -2042,7 +2042,7 @@
2042
  "status": "sim_failed"
2043
  },
2044
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Forwarding_Unit/operator_typo": {
2045
- "status": "compile_error"
2046
  },
2047
  "shahsaumya00_Floating-Point-Adder/adder__adder_pipeline/operator_typo": {
2048
  "status": "sim_ok"
@@ -2069,7 +2069,7 @@
2069
  "status": "compile_error"
2070
  },
2071
  "JN513_Risco-5/Core__mdu/missing_reset": {
2072
- "status": "waveform_identical"
2073
  },
2074
  "Weiyet_RTLStructLib/hash_table__hash_table/wrong_bitwidth": {
2075
  "status": "waveform_identical"
@@ -2087,7 +2087,7 @@
2087
  "status": "sim_ok"
2088
  },
2089
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/case_swap": {
2090
- "status": "compile_error"
2091
  },
2092
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__decoder/wrong_bitwidth": {
2093
  "status": "sim_ok"
@@ -2139,7 +2139,7 @@
2139
  "status": "compile_error"
2140
  },
2141
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU/operator_typo": {
2142
- "status": "compile_error"
2143
  },
2144
  "dpretet_async_fifo/async_fifo__wptr_full/missing_reset": {
2145
  "status": "sim_ok"
@@ -2217,7 +2217,7 @@
2217
  "status": "compile_error"
2218
  },
2219
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC/case_swap": {
2220
- "status": "compile_error"
2221
  },
2222
  "projf_isle/ch02__ch02/case_swap": {
2223
  "status": "sim_ok"
@@ -2283,10 +2283,10 @@
2283
  "status": "sim_ok"
2284
  },
2285
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/missing_reset": {
2286
- "status": "compile_error"
2287
  },
2288
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/missing_reset": {
2289
- "status": "compile_error"
2290
  },
2291
  "Mr-Bossman_KISC-V/soc_top__timer/blocking_nonblocking": {
2292
  "status": "waveform_identical"
@@ -2301,10 +2301,10 @@
2301
  "status": "sim_failed"
2302
  },
2303
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/missing_enable": {
2304
- "status": "compile_error"
2305
  },
2306
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/operator_typo": {
2307
- "status": "compile_error"
2308
  },
2309
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_moore/missing_reset": {
2310
  "status": "sim_ok"
@@ -2325,7 +2325,7 @@
2325
  "status": "sim_ok"
2326
  },
2327
  "defano_digital-design/uart__uart/wrong_bitwidth": {
2328
- "status": "llm_failed"
2329
  },
2330
  "JN513_Risco-5/Core__core/delayed_signal": {
2331
  "status": "llm_failed"
@@ -2374,7 +2374,7 @@
2374
  "status": "sim_failed"
2375
  },
2376
  "nimanaqavi_Verilog-MathFunctions/part_Ln_TOP__Ln_CO/missing_reset": {
2377
- "status": "sim_ok"
2378
  },
2379
  "erihsu_INT_FP_MAC/int_fp_add__add_normalizer/operator_typo": {
2380
  "status": "sim_failed"
@@ -2404,7 +2404,7 @@
2404
  "status": "waveform_identical"
2405
  },
2406
  "JN513_Risco-5/Core__csr_unit/case_swap": {
2407
- "status": "waveform_identical"
2408
  },
2409
  "alexforencich_verilog-axi/axi_dma__axi_dma_wr/inverted_condition": {
2410
  "status": "llm_failed"
@@ -2473,7 +2473,7 @@
2473
  "status": "compile_error"
2474
  },
2475
  "JN513_Risco-5/Core__alu_control/inverted_condition": {
2476
- "status": "waveform_identical"
2477
  },
2478
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/delayed_signal": {
2479
  "status": "sim_ok"
@@ -2546,16 +2546,16 @@
2546
  "status": "waveform_identical"
2547
  },
2548
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ImmGen/case_swap": {
2549
- "status": "compile_error"
2550
  },
2551
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/concat_swap": {
2552
- "status": "sim_ok"
2553
  },
2554
  "apfaudio_eurorack-pmod/vca__vca/operator_typo": {
2555
  "status": "sim_ok"
2556
  },
2557
  "JN513_Risco-5/Core__csr_unit/missing_reset": {
2558
- "status": "waveform_identical"
2559
  },
2560
  "ttchisholm_10g-low-latency-ethernet/mac__mac/missing_enable": {
2561
  "status": "waveform_identical"
@@ -2579,7 +2579,7 @@
2579
  "status": "compile_error"
2580
  },
2581
  "MohamedHussein27_SPI_Slave_With_Single_Port_Memory/SPI_Wrapper__SPI_SLAVE/inverted_condition": {
2582
- "status": "sim_ok"
2583
  },
2584
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Master/case_swap": {
2585
  "status": "sim_ok"
@@ -2597,7 +2597,7 @@
2597
  "status": "sim_ok"
2598
  },
2599
  "JN513_Risco-5/Core__control_unit/missing_reset": {
2600
- "status": "waveform_identical"
2601
  },
2602
  "MohamedHussein27_SPI_Slave_With_Single_Port_Memory/SPI_Wrapper__SPI_SLAVE/delayed_signal": {
2603
  "status": "sim_ok"
@@ -2709,7 +2709,7 @@
2709
  "status": "sim_ok"
2710
  },
2711
  "JN513_Risco-5/Core__csr_unit/inverted_condition": {
2712
- "status": "waveform_identical"
2713
  },
2714
  "Mr-Bossman_KISC-V/soc_top__cpu/blocking_nonblocking": {
2715
  "status": "waveform_identical"
@@ -2742,7 +2742,7 @@
2742
  "status": "compile_error"
2743
  },
2744
  "thedatabusdotio_fpga-ml-accelerator/acclerator__mac_manual/unconnected_port": {
2745
- "status": "sim_ok"
2746
  },
2747
  "defano_digital-design/sevensegment__sevensegment/wrong_bitwidth": {
2748
  "status": "sim_ok"
@@ -2799,10 +2799,10 @@
2799
  "status": "waveform_identical"
2800
  },
2801
  "JN513_Risco-5/Core__registers/missing_enable": {
2802
- "status": "waveform_identical"
2803
  },
2804
  "aditeyabaral_DDCO-Lab-UE18CS207/mproc_mem__lib/operator_typo": {
2805
- "status": "sim_ok"
2806
  },
2807
  "projf_isle/ch05__xd/wrong_bitwidth": {
2808
  "status": "sim_ok"
@@ -2811,7 +2811,7 @@
2811
  "status": "sim_ok"
2812
  },
2813
  "JN513_Risco-5/Core__mdu/missing_enable": {
2814
- "status": "waveform_identical"
2815
  },
2816
  "Weiyet_RTLStructLib/list__list/missing_enable": {
2817
  "status": "sim_ok"
@@ -2859,7 +2859,7 @@
2859
  "status": "sim_ok"
2860
  },
2861
  "JN513_Risco-5/Core__control_unit/inverted_condition": {
2862
- "status": "waveform_identical"
2863
  },
2864
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC_Adderr/missing_else_latch": {
2865
  "status": "compile_error"
@@ -2883,7 +2883,7 @@
2883
  "status": "sim_ok"
2884
  },
2885
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/operator_typo": {
2886
- "status": "compile_error"
2887
  },
2888
  "Mr-Bossman_KISC-V/soc_top__intctrl/delayed_signal": {
2889
  "status": "waveform_identical"
@@ -2933,7 +2933,7 @@
2933
  "status": "sim_ok"
2934
  },
2935
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__I_Mem/concat_swap": {
2936
- "status": "compile_error"
2937
  },
2938
  "alexforencich_verilog-axi/axil_adapter__axil_adapter_rd/inverted_condition": {
2939
  "status": "sim_failed"
@@ -2954,7 +2954,7 @@
2954
  "status": "waveform_identical"
2955
  },
2956
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU_Decoder/operator_typo": {
2957
- "status": "sim_ok"
2958
  },
2959
  "accomdemy_accomdemy_rv32i/cpu__regfile/inverted_condition": {
2960
  "status": "waveform_identical"
@@ -2963,7 +2963,7 @@
2963
  "status": "waveform_identical"
2964
  },
2965
  "apfaudio_eurorack-pmod/ak4619__ak4619/off_by_one_counter": {
2966
- "status": "compile_error"
2967
  },
2968
  "roo16kie_MAC_Verilog/mac__mac/missing_reset": {
2969
  "status": "sim_ok"
@@ -3026,7 +3026,7 @@
3026
  "status": "sim_ok"
3027
  },
3028
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Master/state_transition": {
3029
- "status": "sim_ok"
3030
  },
3031
  "yaseensalah_Digital-Design-of-FIR-Filter/fir_filter__fir_filter/wrong_bitwidth": {
3032
  "status": "waveform_identical"
@@ -3096,7 +3096,7 @@
3096
  "status": "waveform_identical"
3097
  },
3098
  "thedatabusdotio_fpga-ml-accelerator/acclerator__accelerator/unconnected_port": {
3099
- "status": "sim_ok"
3100
  },
3101
  "alexforencich_verilog-axi/axi_fifo__axi_fifo_rd/inverted_condition": {
3102
  "status": "sim_failed"
@@ -3109,7 +3109,7 @@
3109
  "status": "sim_failed"
3110
  },
3111
  "JN513_Risco-5/Core__mdu/inverted_condition": {
3112
- "status": "waveform_identical"
3113
  },
3114
  "accomdemy_accomdemy_rv32i/cpu__regfile/operator_typo": {
3115
  "status": "waveform_identical"
@@ -3170,7 +3170,7 @@
3170
  "status": "compile_error"
3171
  },
3172
  "ttchisholm_10g-low-latency-ethernet/mac__mac/unconnected_port": {
3173
- "status": "compile_error"
3174
  },
3175
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/state_transition": {
3176
  "status": "compile_error"
@@ -3278,7 +3278,7 @@
3278
  "status": "sim_ok"
3279
  },
3280
  "JN513_Risco-5/Core__immediate_generator/concat_swap": {
3281
- "status": "waveform_identical"
3282
  },
3283
  "mnmhdanas_UART-protocol/UARTtb__counter_rx/wrong_bitwidth": {
3284
  "status": "sim_ok",
@@ -3330,7 +3330,7 @@
3330
  "status": "sim_ok"
3331
  },
3332
  "aditeyabaral_DDCO-Lab-UE18CS207/fa4__lib/operator_typo": {
3333
- "status": "sim_ok"
3334
  },
3335
  "defano_digital-design/knightrider__knight-rider/missing_reset": {
3336
  "status": "sim_ok"
@@ -3405,7 +3405,7 @@
3405
  "status": "compile_error"
3406
  },
3407
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU/inverted_condition": {
3408
- "status": "sim_ok"
3409
  },
3410
  "ayushc13_32-bit-RISC-processor-using-HDL-Verilog/mips32__mips32/concat_swap": {
3411
  "status": "sim_ok"
@@ -3435,7 +3435,7 @@
3435
  "status": "compile_error"
3436
  },
3437
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Data_Memory/missing_enable": {
3438
- "status": "sim_ok"
3439
  },
3440
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/operator_typo": {
3441
  "status": "compile_error"
@@ -3456,7 +3456,7 @@
3456
  "status": "waveform_identical"
3457
  },
3458
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__LDU/case_swap": {
3459
- "status": "compile_error"
3460
  },
3461
  "ttchisholm_10g-low-latency-ethernet/mac__tx_mac/signal_typo": {
3462
  "status": "compile_error"
@@ -3480,7 +3480,7 @@
3480
  "status": "sim_ok"
3481
  },
3482
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/missing_reset": {
3483
- "status": "compile_error"
3484
  },
3485
  "daringpatil3134_SPI_Serial_Peripheral_Interface_Verilog_Modules/spi_top__spi_shift_reg/concat_swap": {
3486
  "status": "waveform_identical"
@@ -3489,7 +3489,7 @@
3489
  "status": "sim_failed"
3490
  },
3491
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Forwarding_Unit/inverted_condition": {
3492
- "status": "compile_error"
3493
  },
3494
  "fcayci_sv-digital-design/fsm_counter__fsm_counter/missing_reset": {
3495
  "status": "sim_ok"
@@ -3499,7 +3499,7 @@
3499
  "examples_count": 0
3500
  },
3501
  "JN513_Risco-5/Core__mux/case_swap": {
3502
- "status": "waveform_identical"
3503
  },
3504
  "mnmhdanas_UART-protocol/UARTtb__bitchecker_rx/concat_swap": {
3505
  "status": "sim_ok",
@@ -3509,7 +3509,7 @@
3509
  "status": "sim_ok"
3510
  },
3511
  "aditeyabaral_DDCO-Lab-UE18CS207/alu__lib/operator_typo": {
3512
- "status": "sim_ok"
3513
  },
3514
  "Weiyet_RTLStructLib/fifo__fifo/wrong_bitwidth": {
3515
  "status": "sim_ok"
@@ -3560,7 +3560,7 @@
3560
  "status": "waveform_identical"
3561
  },
3562
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/missing_enable": {
3563
- "status": "compile_error"
3564
  },
3565
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Slave/inverted_condition": {
3566
  "status": "sim_ok"
@@ -3620,7 +3620,7 @@
3620
  "status": "sim_ok"
3621
  },
3622
  "apfaudio_eurorack-pmod/ak4619__ak4619/missing_enable": {
3623
- "status": "compile_error"
3624
  },
3625
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/wrong_bitwidth": {
3626
  "status": "sim_failed"
@@ -3644,7 +3644,7 @@
3644
  "status": "sim_ok"
3645
  },
3646
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BPU/case_swap": {
3647
- "status": "compile_error"
3648
  },
3649
  "scarv_xcrypto/xc_malu__xc_malu_divrem/operator_typo": {
3650
  "status": "sim_ok"
@@ -3653,16 +3653,16 @@
3653
  "status": "waveform_identical"
3654
  },
3655
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/wrong_bitwidth": {
3656
- "status": "sim_ok"
3657
  },
3658
  "ttchisholm_10g-low-latency-ethernet/mac__tx_mac/off_by_one_counter": {
3659
- "status": "compile_error"
3660
  },
3661
  "JN513_Risco-5/Core__alu/case_swap": {
3662
- "status": "waveform_identical"
3663
  },
3664
  "JN513_Risco-5/Core__csr_unit/concat_swap": {
3665
- "status": "waveform_identical"
3666
  },
3667
  "apfaudio_eurorack-pmod/top__eurorack_pmod/wrong_bitwidth": {
3668
  "status": "compile_error"
@@ -3713,7 +3713,7 @@
3713
  "status": "sim_ok"
3714
  },
3715
  "JN513_Risco-5/Core__memory/case_swap": {
3716
- "status": "waveform_identical"
3717
  },
3718
  "defano_digital-design/knightrider__knight-rider/delayed_signal": {
3719
  "status": "sim_ok"
@@ -3752,10 +3752,10 @@
3752
  "status": "waveform_identical"
3753
  },
3754
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Main_Decoder/operator_typo": {
3755
- "status": "sim_ok"
3756
  },
3757
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BHT/operator_typo": {
3758
- "status": "compile_error"
3759
  },
3760
  "fcayci_sv-digital-design/adder_str__adder_str/unconnected_port": {
3761
  "status": "sim_ok"
@@ -3777,7 +3777,7 @@
3777
  "status": "sim_ok"
3778
  },
3779
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__gearbox_seq/missing_reset": {
3780
- "status": "compile_error"
3781
  },
3782
  "zhangxin6_iverilog_testbench/display_pal__display_pal/operator_typo": {
3783
  "status": "sim_ok"
@@ -3795,7 +3795,7 @@
3795
  "status": "sim_ok"
3796
  },
3797
  "Mr-Bossman_KISC-V/AXI4Lite_translator__axi/inverted_condition": {
3798
- "status": "waveform_identical"
3799
  },
3800
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/inverted_condition": {
3801
  "status": "sim_ok"
@@ -3878,7 +3878,7 @@
3878
  "status": "sim_ok"
3879
  },
3880
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU/operator_typo": {
3881
- "status": "sim_ok"
3882
  },
3883
  "MohamedHussein27_RISC-V-Single-Cycle-Implementation/RISC_V_Wrapper__ALU/case_swap": {
3884
  "status": "sim_ok"
@@ -3910,52 +3910,540 @@
3910
  },
3911
  "scarv_xcrypto/p_mul__p_mul/missing_reset": {
3912
  "status": "waveform_identical"
3913
- }
3914
- },
3915
- "bug_types_attempted": {
3916
- "projf_isle": [
3917
- "case_swap",
3918
- "concat_swap",
3919
- "inverted_condition",
3920
- "missing_enable",
3921
- "missing_reset",
3922
- "off_by_one_counter",
3923
- "operator_typo",
3924
- "state_transition",
3925
- "unconnected_port",
3926
- "width_bit_cutoff",
3927
- "wrong_bitwidth"
3928
- ],
3929
- "accomdemy_accomdemy_rv32i": [
3930
- "blocking_nonblocking",
3931
- "case_swap",
3932
- "concat_swap",
3933
- "delayed_signal",
3934
- "inverted_condition",
3935
- "missing_else_latch",
3936
- "missing_enable",
3937
- "missing_reset",
3938
- "off_by_one_counter",
3939
- "operator_typo",
3940
- "signal_typo",
3941
- "state_transition",
3942
- "unconnected_port",
3943
- "width_bit_cutoff",
3944
- "wrong_bitwidth"
3945
- ],
3946
- "chili-chips-ba_wireguard-fpga": [
3947
- "blocking_nonblocking",
3948
- "inverted_condition",
3949
- "missing_else_latch",
3950
- "missing_reset",
3951
- "operator_typo",
3952
- "signal_typo",
3953
- "unconnected_port",
3954
- "wrong_bitwidth"
3955
- ],
3956
- "roo16kie_MAC_Verilog": [
3957
- "case_swap",
3958
- "concat_swap",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3959
  "inverted_condition",
3960
  "missing_enable",
3961
  "missing_reset",
@@ -3966,7 +4454,7 @@
3966
  "width_bit_cutoff",
3967
  "wrong_bitwidth"
3968
  ],
3969
- "0thbit_CRC_parallel": [
3970
  "case_swap",
3971
  "concat_swap",
3972
  "inverted_condition",
@@ -3979,27 +4467,20 @@
3979
  "width_bit_cutoff",
3980
  "wrong_bitwidth"
3981
  ],
3982
- "phoeniX-Digital-Design_phoeniX": [
3983
- "blocking_nonblocking"
3984
- ],
3985
- "Fraunhofer-IMS_airisc_core_complex": [
3986
- "blocking_nonblocking",
3987
  "case_swap",
3988
  "concat_swap",
3989
- "delayed_signal",
3990
  "inverted_condition",
3991
- "missing_else_latch",
3992
  "missing_enable",
3993
  "missing_reset",
3994
  "off_by_one_counter",
3995
  "operator_typo",
3996
- "signal_typo",
3997
  "state_transition",
3998
  "unconnected_port",
3999
  "width_bit_cutoff",
4000
  "wrong_bitwidth"
4001
  ],
4002
- "nimanaqavi_Verilog-MathFunctions": [
4003
  "blocking_nonblocking",
4004
  "case_swap",
4005
  "concat_swap",
@@ -4016,20 +4497,24 @@
4016
  "width_bit_cutoff",
4017
  "wrong_bitwidth"
4018
  ],
4019
- "Vaibhav-Gunthe_Verilog-Projects": [
 
4020
  "case_swap",
4021
  "concat_swap",
 
4022
  "inverted_condition",
 
4023
  "missing_enable",
4024
  "missing_reset",
4025
  "off_by_one_counter",
4026
  "operator_typo",
 
4027
  "state_transition",
4028
  "unconnected_port",
4029
  "width_bit_cutoff",
4030
  "wrong_bitwidth"
4031
  ],
4032
- "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3": [
4033
  "case_swap",
4034
  "concat_swap",
4035
  "inverted_condition",
@@ -4042,20 +4527,24 @@
4042
  "width_bit_cutoff",
4043
  "wrong_bitwidth"
4044
  ],
4045
- "Abdelrahman1810_SPI_Slave_with_Single_Port_RAM": [
 
4046
  "case_swap",
4047
  "concat_swap",
 
4048
  "inverted_condition",
 
4049
  "missing_enable",
4050
  "missing_reset",
4051
  "off_by_one_counter",
4052
  "operator_typo",
 
4053
  "state_transition",
4054
  "unconnected_port",
4055
  "width_bit_cutoff",
4056
  "wrong_bitwidth"
4057
  ],
4058
- "JN513_Risco-5": [
4059
  "blocking_nonblocking",
4060
  "case_swap",
4061
  "concat_swap",
@@ -4072,7 +4561,7 @@
4072
  "width_bit_cutoff",
4073
  "wrong_bitwidth"
4074
  ],
4075
- "OrsuVenkataKrishnaiah1235_RTL-Coding": [
4076
  "blocking_nonblocking",
4077
  "case_swap",
4078
  "concat_swap",
@@ -4102,24 +4591,52 @@
4102
  "width_bit_cutoff",
4103
  "wrong_bitwidth"
4104
  ],
4105
- "apfaudio_eurorack-pmod": [
4106
- "blocking_nonblocking",
 
 
 
 
 
4107
  "case_swap",
4108
  "concat_swap",
4109
- "delayed_signal",
4110
  "inverted_condition",
4111
- "missing_else_latch",
4112
  "missing_enable",
4113
  "missing_reset",
4114
  "off_by_one_counter",
4115
  "operator_typo",
4116
- "signal_typo",
4117
  "state_transition",
4118
  "unconnected_port",
4119
  "width_bit_cutoff",
4120
  "wrong_bitwidth"
4121
  ],
4122
- "mnmhdanas_UART-protocol": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4123
  "blocking_nonblocking",
4124
  "case_swap",
4125
  "concat_swap",
@@ -4136,7 +4653,7 @@
4136
  "width_bit_cutoff",
4137
  "wrong_bitwidth"
4138
  ],
4139
- "selimsandal_OneShotNPU": [
4140
  "blocking_nonblocking",
4141
  "case_swap",
4142
  "concat_swap",
@@ -4153,7 +4670,7 @@
4153
  "width_bit_cutoff",
4154
  "wrong_bitwidth"
4155
  ],
4156
- "daringpatil3134_SPI_Serial_Peripheral_Interface_Verilog_Modules": [
4157
  "case_swap",
4158
  "concat_swap",
4159
  "inverted_condition",
@@ -4166,18 +4683,18 @@
4166
  "width_bit_cutoff",
4167
  "wrong_bitwidth"
4168
  ],
4169
- "alexforencich_verilog-axi": [
4170
- "case_swap",
4171
- "concat_swap"
4172
- ],
4173
- "Crimsonninja_senior_design_puf": [
4174
  "case_swap",
4175
  "concat_swap",
 
4176
  "inverted_condition",
 
4177
  "missing_enable",
4178
  "missing_reset",
4179
  "off_by_one_counter",
4180
  "operator_typo",
 
4181
  "state_transition",
4182
  "unconnected_port",
4183
  "width_bit_cutoff",
@@ -4196,24 +4713,20 @@
4196
  "width_bit_cutoff",
4197
  "wrong_bitwidth"
4198
  ],
4199
- "ttchisholm_10g-low-latency-ethernet": [
4200
- "blocking_nonblocking",
4201
  "case_swap",
4202
  "concat_swap",
4203
- "delayed_signal",
4204
  "inverted_condition",
4205
- "missing_else_latch",
4206
  "missing_enable",
4207
  "missing_reset",
4208
  "off_by_one_counter",
4209
  "operator_typo",
4210
- "signal_typo",
4211
  "state_transition",
4212
  "unconnected_port",
4213
  "width_bit_cutoff",
4214
  "wrong_bitwidth"
4215
  ],
4216
- "qossayrida_PipelineProcessorDesign": [
4217
  "case_swap",
4218
  "concat_swap",
4219
  "inverted_condition",
@@ -4226,7 +4739,7 @@
4226
  "width_bit_cutoff",
4227
  "wrong_bitwidth"
4228
  ],
4229
- "Weiyet_RTLStructLib": [
4230
  "case_swap",
4231
  "concat_swap",
4232
  "inverted_condition",
@@ -4239,7 +4752,7 @@
4239
  "width_bit_cutoff",
4240
  "wrong_bitwidth"
4241
  ],
4242
- "MohamedHussein27_AMPA_APB4_Protocol": [
4243
  "blocking_nonblocking",
4244
  "case_swap",
4245
  "concat_swap",
@@ -4256,7 +4769,7 @@
4256
  "width_bit_cutoff",
4257
  "wrong_bitwidth"
4258
  ],
4259
- "MohamedHussein27_SPI_Slave_With_Single_Port_Memory": [
4260
  "blocking_nonblocking",
4261
  "case_swap",
4262
  "concat_swap",
@@ -4273,24 +4786,46 @@
4273
  "width_bit_cutoff",
4274
  "wrong_bitwidth"
4275
  ],
4276
- "meiniKi_FazyRV": [
4277
- "blocking_nonblocking",
4278
  "case_swap",
4279
  "concat_swap",
4280
- "delayed_signal",
4281
  "inverted_condition",
4282
- "missing_else_latch",
4283
  "missing_enable",
4284
  "missing_reset",
4285
  "off_by_one_counter",
4286
  "operator_typo",
4287
- "signal_typo",
4288
  "state_transition",
4289
  "unconnected_port",
4290
  "width_bit_cutoff",
4291
  "wrong_bitwidth"
4292
  ],
4293
- "Mr-Bossman_KISC-V": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4294
  "blocking_nonblocking",
4295
  "case_swap",
4296
  "concat_swap",
@@ -4307,7 +4842,7 @@
4307
  "width_bit_cutoff",
4308
  "wrong_bitwidth"
4309
  ],
4310
- "erihsu_INT_FP_MAC": [
4311
  "case_swap",
4312
  "concat_swap",
4313
  "inverted_condition",
@@ -4317,10 +4852,9 @@
4317
  "operator_typo",
4318
  "state_transition",
4319
  "unconnected_port",
4320
- "width_bit_cutoff",
4321
- "wrong_bitwidth"
4322
  ],
4323
- "biren15_Design-and-Verification-of-LDPC-Decoder": [
4324
  "case_swap",
4325
  "concat_swap",
4326
  "inverted_condition",
@@ -4333,7 +4867,7 @@
4333
  "width_bit_cutoff",
4334
  "wrong_bitwidth"
4335
  ],
4336
- "defano_digital-design": [
4337
  "blocking_nonblocking",
4338
  "case_swap",
4339
  "concat_swap",
@@ -4350,24 +4884,30 @@
4350
  "width_bit_cutoff",
4351
  "wrong_bitwidth"
4352
  ],
4353
- "lucky-wfw_IC_System_Design": [
4354
  "blocking_nonblocking",
 
 
 
 
 
 
 
 
 
4355
  "case_swap",
4356
  "concat_swap",
4357
- "delayed_signal",
4358
  "inverted_condition",
4359
- "missing_else_latch",
4360
  "missing_enable",
4361
  "missing_reset",
4362
  "off_by_one_counter",
4363
  "operator_typo",
4364
- "signal_typo",
4365
  "state_transition",
4366
  "unconnected_port",
4367
  "width_bit_cutoff",
4368
  "wrong_bitwidth"
4369
  ],
4370
- "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core": [
4371
  "blocking_nonblocking",
4372
  "case_swap",
4373
  "concat_swap",
@@ -4384,7 +4924,7 @@
4384
  "width_bit_cutoff",
4385
  "wrong_bitwidth"
4386
  ],
4387
- "dpretet_async_fifo": [
4388
  "case_swap",
4389
  "concat_swap",
4390
  "inverted_condition",
@@ -4397,24 +4937,33 @@
4397
  "width_bit_cutoff",
4398
  "wrong_bitwidth"
4399
  ],
4400
- "thejefflarson_little-cpu": [
4401
- "blocking_nonblocking",
4402
  "case_swap",
4403
  "concat_swap",
4404
- "delayed_signal",
4405
  "inverted_condition",
4406
- "missing_else_latch",
4407
  "missing_enable",
4408
  "missing_reset",
4409
  "off_by_one_counter",
4410
  "operator_typo",
4411
- "signal_typo",
4412
  "state_transition",
4413
  "unconnected_port",
4414
  "width_bit_cutoff",
4415
  "wrong_bitwidth"
4416
  ],
4417
- "shahsaumya00_Floating-Point-Adder": [
 
 
 
 
 
 
 
 
 
 
 
 
 
4418
  "blocking_nonblocking",
4419
  "case_swap",
4420
  "concat_swap",
@@ -4431,7 +4980,7 @@
4431
  "width_bit_cutoff",
4432
  "wrong_bitwidth"
4433
  ],
4434
- "mnmhdanas_Router-1-x-3-": [
4435
  "blocking_nonblocking",
4436
  "case_swap",
4437
  "concat_swap",
@@ -4448,7 +4997,7 @@
4448
  "width_bit_cutoff",
4449
  "wrong_bitwidth"
4450
  ],
4451
- "scarv_xcrypto": [
4452
  "blocking_nonblocking",
4453
  "case_swap",
4454
  "concat_swap",
@@ -4465,7 +5014,10 @@
4465
  "width_bit_cutoff",
4466
  "wrong_bitwidth"
4467
  ],
4468
- "aditeyabaral_DDCO-Lab-UE18CS207": [
 
 
 
4469
  "case_swap",
4470
  "concat_swap",
4471
  "inverted_condition",
@@ -4478,7 +5030,7 @@
4478
  "width_bit_cutoff",
4479
  "wrong_bitwidth"
4480
  ],
4481
- "meiniKi_RV32I_SC_Logisim": [
4482
  "blocking_nonblocking",
4483
  "case_swap",
4484
  "concat_swap",
@@ -4495,81 +5047,84 @@
4495
  "width_bit_cutoff",
4496
  "wrong_bitwidth"
4497
  ],
4498
- "zhangxin6_iverilog_testbench": [
4499
  "blocking_nonblocking",
4500
  "case_swap",
4501
  "concat_swap",
 
4502
  "inverted_condition",
 
4503
  "missing_enable",
4504
  "missing_reset",
4505
  "off_by_one_counter",
4506
  "operator_typo",
 
4507
  "state_transition",
4508
  "unconnected_port",
4509
  "width_bit_cutoff",
4510
  "wrong_bitwidth"
4511
  ],
4512
- "fcayci_sv-digital-design": [
4513
- "blocking_nonblocking",
4514
  "case_swap",
4515
  "concat_swap",
4516
- "delayed_signal",
4517
  "inverted_condition",
4518
- "missing_else_latch",
4519
  "missing_enable",
4520
  "missing_reset",
4521
  "off_by_one_counter",
4522
  "operator_typo",
4523
- "signal_typo",
4524
  "state_transition",
4525
  "unconnected_port",
4526
  "width_bit_cutoff",
4527
  "wrong_bitwidth"
4528
  ],
4529
- "akira2963753_Pipelined-RV32-SoC": [
4530
- "blocking_nonblocking",
4531
  "case_swap",
4532
  "concat_swap",
4533
- "delayed_signal",
4534
  "inverted_condition",
4535
- "missing_else_latch",
4536
  "missing_enable",
4537
  "missing_reset",
4538
  "off_by_one_counter",
4539
  "operator_typo",
4540
- "signal_typo",
4541
  "state_transition",
4542
  "unconnected_port",
4543
  "width_bit_cutoff",
4544
  "wrong_bitwidth"
4545
  ],
4546
- "arhamhashmi01_Axi4-lite": [
 
4547
  "case_swap",
4548
  "concat_swap",
 
4549
  "inverted_condition",
 
4550
  "missing_enable",
4551
  "missing_reset",
4552
  "off_by_one_counter",
4553
  "operator_typo",
 
4554
  "state_transition",
4555
  "unconnected_port",
4556
  "width_bit_cutoff",
4557
  "wrong_bitwidth"
4558
  ],
4559
- "MohamedHussein27_RISC-V-Single-Cycle-Implementation": [
 
4560
  "case_swap",
4561
  "concat_swap",
 
4562
  "inverted_condition",
 
4563
  "missing_enable",
4564
  "missing_reset",
4565
  "off_by_one_counter",
4566
  "operator_typo",
 
4567
  "state_transition",
4568
  "unconnected_port",
4569
  "width_bit_cutoff",
4570
  "wrong_bitwidth"
4571
  ],
4572
- "yaseensalah_Digital-Design-of-FIR-Filter": [
4573
  "case_swap",
4574
  "concat_swap",
4575
  "inverted_condition",
@@ -4582,20 +5137,24 @@
4582
  "width_bit_cutoff",
4583
  "wrong_bitwidth"
4584
  ],
4585
- "Amr-HAlahla_Multi-Cycle-RISC-Processor-In-Verilog": [
 
4586
  "case_swap",
4587
  "concat_swap",
 
4588
  "inverted_condition",
 
4589
  "missing_enable",
4590
  "missing_reset",
4591
  "off_by_one_counter",
4592
  "operator_typo",
 
4593
  "state_transition",
4594
  "unconnected_port",
4595
  "width_bit_cutoff",
4596
  "wrong_bitwidth"
4597
  ],
4598
- "CharanK-glitch_RV32I": [
4599
  "case_swap",
4600
  "concat_swap",
4601
  "inverted_condition",
@@ -4617,23 +5176,43 @@
4617
  "off_by_one_counter",
4618
  "operator_typo"
4619
  ],
4620
- "ayushc13_32-bit-RISC-processor-using-HDL-Verilog": [
 
4621
  "case_swap",
4622
  "concat_swap",
 
4623
  "inverted_condition",
 
4624
  "missing_enable",
4625
  "missing_reset",
4626
  "off_by_one_counter",
4627
  "operator_typo",
 
4628
  "state_transition",
4629
  "unconnected_port",
4630
- "width_bit_cutoff"
 
4631
  ],
4632
- "saivittalb_simd-processor-verification": [
 
 
 
 
 
4633
  "case_swap",
4634
  "concat_swap",
 
4635
  "inverted_condition",
4636
- "missing_enable"
 
 
 
 
 
 
 
 
 
4637
  ]
4638
  }
4639
  }
 
1
  {
2
  "version": 2,
3
+ "generated_at": "2026-04-07T19:17:08.564998+00:00",
4
  "entries": {
5
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_mealy/missing_reset": {
6
  "status": "sim_ok"
 
136
  "status": "sim_ok"
137
  },
138
  "JN513_Risco-5/Core__leds/missing_enable": {
139
+ "status": "sim_failed"
140
  },
141
  "Mr-Bossman_KISC-V/soc_top__uart/blocking_nonblocking": {
142
  "status": "waveform_identical"
 
191
  "status": "sim_ok"
192
  },
193
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU/case_swap": {
194
+ "status": "waveform_identical"
195
  },
196
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Main_Decoder/inverted_condition": {
197
  "status": "sim_ok"
 
303
  "status": "waveform_identical"
304
  },
305
  "JN513_Risco-5/Core__alu_control/case_swap": {
306
+ "status": "sim_failed"
307
  },
308
  "Weiyet_RTLStructLib/singly_linked_list__singly_linked_list/inverted_condition": {
309
  "status": "sim_ok"
 
367
  "status": "compile_error"
368
  },
369
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/missing_enable": {
370
+ "status": "waveform_identical"
371
  },
372
  "Vaibhav-Gunthe_Verilog-Projects/alu_8bit__8bit-ALU/case_swap": {
373
  "status": "sim_ok"
 
419
  "status": "sim_failed"
420
  },
421
  "JN513_Risco-5/Core__registers/missing_reset": {
422
+ "status": "sim_failed"
423
  },
424
  "projf_isle/ch06__uart_dev/missing_reset": {
425
  "status": "waveform_identical"
 
594
  "examples_count": 0
595
  },
596
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ImmGen/concat_swap": {
597
+ "status": "waveform_identical"
598
  },
599
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__PC/blocking_nonblocking": {
600
  "status": "sim_ok"
 
606
  "status": "compile_error"
607
  },
608
  "thedatabusdotio_fpga-ml-accelerator/acclerator__convolver/missing_reset": {
609
+ "status": "waveform_identical"
610
  },
611
  "alexforencich_verilog-axi/axi_crossbar_wrap_4x4__arbiter/inverted_condition": {
612
  "status": "timeout"
 
618
  "status": "compile_error"
619
  },
620
  "ttchisholm_10g-low-latency-ethernet/mac__code_defs_pkg/case_swap": {
621
+ "status": "waveform_identical"
622
  },
623
  "qossayrida_PipelineProcessorDesign/IFStage__IFStage/wrong_bitwidth": {
624
  "status": "waveform_identical"
 
627
  "status": "sim_ok"
628
  },
629
  "JN513_Risco-5/Core__core/missing_enable": {
630
+ "status": "sim_failed"
631
  },
632
  "mnmhdanas_Router-1-x-3-/router_reg__router_reg/wrong_bitwidth": {
633
  "status": "sim_ok"
 
645
  "status": "sim_ok"
646
  },
647
  "aditeyabaral_DDCO-Lab-UE18CS207/reg_alu__lib/operator_typo": {
648
+ "status": "waveform_identical"
649
  },
650
  "erihsu_INT_FP_MAC/int_fp_add__int_fp_add/operator_typo": {
651
  "status": "sim_failed"
 
663
  "status": "sim_ok"
664
  },
665
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/inverted_condition": {
666
+ "status": "waveform_identical"
667
  },
668
  "projf_isle/ch04__textmode/missing_reset": {
669
  "status": "waveform_identical"
 
681
  "status": "compile_error"
682
  },
683
  "JN513_Risco-5/Core__memory/missing_enable": {
684
+ "status": "sim_failed"
685
  },
686
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/concat_swap": {
687
  "status": "waveform_identical"
 
711
  "status": "sim_failed"
712
  },
713
  "aditeyabaral_DDCO-Lab-UE18CS207/mproc_mem__mproc_mem/wrong_bitwidth": {
714
+ "status": "waveform_identical"
715
  },
716
  "fcayci_sv-digital-design/fsm_tick__fsm_tick_en/inverted_condition": {
717
  "status": "sim_ok"
 
837
  "status": "sim_ok"
838
  },
839
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/case_swap": {
840
+ "status": "waveform_identical"
841
  },
842
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/inverted_condition": {
843
+ "status": "waveform_identical"
844
  },
845
  "Weiyet_RTLStructLib/list__sorter/inverted_condition": {
846
  "status": "sim_ok"
 
873
  "status": "sim_ok"
874
  },
875
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/unconnected_port": {
876
+ "status": "waveform_identical"
877
  },
878
  "biren15_Design-and-Implementation-of-a-Cruise-Control-System/cruisecontrol__cruisecontrol/operator_typo": {
879
  "status": "sim_ok"
880
  },
881
  "JN513_Risco-5/Core__pc/missing_enable": {
882
+ "status": "sim_failed"
883
  },
884
  "mnmhdanas_UART-protocol/UARTtb__counter_tx/blocking_nonblocking": {
885
  "status": "sim_ok",
886
  "examples_count": 0
887
  },
888
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/operator_typo": {
889
+ "status": "waveform_identical"
890
  },
891
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/signal_typo": {
892
  "status": "compile_error"
 
934
  "status": "sim_ok"
935
  },
936
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Register_File/missing_enable": {
937
+ "status": "waveform_identical"
938
  },
939
  "mnmhdanas_UART-protocol/UARTtb__piso_tx/blocking_nonblocking": {
940
  "status": "sim_ok",
 
950
  "status": "compile_error"
951
  },
952
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/state_transition": {
953
+ "status": "waveform_identical"
954
  },
955
  "mnmhdanas_UART-protocol/UARTtb__piso_tx/wrong_bitwidth": {
956
  "status": "sim_ok"
 
980
  "status": "compile_error"
981
  },
982
  "JN513_Risco-5/Core__memory/concat_swap": {
983
+ "status": "sim_failed"
984
  },
985
  "mnmhdanas_UART-protocol/UARTtb__transmitter/blocking_nonblocking": {
986
  "status": "sim_ok",
 
1051
  "status": "sim_ok"
1052
  },
1053
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/missing_reset": {
1054
+ "status": "compile_error"
1055
  },
1056
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Hazard_Unit/operator_typo": {
1057
+ "status": "waveform_identical"
1058
  },
1059
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU_Control/case_swap": {
1060
  "status": "sim_ok"
 
1120
  "status": "sim_ok"
1121
  },
1122
  "aditeyabaral_DDCO-Lab-UE18CS207/pc__lib/operator_typo": {
1123
+ "status": "waveform_identical"
1124
  },
1125
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/width_bit_cutoff": {
1126
  "status": "sim_failed"
 
1160
  "status": "waveform_identical"
1161
  },
1162
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/case_swap": {
1163
+ "status": "waveform_identical"
1164
  },
1165
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/delayed_signal": {
1166
  "status": "compile_error"
 
1227
  "status": "sim_ok"
1228
  },
1229
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC_Adderr/missing_enable": {
1230
+ "status": "waveform_identical"
1231
  },
1232
  "defano_digital-design/konamiacceptor__debouncer/operator_typo": {
1233
  "status": "sim_ok"
 
1273
  "status": "waveform_identical"
1274
  },
1275
  "thedatabusdotio_fpga-ml-accelerator/acclerator__mac_manual/missing_reset": {
1276
+ "status": "waveform_identical"
1277
  },
1278
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/off_by_one_counter": {
1279
  "status": "sim_failed"
 
1285
  "status": "sim_ok"
1286
  },
1287
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Memory_Cycle/wrong_bitwidth": {
1288
+ "status": "waveform_identical"
1289
  },
1290
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/missing_reset": {
1291
  "status": "sim_ok"
 
1300
  "status": "sim_ok"
1301
  },
1302
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__IF_ID/missing_enable": {
1303
+ "status": "waveform_identical"
1304
  },
1305
  "JN513_Risco-5/Core__memory/blocking_nonblocking": {
1306
  "status": "waveform_identical"
1307
  },
1308
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/off_by_one_counter": {
1309
+ "status": "waveform_identical"
1310
  },
1311
  "defano_digital-design/sevensegment__displaydriver/width_bit_cutoff": {
1312
  "status": "sim_ok"
 
1369
  "status": "sim_ok"
1370
  },
1371
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/missing_reset": {
1372
+ "status": "waveform_identical"
1373
  },
1374
  "JN513_Risco-5/Core__core/inverted_condition": {
1375
+ "status": "sim_failed"
1376
  },
1377
  "fcayci_sv-digital-design/fsm_tick__fsm_tick_en/delayed_signal": {
1378
  "status": "sim_ok"
 
1381
  "status": "compile_error"
1382
  },
1383
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Wrapper/unconnected_port": {
1384
+ "status": "waveform_identical"
1385
  },
1386
  "alexforencich_verilog-axi/axi_fifo__axi_fifo_wr/inverted_condition": {
1387
  "status": "sim_failed"
 
1438
  "status": "waveform_identical"
1439
  },
1440
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BTB/missing_reset": {
1441
+ "status": "waveform_identical"
1442
  },
1443
  "JN513_Risco-5/Core__mdu/delayed_signal": {
1444
  "status": "waveform_identical"
 
1474
  "status": "sim_ok"
1475
  },
1476
  "apfaudio_eurorack-pmod/ak4619__ak4619/inverted_condition": {
1477
+ "status": "waveform_identical"
1478
  },
1479
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_moore/missing_else_latch": {
1480
  "status": "sim_ok"
 
1549
  "status": "sim_ok"
1550
  },
1551
  "JN513_Risco-5/ClkDivider__clk_divider/missing_enable": {
1552
+ "status": "waveform_identical"
1553
  },
1554
  "projf_isle/ch02__canv_disp_agu/missing_reset": {
1555
  "status": "sim_ok"
 
1579
  "status": "compile_error"
1580
  },
1581
  "JN513_Risco-5/Core__leds/missing_reset": {
1582
+ "status": "sim_failed"
1583
  },
1584
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__lock_state/off_by_one_counter": {
1585
+ "status": "waveform_identical"
1586
  },
1587
  "zhangxin6_iverilog_testbench/hdlcrev__hdlcrev/wrong_bitwidth": {
1588
  "status": "sim_ok"
 
1600
  "status": "waveform_identical"
1601
  },
1602
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/unconnected_port": {
1603
+ "status": "waveform_identical"
1604
  },
1605
  "JN513_Risco-5/Core__memory/inverted_condition": {
1606
+ "status": "sim_failed"
1607
  },
1608
  "thedatabusdotio_fpga-ml-accelerator/acclerator__control_logic2/operator_typo": {
1609
  "status": "sim_ok"
 
1630
  "status": "waveform_identical"
1631
  },
1632
  "JN513_Risco-5/Core__pc/missing_reset": {
1633
+ "status": "sim_failed"
1634
  },
1635
  "ttchisholm_10g-low-latency-ethernet/rx_gearbox__tx_gearbox/signal_typo": {
1636
  "status": "compile_error"
 
1654
  "status": "sim_ok"
1655
  },
1656
  "JN513_Risco-5/Core__control_unit/case_swap": {
1657
+ "status": "sim_failed"
1658
  },
1659
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/operator_typo": {
1660
+ "status": "waveform_identical"
1661
  },
1662
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/blocking_nonblocking": {
1663
  "status": "compile_error"
 
1726
  "status": "sim_ok"
1727
  },
1728
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/inverted_condition": {
1729
+ "status": "waveform_identical"
1730
  },
1731
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/signal_typo": {
1732
  "status": "compile_error"
1733
  },
1734
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__lock_state/missing_reset": {
1735
+ "status": "waveform_identical"
1736
  },
1737
  "defano_digital-design/uart__uart/blocking_nonblocking": {
1738
  "status": "llm_failed"
 
1765
  "status": "sim_ok"
1766
  },
1767
  "JN513_Risco-5/Core__immediate_generator/case_swap": {
1768
+ "status": "sim_failed"
1769
  },
1770
  "biren15_Design-and-Implementation-of-a-Cruise-Control-System/cruisecontrol__cruisecontrol/inverted_condition": {
1771
  "status": "sim_ok"
 
1784
  "examples_count": 0
1785
  },
1786
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/concat_swap": {
1787
+ "status": "waveform_identical"
1788
  },
1789
  "accomdemy_accomdemy_rv32i/cpu__instr_memory/wrong_bitwidth": {
1790
+ "status": "waveform_identical"
1791
  },
1792
  "JN513_Risco-5/Core__core/missing_reset": {
1793
+ "status": "sim_failed"
1794
  },
1795
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/operator_typo": {
1796
  "status": "sim_ok"
 
1884
  "status": "waveform_identical"
1885
  },
1886
  "mnmhdanas_Router-1-x-3-/router_reg__router_reg/inverted_condition": {
1887
+ "status": "waveform_identical"
1888
  },
1889
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__mac_pcs/signal_typo": {
1890
  "status": "compile_error"
 
1924
  "status": "sim_ok"
1925
  },
1926
  "JN513_Risco-5/Core__csr_unit/missing_enable": {
1927
+ "status": "sim_failed"
1928
  },
1929
  "apfaudio_eurorack-pmod/ak4619__ak4619/signal_typo": {
1930
  "status": "compile_error"
 
2042
  "status": "sim_failed"
2043
  },
2044
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Forwarding_Unit/operator_typo": {
2045
+ "status": "waveform_identical"
2046
  },
2047
  "shahsaumya00_Floating-Point-Adder/adder__adder_pipeline/operator_typo": {
2048
  "status": "sim_ok"
 
2069
  "status": "compile_error"
2070
  },
2071
  "JN513_Risco-5/Core__mdu/missing_reset": {
2072
+ "status": "sim_failed"
2073
  },
2074
  "Weiyet_RTLStructLib/hash_table__hash_table/wrong_bitwidth": {
2075
  "status": "waveform_identical"
 
2087
  "status": "sim_ok"
2088
  },
2089
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/case_swap": {
2090
+ "status": "waveform_identical"
2091
  },
2092
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__decoder/wrong_bitwidth": {
2093
  "status": "sim_ok"
 
2139
  "status": "compile_error"
2140
  },
2141
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ALU/operator_typo": {
2142
+ "status": "waveform_identical"
2143
  },
2144
  "dpretet_async_fifo/async_fifo__wptr_full/missing_reset": {
2145
  "status": "sim_ok"
 
2217
  "status": "compile_error"
2218
  },
2219
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC/case_swap": {
2220
+ "status": "waveform_identical"
2221
  },
2222
  "projf_isle/ch02__ch02/case_swap": {
2223
  "status": "sim_ok"
 
2283
  "status": "sim_ok"
2284
  },
2285
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/missing_reset": {
2286
+ "status": "waveform_identical"
2287
  },
2288
  "ttchisholm_10g-low-latency-ethernet/mac__rx_mac/missing_reset": {
2289
+ "status": "waveform_identical"
2290
  },
2291
  "Mr-Bossman_KISC-V/soc_top__timer/blocking_nonblocking": {
2292
  "status": "waveform_identical"
 
2301
  "status": "sim_failed"
2302
  },
2303
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__D_Mem/missing_enable": {
2304
+ "status": "waveform_identical"
2305
  },
2306
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Control/operator_typo": {
2307
+ "status": "waveform_identical"
2308
  },
2309
  "fcayci_sv-digital-design/fsm_pattern_moore__fsm_pattern_moore/missing_reset": {
2310
  "status": "sim_ok"
 
2325
  "status": "sim_ok"
2326
  },
2327
  "defano_digital-design/uart__uart/wrong_bitwidth": {
2328
+ "status": "timeout"
2329
  },
2330
  "JN513_Risco-5/Core__core/delayed_signal": {
2331
  "status": "llm_failed"
 
2374
  "status": "sim_failed"
2375
  },
2376
  "nimanaqavi_Verilog-MathFunctions/part_Ln_TOP__Ln_CO/missing_reset": {
2377
+ "status": "waveform_identical"
2378
  },
2379
  "erihsu_INT_FP_MAC/int_fp_add__add_normalizer/operator_typo": {
2380
  "status": "sim_failed"
 
2404
  "status": "waveform_identical"
2405
  },
2406
  "JN513_Risco-5/Core__csr_unit/case_swap": {
2407
+ "status": "sim_failed"
2408
  },
2409
  "alexforencich_verilog-axi/axi_dma__axi_dma_wr/inverted_condition": {
2410
  "status": "llm_failed"
 
2473
  "status": "compile_error"
2474
  },
2475
  "JN513_Risco-5/Core__alu_control/inverted_condition": {
2476
+ "status": "sim_failed"
2477
  },
2478
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/delayed_signal": {
2479
  "status": "sim_ok"
 
2546
  "status": "waveform_identical"
2547
  },
2548
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__ImmGen/case_swap": {
2549
+ "status": "waveform_identical"
2550
  },
2551
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Sign_Extend/concat_swap": {
2552
+ "status": "waveform_identical"
2553
  },
2554
  "apfaudio_eurorack-pmod/vca__vca/operator_typo": {
2555
  "status": "sim_ok"
2556
  },
2557
  "JN513_Risco-5/Core__csr_unit/missing_reset": {
2558
+ "status": "sim_failed"
2559
  },
2560
  "ttchisholm_10g-low-latency-ethernet/mac__mac/missing_enable": {
2561
  "status": "waveform_identical"
 
2579
  "status": "compile_error"
2580
  },
2581
  "MohamedHussein27_SPI_Slave_With_Single_Port_Memory/SPI_Wrapper__SPI_SLAVE/inverted_condition": {
2582
+ "status": "waveform_identical"
2583
  },
2584
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Master/case_swap": {
2585
  "status": "sim_ok"
 
2597
  "status": "sim_ok"
2598
  },
2599
  "JN513_Risco-5/Core__control_unit/missing_reset": {
2600
+ "status": "sim_failed"
2601
  },
2602
  "MohamedHussein27_SPI_Slave_With_Single_Port_Memory/SPI_Wrapper__SPI_SLAVE/delayed_signal": {
2603
  "status": "sim_ok"
 
2709
  "status": "sim_ok"
2710
  },
2711
  "JN513_Risco-5/Core__csr_unit/inverted_condition": {
2712
+ "status": "sim_failed"
2713
  },
2714
  "Mr-Bossman_KISC-V/soc_top__cpu/blocking_nonblocking": {
2715
  "status": "waveform_identical"
 
2742
  "status": "compile_error"
2743
  },
2744
  "thedatabusdotio_fpga-ml-accelerator/acclerator__mac_manual/unconnected_port": {
2745
+ "status": "waveform_identical"
2746
  },
2747
  "defano_digital-design/sevensegment__sevensegment/wrong_bitwidth": {
2748
  "status": "sim_ok"
 
2799
  "status": "waveform_identical"
2800
  },
2801
  "JN513_Risco-5/Core__registers/missing_enable": {
2802
+ "status": "sim_failed"
2803
  },
2804
  "aditeyabaral_DDCO-Lab-UE18CS207/mproc_mem__lib/operator_typo": {
2805
+ "status": "waveform_identical"
2806
  },
2807
  "projf_isle/ch05__xd/wrong_bitwidth": {
2808
  "status": "sim_ok"
 
2811
  "status": "sim_ok"
2812
  },
2813
  "JN513_Risco-5/Core__mdu/missing_enable": {
2814
+ "status": "sim_failed"
2815
  },
2816
  "Weiyet_RTLStructLib/list__list/missing_enable": {
2817
  "status": "sim_ok"
 
2859
  "status": "sim_ok"
2860
  },
2861
  "JN513_Risco-5/Core__control_unit/inverted_condition": {
2862
+ "status": "sim_failed"
2863
  },
2864
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__PC_Adderr/missing_else_latch": {
2865
  "status": "compile_error"
 
2883
  "status": "sim_ok"
2884
  },
2885
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__CSR/operator_typo": {
2886
+ "status": "waveform_identical"
2887
  },
2888
  "Mr-Bossman_KISC-V/soc_top__intctrl/delayed_signal": {
2889
  "status": "waveform_identical"
 
2933
  "status": "sim_ok"
2934
  },
2935
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__I_Mem/concat_swap": {
2936
+ "status": "waveform_identical"
2937
  },
2938
  "alexforencich_verilog-axi/axil_adapter__axil_adapter_rd/inverted_condition": {
2939
  "status": "sim_failed"
 
2954
  "status": "waveform_identical"
2955
  },
2956
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU_Decoder/operator_typo": {
2957
+ "status": "waveform_identical"
2958
  },
2959
  "accomdemy_accomdemy_rv32i/cpu__regfile/inverted_condition": {
2960
  "status": "waveform_identical"
 
2963
  "status": "waveform_identical"
2964
  },
2965
  "apfaudio_eurorack-pmod/ak4619__ak4619/off_by_one_counter": {
2966
+ "status": "waveform_identical"
2967
  },
2968
  "roo16kie_MAC_Verilog/mac__mac/missing_reset": {
2969
  "status": "sim_ok"
 
3026
  "status": "sim_ok"
3027
  },
3028
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Master/state_transition": {
3029
+ "status": "waveform_identical"
3030
  },
3031
  "yaseensalah_Digital-Design-of-FIR-Filter/fir_filter__fir_filter/wrong_bitwidth": {
3032
  "status": "waveform_identical"
 
3096
  "status": "waveform_identical"
3097
  },
3098
  "thedatabusdotio_fpga-ml-accelerator/acclerator__accelerator/unconnected_port": {
3099
+ "status": "waveform_identical"
3100
  },
3101
  "alexforencich_verilog-axi/axi_fifo__axi_fifo_rd/inverted_condition": {
3102
  "status": "sim_failed"
 
3109
  "status": "sim_failed"
3110
  },
3111
  "JN513_Risco-5/Core__mdu/inverted_condition": {
3112
+ "status": "sim_failed"
3113
  },
3114
  "accomdemy_accomdemy_rv32i/cpu__regfile/operator_typo": {
3115
  "status": "waveform_identical"
 
3170
  "status": "compile_error"
3171
  },
3172
  "ttchisholm_10g-low-latency-ethernet/mac__mac/unconnected_port": {
3173
+ "status": "waveform_identical"
3174
  },
3175
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/state_transition": {
3176
  "status": "compile_error"
 
3278
  "status": "sim_ok"
3279
  },
3280
  "JN513_Risco-5/Core__immediate_generator/concat_swap": {
3281
+ "status": "sim_failed"
3282
  },
3283
  "mnmhdanas_UART-protocol/UARTtb__counter_rx/wrong_bitwidth": {
3284
  "status": "sim_ok",
 
3330
  "status": "sim_ok"
3331
  },
3332
  "aditeyabaral_DDCO-Lab-UE18CS207/fa4__lib/operator_typo": {
3333
+ "status": "waveform_identical"
3334
  },
3335
  "defano_digital-design/knightrider__knight-rider/missing_reset": {
3336
  "status": "sim_ok"
 
3405
  "status": "compile_error"
3406
  },
3407
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU/inverted_condition": {
3408
+ "status": "waveform_identical"
3409
  },
3410
  "ayushc13_32-bit-RISC-processor-using-HDL-Verilog/mips32__mips32/concat_swap": {
3411
  "status": "sim_ok"
 
3435
  "status": "compile_error"
3436
  },
3437
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Data_Memory/missing_enable": {
3438
+ "status": "waveform_identical"
3439
  },
3440
  "apfaudio_eurorack-pmod/pmod_i2c_master__pmod_i2c_master/operator_typo": {
3441
  "status": "compile_error"
 
3456
  "status": "waveform_identical"
3457
  },
3458
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__LDU/case_swap": {
3459
+ "status": "waveform_identical"
3460
  },
3461
  "ttchisholm_10g-low-latency-ethernet/mac__tx_mac/signal_typo": {
3462
  "status": "compile_error"
 
3480
  "status": "sim_ok"
3481
  },
3482
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__encoder/missing_reset": {
3483
+ "status": "waveform_identical"
3484
  },
3485
  "daringpatil3134_SPI_Serial_Peripheral_Interface_Verilog_Modules/spi_top__spi_shift_reg/concat_swap": {
3486
  "status": "waveform_identical"
 
3489
  "status": "sim_failed"
3490
  },
3491
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__Forwarding_Unit/inverted_condition": {
3492
+ "status": "waveform_identical"
3493
  },
3494
  "fcayci_sv-digital-design/fsm_counter__fsm_counter/missing_reset": {
3495
  "status": "sim_ok"
 
3499
  "examples_count": 0
3500
  },
3501
  "JN513_Risco-5/Core__mux/case_swap": {
3502
+ "status": "sim_failed"
3503
  },
3504
  "mnmhdanas_UART-protocol/UARTtb__bitchecker_rx/concat_swap": {
3505
  "status": "sim_ok",
 
3509
  "status": "sim_ok"
3510
  },
3511
  "aditeyabaral_DDCO-Lab-UE18CS207/alu__lib/operator_typo": {
3512
+ "status": "waveform_identical"
3513
  },
3514
  "Weiyet_RTLStructLib/fifo__fifo/wrong_bitwidth": {
3515
  "status": "sim_ok"
 
3560
  "status": "waveform_identical"
3561
  },
3562
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__RF/missing_enable": {
3563
+ "status": "waveform_identical"
3564
  },
3565
  "MohamedHussein27_AMPA_APB4_Protocol/APB_Wrapper__APB_Slave/inverted_condition": {
3566
  "status": "sim_ok"
 
3620
  "status": "sim_ok"
3621
  },
3622
  "apfaudio_eurorack-pmod/ak4619__ak4619/missing_enable": {
3623
+ "status": "timeout"
3624
  },
3625
  "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3/mipi_csi_rx_raw_depacker_8b4lane__mipi_csi_rx_raw_depacker_8b4lane/wrong_bitwidth": {
3626
  "status": "sim_failed"
 
3644
  "status": "sim_ok"
3645
  },
3646
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BPU/case_swap": {
3647
+ "status": "waveform_identical"
3648
  },
3649
  "scarv_xcrypto/xc_malu__xc_malu_divrem/operator_typo": {
3650
  "status": "sim_ok"
 
3653
  "status": "waveform_identical"
3654
  },
3655
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Execute_Cycle/wrong_bitwidth": {
3656
+ "status": "waveform_identical"
3657
  },
3658
  "ttchisholm_10g-low-latency-ethernet/mac__tx_mac/off_by_one_counter": {
3659
+ "status": "waveform_identical"
3660
  },
3661
  "JN513_Risco-5/Core__alu/case_swap": {
3662
+ "status": "sim_failed"
3663
  },
3664
  "JN513_Risco-5/Core__csr_unit/concat_swap": {
3665
+ "status": "sim_failed"
3666
  },
3667
  "apfaudio_eurorack-pmod/top__eurorack_pmod/wrong_bitwidth": {
3668
  "status": "compile_error"
 
3713
  "status": "sim_ok"
3714
  },
3715
  "JN513_Risco-5/Core__memory/case_swap": {
3716
+ "status": "sim_failed"
3717
  },
3718
  "defano_digital-design/knightrider__knight-rider/delayed_signal": {
3719
  "status": "sim_ok"
 
3752
  "status": "waveform_identical"
3753
  },
3754
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Main_Decoder/operator_typo": {
3755
+ "status": "waveform_identical"
3756
  },
3757
  "akira2963753_Pipelined-RV32-SoC/RISCV_CPU__BHT/operator_typo": {
3758
+ "status": "waveform_identical"
3759
  },
3760
  "fcayci_sv-digital-design/adder_str__adder_str/unconnected_port": {
3761
  "status": "sim_ok"
 
3777
  "status": "sim_ok"
3778
  },
3779
  "ttchisholm_10g-low-latency-ethernet/mac_pcs__gearbox_seq/missing_reset": {
3780
+ "status": "timeout"
3781
  },
3782
  "zhangxin6_iverilog_testbench/display_pal__display_pal/operator_typo": {
3783
  "status": "sim_ok"
 
3795
  "status": "sim_ok"
3796
  },
3797
  "Mr-Bossman_KISC-V/AXI4Lite_translator__axi/inverted_condition": {
3798
+ "status": "sim_ok"
3799
  },
3800
  "mnmhdanas_Router-1-x-3-/router_fsm__router_fsm/inverted_condition": {
3801
  "status": "sim_ok"
 
3878
  "status": "sim_ok"
3879
  },
3880
  "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU/operator_typo": {
3881
+ "status": "waveform_identical"
3882
  },
3883
  "MohamedHussein27_RISC-V-Single-Cycle-Implementation/RISC_V_Wrapper__ALU/case_swap": {
3884
  "status": "sim_ok"
 
3910
  },
3911
  "scarv_xcrypto/p_mul__p_mul/missing_reset": {
3912
  "status": "waveform_identical"
3913
+ },
3914
+ "Mr-Bossman_KISC-V/AXI4Lite_translator__axi/wrong_bitwidth": {
3915
+ "status": "sim_ok"
3916
+ },
3917
+ "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__ALU/concat_swap": {
3918
+ "status": "waveform_identical"
3919
+ },
3920
+ "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Data_Memory/wrong_bitwidth": {
3921
+ "status": "sim_ok"
3922
+ },
3923
+ "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Instruction_Memory/wrong_bitwidth": {
3924
+ "status": "sim_ok"
3925
+ },
3926
+ "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core/Pipeline_top__Register_File/wrong_bitwidth": {
3927
+ "status": "sim_ok"
3928
+ },
3929
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/inverted_condition": {
3930
+ "status": "sim_ok"
3931
+ },
3932
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/missing_enable": {
3933
+ "status": "waveform_identical"
3934
+ },
3935
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/missing_reset": {
3936
+ "status": "sim_ok"
3937
+ },
3938
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/off_by_one_counter": {
3939
+ "status": "waveform_identical"
3940
+ },
3941
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/operator_typo": {
3942
+ "status": "sim_ok"
3943
+ },
3944
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit/state_transition": {
3945
+ "status": "sim_ok"
3946
+ },
3947
+ "WilliamZhang20_ECE298A-TPU/control_unit_tb__control_unit_tb/unconnected_port": {
3948
+ "status": "sim_failed"
3949
+ },
3950
+ "WilliamZhang20_ECE298A-TPU/memory_tb__memory/missing_enable": {
3951
+ "status": "sim_ok"
3952
+ },
3953
+ "WilliamZhang20_ECE298A-TPU/memory_tb__memory/missing_reset": {
3954
+ "status": "sim_failed"
3955
+ },
3956
+ "WilliamZhang20_ECE298A-TPU/memory_tb__memory/wrong_bitwidth": {
3957
+ "status": "sim_ok"
3958
+ },
3959
+ "WilliamZhang20_ECE298A-TPU/memory_tb__memory_tb/unconnected_port": {
3960
+ "status": "sim_failed"
3961
+ },
3962
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/case_swap": {
3963
+ "status": "sim_ok"
3964
+ },
3965
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/inverted_condition": {
3966
+ "status": "sim_ok"
3967
+ },
3968
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/missing_enable": {
3969
+ "status": "sim_ok"
3970
+ },
3971
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/missing_reset": {
3972
+ "status": "sim_ok"
3973
+ },
3974
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/operator_typo": {
3975
+ "status": "sim_ok"
3976
+ },
3977
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder/wrong_bitwidth": {
3978
+ "status": "sim_ok"
3979
+ },
3980
+ "WilliamZhang20_ECE298A-TPU/mmu_feeder_tb__mmu_feeder_tb/unconnected_port": {
3981
+ "status": "sim_failed"
3982
+ },
3983
+ "WilliamZhang20_ECE298A-TPU/systolic_array_tb__PE/missing_reset": {
3984
+ "status": "sim_ok"
3985
+ },
3986
+ "WilliamZhang20_ECE298A-TPU/systolic_array_tb__PE/operator_typo": {
3987
+ "status": "sim_ok"
3988
+ },
3989
+ "WilliamZhang20_ECE298A-TPU/systolic_array_tb__systolic_array_2x2/operator_typo": {
3990
+ "status": "waveform_identical"
3991
+ },
3992
+ "WilliamZhang20_ECE298A-TPU/systolic_array_tb__systolic_array_2x2/unconnected_port": {
3993
+ "status": "sim_failed"
3994
+ },
3995
+ "WilliamZhang20_ECE298A-TPU/systolic_array_tb__systolic_array_tb/unconnected_port": {
3996
+ "status": "sim_failed"
3997
+ },
3998
+ "WilliamZhang20_ECE298A-TPU/tb__tb/unconnected_port": {
3999
+ "status": "waveform_identical"
4000
+ },
4001
+ "WilliamZhang20_ECE298A-TPU/tb__tpu/concat_swap": {
4002
+ "status": "waveform_identical"
4003
+ },
4004
+ "WilliamZhang20_ECE298A-TPU/tb__tpu/unconnected_port": {
4005
+ "status": "waveform_identical"
4006
+ },
4007
+ "cocotb_cocotb-bus/array_buses__array_buses/wrong_bitwidth": {
4008
+ "status": "sim_ok"
4009
+ },
4010
+ "cocotb_cocotb-bus/avalon_streaming__avalon_streaming/inverted_condition": {
4011
+ "status": "sim_failed"
4012
+ },
4013
+ "cocotb_cocotb-bus/avalon_streaming__avalon_streaming/missing_enable": {
4014
+ "status": "sim_failed"
4015
+ },
4016
+ "cocotb_cocotb-bus/avalon_streaming__avalon_streaming/off_by_one_counter": {
4017
+ "status": "sim_failed"
4018
+ },
4019
+ "cocotb_cocotb-bus/avalon_streaming__avalon_streaming/operator_typo": {
4020
+ "status": "sim_failed"
4021
+ },
4022
+ "cocotb_cocotb-bus/avalon_streaming__avalon_streaming/wrong_bitwidth": {
4023
+ "status": "sim_failed"
4024
+ },
4025
+ "cocotb_cocotb-bus/burst_read_master__burst_read_master/inverted_condition": {
4026
+ "status": "sim_failed"
4027
+ },
4028
+ "cocotb_cocotb-bus/burst_read_master__burst_read_master/missing_enable": {
4029
+ "status": "sim_failed"
4030
+ },
4031
+ "cocotb_cocotb-bus/burst_read_master__burst_read_master/operator_typo": {
4032
+ "status": "sim_failed"
4033
+ },
4034
+ "cocotb_cocotb-bus/burst_read_master__burst_read_master/unconnected_port": {
4035
+ "status": "sim_failed"
4036
+ },
4037
+ "cocotb_cocotb-bus/burst_read_master__burst_read_master/wrong_bitwidth": {
4038
+ "status": "sim_failed"
4039
+ },
4040
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/case_swap": {
4041
+ "status": "sim_failed"
4042
+ },
4043
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/concat_swap": {
4044
+ "status": "sim_failed"
4045
+ },
4046
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/inverted_condition": {
4047
+ "status": "sim_failed"
4048
+ },
4049
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/missing_enable": {
4050
+ "status": "sim_failed"
4051
+ },
4052
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/operator_typo": {
4053
+ "status": "sim_failed"
4054
+ },
4055
+ "cocotb_cocotb-bus/endian_swapper_sv__endian_swapper/wrong_bitwidth": {
4056
+ "status": "sim_failed"
4057
+ },
4058
+ "cocotb_cocotb-bus/mean__mean/inverted_condition": {
4059
+ "status": "sim_failed"
4060
+ },
4061
+ "cocotb_cocotb-bus/mean__mean/missing_enable": {
4062
+ "status": "sim_ok"
4063
+ },
4064
+ "cocotb_cocotb-bus/mean__mean/missing_reset": {
4065
+ "status": "sim_ok"
4066
+ },
4067
+ "cocotb_cocotb-bus/mean__mean/operator_typo": {
4068
+ "status": "sim_failed"
4069
+ },
4070
+ "cocotb_cocotb-bus/mean__mean/wrong_bitwidth": {
4071
+ "status": "sim_failed"
4072
+ },
4073
+ "cocotb_cocotb-bus/top__arbiter/inverted_condition": {
4074
+ "status": "sim_failed"
4075
+ },
4076
+ "cocotb_cocotb-bus/top__arbiter/missing_enable": {
4077
+ "status": "sim_failed"
4078
+ },
4079
+ "cocotb_cocotb-bus/top__arbiter/missing_reset": {
4080
+ "status": "sim_failed"
4081
+ },
4082
+ "cocotb_cocotb-bus/top__arbiter/operator_typo": {
4083
+ "status": "sim_failed"
4084
+ },
4085
+ "cocotb_cocotb-bus/top__arbiter/unconnected_port": {
4086
+ "status": "sim_failed"
4087
+ },
4088
+ "cocotb_cocotb-bus/top__arbiter/wrong_bitwidth": {
4089
+ "status": "sim_failed"
4090
+ },
4091
+ "cocotb_cocotb-bus/top__axi_interconnect/inverted_condition": {
4092
+ "status": "sim_failed"
4093
+ },
4094
+ "cocotb_cocotb-bus/top__axi_interconnect/missing_enable": {
4095
+ "status": "sim_failed"
4096
+ },
4097
+ "cocotb_cocotb-bus/top__axi_interconnect/missing_reset": {
4098
+ "status": "sim_failed"
4099
+ },
4100
+ "cocotb_cocotb-bus/top__axi_interconnect/operator_typo": {
4101
+ "status": "sim_failed"
4102
+ },
4103
+ "cocotb_cocotb-bus/top__axi_interconnect/state_transition": {
4104
+ "status": "sim_failed"
4105
+ },
4106
+ "cocotb_cocotb-bus/top__axi_interconnect/unconnected_port": {
4107
+ "status": "sim_failed"
4108
+ },
4109
+ "cocotb_cocotb-bus/top__axi_interconnect/wrong_bitwidth": {
4110
+ "status": "sim_failed"
4111
+ },
4112
+ "cocotb_cocotb-bus/top__axi_ram/inverted_condition": {
4113
+ "status": "sim_failed"
4114
+ },
4115
+ "cocotb_cocotb-bus/top__axi_ram/missing_enable": {
4116
+ "status": "sim_failed"
4117
+ },
4118
+ "cocotb_cocotb-bus/top__axi_ram/missing_reset": {
4119
+ "status": "sim_failed"
4120
+ },
4121
+ "cocotb_cocotb-bus/top__axi_ram/off_by_one_counter": {
4122
+ "status": "sim_failed"
4123
+ },
4124
+ "cocotb_cocotb-bus/top__axi_ram/operator_typo": {
4125
+ "status": "sim_failed"
4126
+ },
4127
+ "cocotb_cocotb-bus/top__axi_ram/state_transition": {
4128
+ "status": "sim_failed"
4129
+ },
4130
+ "cocotb_cocotb-bus/top__axi_ram/wrong_bitwidth": {
4131
+ "status": "sim_failed"
4132
+ },
4133
+ "cocotb_cocotb-bus/top__axi_register/unconnected_port": {
4134
+ "status": "sim_failed"
4135
+ },
4136
+ "cocotb_cocotb-bus/top__axi_register_rd/inverted_condition": {
4137
+ "status": "sim_failed"
4138
+ },
4139
+ "cocotb_cocotb-bus/top__axi_register_rd/missing_enable": {
4140
+ "status": "sim_failed"
4141
+ },
4142
+ "cocotb_cocotb-bus/top__axi_register_rd/missing_reset": {
4143
+ "status": "sim_failed"
4144
+ },
4145
+ "cocotb_cocotb-bus/top__axi_register_rd/operator_typo": {
4146
+ "status": "sim_failed"
4147
+ },
4148
+ "cocotb_cocotb-bus/top__axi_register_rd/wrong_bitwidth": {
4149
+ "status": "sim_failed"
4150
+ },
4151
+ "cocotb_cocotb-bus/top__axi_register_wr/inverted_condition": {
4152
+ "status": "sim_failed"
4153
+ },
4154
+ "cocotb_cocotb-bus/top__axi_register_wr/missing_enable": {
4155
+ "status": "sim_failed"
4156
+ },
4157
+ "cocotb_cocotb-bus/top__axi_register_wr/missing_reset": {
4158
+ "status": "sim_failed"
4159
+ },
4160
+ "cocotb_cocotb-bus/top__axi_register_wr/operator_typo": {
4161
+ "status": "sim_failed"
4162
+ },
4163
+ "cocotb_cocotb-bus/top__axi_register_wr/wrong_bitwidth": {
4164
+ "status": "sim_failed"
4165
+ },
4166
+ "cocotb_cocotb-bus/top__priority_encoder/concat_swap": {
4167
+ "status": "sim_failed"
4168
+ },
4169
+ "cocotb_cocotb-bus/top__priority_encoder/inverted_condition": {
4170
+ "status": "sim_failed"
4171
+ },
4172
+ "cocotb_cocotb-bus/top__priority_encoder/operator_typo": {
4173
+ "status": "sim_failed"
4174
+ },
4175
+ "cocotb_cocotb-bus/top__top/operator_typo": {
4176
+ "status": "sim_failed"
4177
+ },
4178
+ "cocotb_cocotb-bus/top__top/unconnected_port": {
4179
+ "status": "sim_failed"
4180
+ },
4181
+ "mciepluc_cocotb-coverage/fifo_mem__fifo/inverted_condition": {
4182
+ "status": "sim_ok"
4183
+ },
4184
+ "mciepluc_cocotb-coverage/fifo_mem__fifo/missing_enable": {
4185
+ "status": "sim_ok"
4186
+ },
4187
+ "mciepluc_cocotb-coverage/fifo_mem__fifo/missing_reset": {
4188
+ "status": "sim_ok"
4189
+ },
4190
+ "mciepluc_cocotb-coverage/fifo_mem__fifo/operator_typo": {
4191
+ "status": "sim_ok"
4192
+ },
4193
+ "mciepluc_cocotb-coverage/fifo_mem__fifo/wrong_bitwidth": {
4194
+ "status": "sim_failed"
4195
+ },
4196
+ "mciepluc_cocotb-coverage/pkt_switch__pkt_switch/inverted_condition": {
4197
+ "status": "sim_failed"
4198
+ },
4199
+ "mciepluc_cocotb-coverage/pkt_switch__pkt_switch/missing_enable": {
4200
+ "status": "sim_ok"
4201
+ },
4202
+ "mciepluc_cocotb-coverage/pkt_switch__pkt_switch/missing_reset": {
4203
+ "status": "sim_ok"
4204
+ },
4205
+ "mciepluc_cocotb-coverage/pkt_switch__pkt_switch/operator_typo": {
4206
+ "status": "sim_failed"
4207
+ },
4208
+ "mciepluc_cocotb-coverage/pkt_switch__pkt_switch/wrong_bitwidth": {
4209
+ "status": "sim_failed"
4210
+ },
4211
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/concat_swap": {
4212
+ "status": "compile_error"
4213
+ },
4214
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/inverted_condition": {
4215
+ "status": "compile_error"
4216
+ },
4217
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/missing_enable": {
4218
+ "status": "compile_error"
4219
+ },
4220
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/missing_reset": {
4221
+ "status": "compile_error"
4222
+ },
4223
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/operator_typo": {
4224
+ "status": "compile_error"
4225
+ },
4226
+ "semify-eda_go.debug/ste_shift_reg__ste_shift_reg/wrong_bitwidth": {
4227
+ "status": "compile_error"
4228
+ },
4229
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/case_swap": {
4230
+ "status": "compile_error"
4231
+ },
4232
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/concat_swap": {
4233
+ "status": "compile_error"
4234
+ },
4235
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/inverted_condition": {
4236
+ "status": "compile_error"
4237
+ },
4238
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/missing_enable": {
4239
+ "status": "llm_failed"
4240
+ },
4241
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/missing_reset": {
4242
+ "status": "compile_error"
4243
+ },
4244
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/off_by_one_counter": {
4245
+ "status": "compile_error"
4246
+ },
4247
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/operator_typo": {
4248
+ "status": "compile_error"
4249
+ },
4250
+ "semify-eda_go.debug/wfg_stim_sine__wfg_stim_sine/wrong_bitwidth": {
4251
+ "status": "compile_error"
4252
+ },
4253
+ "snbk001_100DaysofRTL/counter8bit__counter8bit/missing_reset": {
4254
+ "status": "sim_ok"
4255
+ },
4256
+ "snbk001_100DaysofRTL/counter8bit__counter8bit/operator_typo": {
4257
+ "status": "sim_ok"
4258
+ },
4259
+ "snbk001_100DaysofRTL/dualedge_det__dualedge_det/inverted_condition": {
4260
+ "status": "sim_ok"
4261
+ },
4262
+ "snbk001_100DaysofRTL/dualedge_det__dualedge_det/missing_reset": {
4263
+ "status": "compile_error"
4264
+ },
4265
+ "snbk001_100DaysofRTL/dualedge_det__dualedge_det/state_transition": {
4266
+ "status": "sim_ok"
4267
+ },
4268
+ "snbk001_100DaysofRTL/edgedet_mealy__edgedet_mealy/inverted_condition": {
4269
+ "status": "sim_ok"
4270
+ },
4271
+ "snbk001_100DaysofRTL/edgedet_moore__edgedet_moore/inverted_condition": {
4272
+ "status": "sim_ok"
4273
+ },
4274
+ "snbk001_100DaysofRTL/edgedet_moore__edgedet_moore/state_transition": {
4275
+ "status": "waveform_identical"
4276
+ },
4277
+ "snbk001_100DaysofRTL/jkff__jkff/operator_typo": {
4278
+ "status": "sim_ok"
4279
+ },
4280
+ "snbk001_100DaysofRTL/lfsr__lfsr/concat_swap": {
4281
+ "status": "waveform_identical"
4282
+ },
4283
+ "snbk001_100DaysofRTL/lfsr__lfsr/missing_reset": {
4284
+ "status": "waveform_identical"
4285
+ },
4286
+ "snbk001_100DaysofRTL/lfsr__lfsr/operator_typo": {
4287
+ "status": "waveform_identical"
4288
+ },
4289
+ "snbk001_100DaysofRTL/lfsr__lfsr/wrong_bitwidth": {
4290
+ "status": "sim_ok"
4291
+ },
4292
+ "snbk001_100DaysofRTL/modmcountr__modmcountr/operator_typo": {
4293
+ "status": "sim_ok"
4294
+ },
4295
+ "snbk001_100DaysofRTL/modmcountr__modmcountr/wrong_bitwidth": {
4296
+ "status": "sim_ok"
4297
+ },
4298
+ "snbk001_100DaysofRTL/muxcond__muxcond/case_swap": {
4299
+ "status": "sim_ok"
4300
+ },
4301
+ "snbk001_100DaysofRTL/pedge__pedge/operator_typo": {
4302
+ "status": "sim_ok"
4303
+ },
4304
+ "snbk001_100DaysofRTL/pipo__pipo/missing_reset": {
4305
+ "status": "waveform_identical"
4306
+ },
4307
+ "snbk001_100DaysofRTL/pipo__pipo/wrong_bitwidth": {
4308
+ "status": "sim_ok"
4309
+ },
4310
+ "snbk001_100DaysofRTL/piso__piso/concat_swap": {
4311
+ "status": "sim_ok"
4312
+ },
4313
+ "snbk001_100DaysofRTL/piso__piso/missing_enable": {
4314
+ "status": "sim_ok"
4315
+ },
4316
+ "snbk001_100DaysofRTL/piso__piso/missing_reset": {
4317
+ "status": "waveform_identical"
4318
+ },
4319
+ "snbk001_100DaysofRTL/piso__piso/wrong_bitwidth": {
4320
+ "status": "sim_ok"
4321
+ },
4322
+ "snbk001_100DaysofRTL/seqdet__seqdet/inverted_condition": {
4323
+ "status": "sim_ok"
4324
+ },
4325
+ "snbk001_100DaysofRTL/seqdet__seqdet/missing_reset": {
4326
+ "status": "compile_error"
4327
+ },
4328
+ "snbk001_100DaysofRTL/seqdet__seqdet/state_transition": {
4329
+ "status": "sim_ok"
4330
+ },
4331
+ "snbk001_100DaysofRTL/seqdet_ol__seqdet_ol/inverted_condition": {
4332
+ "status": "sim_ok"
4333
+ },
4334
+ "snbk001_100DaysofRTL/seqdet_ol__seqdet_ol/missing_reset": {
4335
+ "status": "compile_error"
4336
+ },
4337
+ "snbk001_100DaysofRTL/seqdet_ol__seqdet_ol/state_transition": {
4338
+ "status": "sim_ok"
4339
+ },
4340
+ "snbk001_100DaysofRTL/seqdetmoore_nol__seqdetmoore_nol/inverted_condition": {
4341
+ "status": "sim_ok"
4342
+ },
4343
+ "snbk001_100DaysofRTL/seqdetmoore_nol__seqdetmoore_nol/missing_reset": {
4344
+ "status": "compile_error"
4345
+ },
4346
+ "snbk001_100DaysofRTL/seqdetmoore_nol__seqdetmoore_nol/state_transition": {
4347
+ "status": "waveform_identical"
4348
+ },
4349
+ "snbk001_100DaysofRTL/seqdetmoore_ol__seqdetmoore_ol/inverted_condition": {
4350
+ "status": "sim_ok"
4351
+ },
4352
+ "snbk001_100DaysofRTL/seqdetmoore_ol__seqdetmoore_ol/missing_reset": {
4353
+ "status": "compile_error"
4354
+ },
4355
+ "snbk001_100DaysofRTL/seqdetmoore_ol__seqdetmoore_ol/state_transition": {
4356
+ "status": "waveform_identical"
4357
+ },
4358
+ "snbk001_100DaysofRTL/seqmultiplier__seqmultiplier/concat_swap": {
4359
+ "status": "sim_ok"
4360
+ },
4361
+ "snbk001_100DaysofRTL/seqmultiplier__seqmultiplier/inverted_condition": {
4362
+ "status": "sim_ok"
4363
+ },
4364
+ "snbk001_100DaysofRTL/seqmultiplier__seqmultiplier/missing_enable": {
4365
+ "status": "waveform_identical"
4366
+ },
4367
+ "snbk001_100DaysofRTL/seqmultiplier__seqmultiplier/operator_typo": {
4368
+ "status": "waveform_identical"
4369
+ },
4370
+ "snbk001_100DaysofRTL/seqmultiplier__seqmultiplier/wrong_bitwidth": {
4371
+ "status": "waveform_identical"
4372
+ },
4373
+ "snbk001_100DaysofRTL/singleport_ram__singleport_ram/missing_enable": {
4374
+ "status": "sim_ok"
4375
+ },
4376
+ "snbk001_100DaysofRTL/sipo__sipo/missing_reset": {
4377
+ "status": "sim_ok"
4378
+ },
4379
+ "snbk001_100DaysofRTL/tff__jkff/operator_typo": {
4380
+ "status": "sim_ok"
4381
+ },
4382
+ "snbk001_100DaysofRTL/tff__tff/unconnected_port": {
4383
+ "status": "waveform_identical"
4384
+ },
4385
+ "snbk001_100DaysofRTL/updowncntr__updowncntr/missing_reset": {
4386
+ "status": "sim_ok"
4387
+ },
4388
+ "snbk001_100DaysofRTL/updowncntr__updowncntr/operator_typo": {
4389
+ "status": "sim_ok"
4390
+ },
4391
+ "sumukhathrey_Verilog_ASIC_Design/RegisterFile__RegisterFile/missing_enable": {
4392
+ "status": "sim_ok"
4393
+ },
4394
+ "sumukhathrey_Verilog_ASIC_Design/RegisterFile__RegisterFile/missing_reset": {
4395
+ "status": "sim_ok"
4396
+ },
4397
+ "sumukhathrey_Verilog_ASIC_Design/RegisterFile__RegisterFile/operator_typo": {
4398
+ "status": "sim_ok"
4399
+ },
4400
+ "sumukhathrey_Verilog_ASIC_Design/RegisterFile__RegisterFile/wrong_bitwidth": {
4401
+ "status": "sim_ok"
4402
+ },
4403
+ "ultraembedded_biriscv/riscv_core__biriscv_alu/case_swap": {
4404
+ "status": "timeout"
4405
+ },
4406
+ "ultraembedded_biriscv/riscv_core__biriscv_csr_regfile/case_swap": {
4407
+ "status": "timeout"
4408
+ },
4409
+ "ultraembedded_biriscv/riscv_core__biriscv_lsu/case_swap": {
4410
+ "status": "timeout"
4411
+ },
4412
+ "ultraembedded_biriscv/riscv_core__biriscv_regfile/case_swap": {
4413
+ "status": "timeout"
4414
+ }
4415
+ },
4416
+ "bug_types_attempted": {
4417
+ "zhangxin6_iverilog_testbench": [
4418
+ "blocking_nonblocking",
4419
+ "case_swap",
4420
+ "concat_swap",
4421
+ "inverted_condition",
4422
+ "missing_enable",
4423
+ "missing_reset",
4424
+ "off_by_one_counter",
4425
+ "operator_typo",
4426
+ "state_transition",
4427
+ "unconnected_port",
4428
+ "width_bit_cutoff",
4429
+ "wrong_bitwidth"
4430
+ ],
4431
+ "snbk001_100DaysofRTL": [
4432
+ "case_swap",
4433
+ "concat_swap",
4434
+ "inverted_condition",
4435
+ "missing_enable",
4436
+ "missing_reset",
4437
+ "off_by_one_counter",
4438
+ "operator_typo",
4439
+ "state_transition",
4440
+ "unconnected_port",
4441
+ "width_bit_cutoff",
4442
+ "wrong_bitwidth"
4443
+ ],
4444
+ "aditeyabaral_DDCO-Lab-UE18CS207": [
4445
+ "case_swap",
4446
+ "concat_swap",
4447
  "inverted_condition",
4448
  "missing_enable",
4449
  "missing_reset",
 
4454
  "width_bit_cutoff",
4455
  "wrong_bitwidth"
4456
  ],
4457
+ "cocotb_cocotb-bus": [
4458
  "case_swap",
4459
  "concat_swap",
4460
  "inverted_condition",
 
4467
  "width_bit_cutoff",
4468
  "wrong_bitwidth"
4469
  ],
4470
+ "projf_isle": [
 
 
 
 
4471
  "case_swap",
4472
  "concat_swap",
 
4473
  "inverted_condition",
 
4474
  "missing_enable",
4475
  "missing_reset",
4476
  "off_by_one_counter",
4477
  "operator_typo",
 
4478
  "state_transition",
4479
  "unconnected_port",
4480
  "width_bit_cutoff",
4481
  "wrong_bitwidth"
4482
  ],
4483
+ "apfaudio_eurorack-pmod": [
4484
  "blocking_nonblocking",
4485
  "case_swap",
4486
  "concat_swap",
 
4497
  "width_bit_cutoff",
4498
  "wrong_bitwidth"
4499
  ],
4500
+ "Mr-Bossman_KISC-V": [
4501
+ "blocking_nonblocking",
4502
  "case_swap",
4503
  "concat_swap",
4504
+ "delayed_signal",
4505
  "inverted_condition",
4506
+ "missing_else_latch",
4507
  "missing_enable",
4508
  "missing_reset",
4509
  "off_by_one_counter",
4510
  "operator_typo",
4511
+ "signal_typo",
4512
  "state_transition",
4513
  "unconnected_port",
4514
  "width_bit_cutoff",
4515
  "wrong_bitwidth"
4516
  ],
4517
+ "semify-eda_go.debug": [
4518
  "case_swap",
4519
  "concat_swap",
4520
  "inverted_condition",
 
4527
  "width_bit_cutoff",
4528
  "wrong_bitwidth"
4529
  ],
4530
+ "shahsaumya00_Floating-Point-Adder": [
4531
+ "blocking_nonblocking",
4532
  "case_swap",
4533
  "concat_swap",
4534
+ "delayed_signal",
4535
  "inverted_condition",
4536
+ "missing_else_latch",
4537
  "missing_enable",
4538
  "missing_reset",
4539
  "off_by_one_counter",
4540
  "operator_typo",
4541
+ "signal_typo",
4542
  "state_transition",
4543
  "unconnected_port",
4544
  "width_bit_cutoff",
4545
  "wrong_bitwidth"
4546
  ],
4547
+ "meiniKi_RV32I_SC_Logisim": [
4548
  "blocking_nonblocking",
4549
  "case_swap",
4550
  "concat_swap",
 
4561
  "width_bit_cutoff",
4562
  "wrong_bitwidth"
4563
  ],
4564
+ "MohamedHussein27_SPI_Slave_With_Single_Port_Memory": [
4565
  "blocking_nonblocking",
4566
  "case_swap",
4567
  "concat_swap",
 
4591
  "width_bit_cutoff",
4592
  "wrong_bitwidth"
4593
  ],
4594
+ "saivittalb_simd-processor-verification": [
4595
+ "case_swap",
4596
+ "concat_swap",
4597
+ "inverted_condition",
4598
+ "missing_enable"
4599
+ ],
4600
+ "daringpatil3134_SPI_Serial_Peripheral_Interface_Verilog_Modules": [
4601
  "case_swap",
4602
  "concat_swap",
 
4603
  "inverted_condition",
 
4604
  "missing_enable",
4605
  "missing_reset",
4606
  "off_by_one_counter",
4607
  "operator_typo",
 
4608
  "state_transition",
4609
  "unconnected_port",
4610
  "width_bit_cutoff",
4611
  "wrong_bitwidth"
4612
  ],
4613
+ "qossayrida_PipelineProcessorDesign": [
4614
+ "case_swap",
4615
+ "concat_swap",
4616
+ "inverted_condition",
4617
+ "missing_enable",
4618
+ "missing_reset",
4619
+ "off_by_one_counter",
4620
+ "operator_typo",
4621
+ "state_transition",
4622
+ "unconnected_port",
4623
+ "width_bit_cutoff",
4624
+ "wrong_bitwidth"
4625
+ ],
4626
+ "WilliamZhang20_ECE298A-TPU": [
4627
+ "case_swap",
4628
+ "concat_swap",
4629
+ "inverted_condition",
4630
+ "missing_enable",
4631
+ "missing_reset",
4632
+ "off_by_one_counter",
4633
+ "operator_typo",
4634
+ "state_transition",
4635
+ "unconnected_port",
4636
+ "width_bit_cutoff",
4637
+ "wrong_bitwidth"
4638
+ ],
4639
+ "selimsandal_OneShotNPU": [
4640
  "blocking_nonblocking",
4641
  "case_swap",
4642
  "concat_swap",
 
4653
  "width_bit_cutoff",
4654
  "wrong_bitwidth"
4655
  ],
4656
+ "Varunkumar0610_RISC-V-32I-5-stage-Pipeline-Core": [
4657
  "blocking_nonblocking",
4658
  "case_swap",
4659
  "concat_swap",
 
4670
  "width_bit_cutoff",
4671
  "wrong_bitwidth"
4672
  ],
4673
+ "Abdelrahman1810_SPI_Slave_with_Single_Port_RAM": [
4674
  "case_swap",
4675
  "concat_swap",
4676
  "inverted_condition",
 
4683
  "width_bit_cutoff",
4684
  "wrong_bitwidth"
4685
  ],
4686
+ "meiniKi_FazyRV": [
4687
+ "blocking_nonblocking",
 
 
 
4688
  "case_swap",
4689
  "concat_swap",
4690
+ "delayed_signal",
4691
  "inverted_condition",
4692
+ "missing_else_latch",
4693
  "missing_enable",
4694
  "missing_reset",
4695
  "off_by_one_counter",
4696
  "operator_typo",
4697
+ "signal_typo",
4698
  "state_transition",
4699
  "unconnected_port",
4700
  "width_bit_cutoff",
 
4713
  "width_bit_cutoff",
4714
  "wrong_bitwidth"
4715
  ],
4716
+ "0thbit_CRC_parallel": [
 
4717
  "case_swap",
4718
  "concat_swap",
 
4719
  "inverted_condition",
 
4720
  "missing_enable",
4721
  "missing_reset",
4722
  "off_by_one_counter",
4723
  "operator_typo",
 
4724
  "state_transition",
4725
  "unconnected_port",
4726
  "width_bit_cutoff",
4727
  "wrong_bitwidth"
4728
  ],
4729
+ "Vaibhav-Gunthe_Verilog-Projects": [
4730
  "case_swap",
4731
  "concat_swap",
4732
  "inverted_condition",
 
4739
  "width_bit_cutoff",
4740
  "wrong_bitwidth"
4741
  ],
4742
+ "CharanK-glitch_RV32I": [
4743
  "case_swap",
4744
  "concat_swap",
4745
  "inverted_condition",
 
4752
  "width_bit_cutoff",
4753
  "wrong_bitwidth"
4754
  ],
4755
+ "scarv_xcrypto": [
4756
  "blocking_nonblocking",
4757
  "case_swap",
4758
  "concat_swap",
 
4769
  "width_bit_cutoff",
4770
  "wrong_bitwidth"
4771
  ],
4772
+ "nimanaqavi_Verilog-MathFunctions": [
4773
  "blocking_nonblocking",
4774
  "case_swap",
4775
  "concat_swap",
 
4786
  "width_bit_cutoff",
4787
  "wrong_bitwidth"
4788
  ],
4789
+ "dpretet_async_fifo": [
 
4790
  "case_swap",
4791
  "concat_swap",
 
4792
  "inverted_condition",
 
4793
  "missing_enable",
4794
  "missing_reset",
4795
  "off_by_one_counter",
4796
  "operator_typo",
 
4797
  "state_transition",
4798
  "unconnected_port",
4799
  "width_bit_cutoff",
4800
  "wrong_bitwidth"
4801
  ],
4802
+ "roo16kie_MAC_Verilog": [
4803
+ "case_swap",
4804
+ "concat_swap",
4805
+ "inverted_condition",
4806
+ "missing_enable",
4807
+ "missing_reset",
4808
+ "off_by_one_counter",
4809
+ "operator_typo",
4810
+ "state_transition",
4811
+ "unconnected_port",
4812
+ "width_bit_cutoff",
4813
+ "wrong_bitwidth"
4814
+ ],
4815
+ "yaseensalah_Digital-Design-of-FIR-Filter": [
4816
+ "case_swap",
4817
+ "concat_swap",
4818
+ "inverted_condition",
4819
+ "missing_enable",
4820
+ "missing_reset",
4821
+ "off_by_one_counter",
4822
+ "operator_typo",
4823
+ "state_transition",
4824
+ "unconnected_port",
4825
+ "width_bit_cutoff",
4826
+ "wrong_bitwidth"
4827
+ ],
4828
+ "JN513_Risco-5": [
4829
  "blocking_nonblocking",
4830
  "case_swap",
4831
  "concat_swap",
 
4842
  "width_bit_cutoff",
4843
  "wrong_bitwidth"
4844
  ],
4845
+ "ayushc13_32-bit-RISC-processor-using-HDL-Verilog": [
4846
  "case_swap",
4847
  "concat_swap",
4848
  "inverted_condition",
 
4852
  "operator_typo",
4853
  "state_transition",
4854
  "unconnected_port",
4855
+ "width_bit_cutoff"
 
4856
  ],
4857
+ "circuitvalley_USB_C_Industrial_Camera_FPGA_USB3": [
4858
  "case_swap",
4859
  "concat_swap",
4860
  "inverted_condition",
 
4867
  "width_bit_cutoff",
4868
  "wrong_bitwidth"
4869
  ],
4870
+ "mnmhdanas_Router-1-x-3-": [
4871
  "blocking_nonblocking",
4872
  "case_swap",
4873
  "concat_swap",
 
4884
  "width_bit_cutoff",
4885
  "wrong_bitwidth"
4886
  ],
4887
+ "chili-chips-ba_wireguard-fpga": [
4888
  "blocking_nonblocking",
4889
+ "inverted_condition",
4890
+ "missing_else_latch",
4891
+ "missing_reset",
4892
+ "operator_typo",
4893
+ "signal_typo",
4894
+ "unconnected_port",
4895
+ "wrong_bitwidth"
4896
+ ],
4897
+ "biren15_Design-and-Verification-of-LDPC-Decoder": [
4898
  "case_swap",
4899
  "concat_swap",
 
4900
  "inverted_condition",
 
4901
  "missing_enable",
4902
  "missing_reset",
4903
  "off_by_one_counter",
4904
  "operator_typo",
 
4905
  "state_transition",
4906
  "unconnected_port",
4907
  "width_bit_cutoff",
4908
  "wrong_bitwidth"
4909
  ],
4910
+ "accomdemy_accomdemy_rv32i": [
4911
  "blocking_nonblocking",
4912
  "case_swap",
4913
  "concat_swap",
 
4924
  "width_bit_cutoff",
4925
  "wrong_bitwidth"
4926
  ],
4927
+ "erihsu_INT_FP_MAC": [
4928
  "case_swap",
4929
  "concat_swap",
4930
  "inverted_condition",
 
4937
  "width_bit_cutoff",
4938
  "wrong_bitwidth"
4939
  ],
4940
+ "Weiyet_RTLStructLib": [
 
4941
  "case_swap",
4942
  "concat_swap",
 
4943
  "inverted_condition",
 
4944
  "missing_enable",
4945
  "missing_reset",
4946
  "off_by_one_counter",
4947
  "operator_typo",
 
4948
  "state_transition",
4949
  "unconnected_port",
4950
  "width_bit_cutoff",
4951
  "wrong_bitwidth"
4952
  ],
4953
+ "arhamhashmi01_Axi4-lite": [
4954
+ "case_swap",
4955
+ "concat_swap",
4956
+ "inverted_condition",
4957
+ "missing_enable",
4958
+ "missing_reset",
4959
+ "off_by_one_counter",
4960
+ "operator_typo",
4961
+ "state_transition",
4962
+ "unconnected_port",
4963
+ "width_bit_cutoff",
4964
+ "wrong_bitwidth"
4965
+ ],
4966
+ "defano_digital-design": [
4967
  "blocking_nonblocking",
4968
  "case_swap",
4969
  "concat_swap",
 
4980
  "width_bit_cutoff",
4981
  "wrong_bitwidth"
4982
  ],
4983
+ "MohamedHussein27_AMPA_APB4_Protocol": [
4984
  "blocking_nonblocking",
4985
  "case_swap",
4986
  "concat_swap",
 
4997
  "width_bit_cutoff",
4998
  "wrong_bitwidth"
4999
  ],
5000
+ "lucky-wfw_IC_System_Design": [
5001
  "blocking_nonblocking",
5002
  "case_swap",
5003
  "concat_swap",
 
5014
  "width_bit_cutoff",
5015
  "wrong_bitwidth"
5016
  ],
5017
+ "phoeniX-Digital-Design_phoeniX": [
5018
+ "blocking_nonblocking"
5019
+ ],
5020
+ "mciepluc_cocotb-coverage": [
5021
  "case_swap",
5022
  "concat_swap",
5023
  "inverted_condition",
 
5030
  "width_bit_cutoff",
5031
  "wrong_bitwidth"
5032
  ],
5033
+ "mnmhdanas_UART-protocol": [
5034
  "blocking_nonblocking",
5035
  "case_swap",
5036
  "concat_swap",
 
5047
  "width_bit_cutoff",
5048
  "wrong_bitwidth"
5049
  ],
5050
+ "fcayci_sv-digital-design": [
5051
  "blocking_nonblocking",
5052
  "case_swap",
5053
  "concat_swap",
5054
+ "delayed_signal",
5055
  "inverted_condition",
5056
+ "missing_else_latch",
5057
  "missing_enable",
5058
  "missing_reset",
5059
  "off_by_one_counter",
5060
  "operator_typo",
5061
+ "signal_typo",
5062
  "state_transition",
5063
  "unconnected_port",
5064
  "width_bit_cutoff",
5065
  "wrong_bitwidth"
5066
  ],
5067
+ "Amr-HAlahla_Multi-Cycle-RISC-Processor-In-Verilog": [
 
5068
  "case_swap",
5069
  "concat_swap",
 
5070
  "inverted_condition",
 
5071
  "missing_enable",
5072
  "missing_reset",
5073
  "off_by_one_counter",
5074
  "operator_typo",
 
5075
  "state_transition",
5076
  "unconnected_port",
5077
  "width_bit_cutoff",
5078
  "wrong_bitwidth"
5079
  ],
5080
+ "Crimsonninja_senior_design_puf": [
 
5081
  "case_swap",
5082
  "concat_swap",
 
5083
  "inverted_condition",
 
5084
  "missing_enable",
5085
  "missing_reset",
5086
  "off_by_one_counter",
5087
  "operator_typo",
 
5088
  "state_transition",
5089
  "unconnected_port",
5090
  "width_bit_cutoff",
5091
  "wrong_bitwidth"
5092
  ],
5093
+ "ttchisholm_10g-low-latency-ethernet": [
5094
+ "blocking_nonblocking",
5095
  "case_swap",
5096
  "concat_swap",
5097
+ "delayed_signal",
5098
  "inverted_condition",
5099
+ "missing_else_latch",
5100
  "missing_enable",
5101
  "missing_reset",
5102
  "off_by_one_counter",
5103
  "operator_typo",
5104
+ "signal_typo",
5105
  "state_transition",
5106
  "unconnected_port",
5107
  "width_bit_cutoff",
5108
  "wrong_bitwidth"
5109
  ],
5110
+ "akira2963753_Pipelined-RV32-SoC": [
5111
+ "blocking_nonblocking",
5112
  "case_swap",
5113
  "concat_swap",
5114
+ "delayed_signal",
5115
  "inverted_condition",
5116
+ "missing_else_latch",
5117
  "missing_enable",
5118
  "missing_reset",
5119
  "off_by_one_counter",
5120
  "operator_typo",
5121
+ "signal_typo",
5122
  "state_transition",
5123
  "unconnected_port",
5124
  "width_bit_cutoff",
5125
  "wrong_bitwidth"
5126
  ],
5127
+ "sumukhathrey_Verilog_ASIC_Design": [
5128
  "case_swap",
5129
  "concat_swap",
5130
  "inverted_condition",
 
5137
  "width_bit_cutoff",
5138
  "wrong_bitwidth"
5139
  ],
5140
+ "thejefflarson_little-cpu": [
5141
+ "blocking_nonblocking",
5142
  "case_swap",
5143
  "concat_swap",
5144
+ "delayed_signal",
5145
  "inverted_condition",
5146
+ "missing_else_latch",
5147
  "missing_enable",
5148
  "missing_reset",
5149
  "off_by_one_counter",
5150
  "operator_typo",
5151
+ "signal_typo",
5152
  "state_transition",
5153
  "unconnected_port",
5154
  "width_bit_cutoff",
5155
  "wrong_bitwidth"
5156
  ],
5157
+ "MohamedHussein27_RISC-V-Single-Cycle-Implementation": [
5158
  "case_swap",
5159
  "concat_swap",
5160
  "inverted_condition",
 
5176
  "off_by_one_counter",
5177
  "operator_typo"
5178
  ],
5179
+ "OrsuVenkataKrishnaiah1235_RTL-Coding": [
5180
+ "blocking_nonblocking",
5181
  "case_swap",
5182
  "concat_swap",
5183
+ "delayed_signal",
5184
  "inverted_condition",
5185
+ "missing_else_latch",
5186
  "missing_enable",
5187
  "missing_reset",
5188
  "off_by_one_counter",
5189
  "operator_typo",
5190
+ "signal_typo",
5191
  "state_transition",
5192
  "unconnected_port",
5193
+ "width_bit_cutoff",
5194
+ "wrong_bitwidth"
5195
  ],
5196
+ "alexforencich_verilog-axi": [
5197
+ "case_swap",
5198
+ "concat_swap"
5199
+ ],
5200
+ "Fraunhofer-IMS_airisc_core_complex": [
5201
+ "blocking_nonblocking",
5202
  "case_swap",
5203
  "concat_swap",
5204
+ "delayed_signal",
5205
  "inverted_condition",
5206
+ "missing_else_latch",
5207
+ "missing_enable",
5208
+ "missing_reset",
5209
+ "off_by_one_counter",
5210
+ "operator_typo",
5211
+ "signal_typo",
5212
+ "state_transition",
5213
+ "unconnected_port",
5214
+ "width_bit_cutoff",
5215
+ "wrong_bitwidth"
5216
  ]
5217
  }
5218
  }
manifest.json CHANGED
@@ -147,112 +147,7 @@
147
  "repo": "JN513/Risco-5",
148
  "clone_url": "https://github.com/JN513/Risco-5.git",
149
  "commit_sha": "12a570c7124f5f78f2c9513248f8e6bd85137068",
150
- "testbenches": [
151
- {
152
- "file_path": "tests/core_test.v",
153
- "tb_type": "verilog",
154
- "simulator": "icarus",
155
- "makefile_path": null,
156
- "top_module": "Core",
157
- "rtl_files": [
158
- "src/core/core.v",
159
- "src/core/pc.v",
160
- "src/core/mux.v",
161
- "src/core/registers.v",
162
- "src/core/control_unit.v",
163
- "src/core/alu_control.v",
164
- "src/core/alu.v",
165
- "src/core/immediate_generator.v",
166
- "src/core/csr_unit.v",
167
- "src/core/mdu.v",
168
- "src/peripheral/memory.v",
169
- "src/peripheral/bus.v",
170
- "src/peripheral/leds.v"
171
- ]
172
- },
173
- {
174
- "file_path": "tests/registers_test.v",
175
- "tb_type": "verilog",
176
- "simulator": "icarus",
177
- "makefile_path": null,
178
- "top_module": "Registers",
179
- "rtl_files": [
180
- "src/core/registers.v"
181
- ]
182
- },
183
- {
184
- "file_path": "tests/soc_test.v",
185
- "tb_type": "verilog",
186
- "simulator": "icarus",
187
- "makefile_path": null,
188
- "top_module": "Risco_5_SOC",
189
- "rtl_files": [
190
- "src/peripheral/soc.v",
191
- "src/core/core.v",
192
- "src/core/pc.v",
193
- "src/core/mux.v",
194
- "src/core/registers.v",
195
- "src/core/control_unit.v",
196
- "src/core/alu_control.v",
197
- "src/core/alu.v",
198
- "src/core/immediate_generator.v",
199
- "src/core/csr_unit.v",
200
- "src/core/mdu.v",
201
- "src/peripheral/memory.v",
202
- "src/peripheral/bus.v",
203
- "src/peripheral/leds.v",
204
- "src/peripheral/uart.v",
205
- "src/peripheral/uart_rx.v",
206
- "src/peripheral/uart_tx.v",
207
- "src/peripheral/fifo.v",
208
- "src/peripheral/gpios.v",
209
- "src/peripheral/gpio.v",
210
- "src/peripheral/pwm.v"
211
- ]
212
- },
213
- {
214
- "file_path": "tests/gpio_test.v",
215
- "tb_type": "verilog",
216
- "simulator": "icarus",
217
- "makefile_path": null,
218
- "top_module": "GPIOS",
219
- "rtl_files": [
220
- "src/peripheral/gpios.v",
221
- "src/peripheral/gpio.v",
222
- "src/peripheral/pwm.v"
223
- ]
224
- },
225
- {
226
- "file_path": "tests/pc_test.v",
227
- "tb_type": "verilog",
228
- "simulator": "icarus",
229
- "makefile_path": null,
230
- "top_module": "PC",
231
- "rtl_files": [
232
- "src/core/pc.v"
233
- ]
234
- },
235
- {
236
- "file_path": "tests/clk_divider.v",
237
- "tb_type": "verilog",
238
- "simulator": "icarus",
239
- "makefile_path": null,
240
- "top_module": "ClkDivider",
241
- "rtl_files": [
242
- "debug/clk_divider.v"
243
- ]
244
- },
245
- {
246
- "file_path": "tests/reset_test.v",
247
- "tb_type": "verilog",
248
- "simulator": "icarus",
249
- "makefile_path": null,
250
- "top_module": "ResetBootSystem",
251
- "rtl_files": [
252
- "debug/reset.v"
253
- ]
254
- }
255
- ]
256
  },
257
  "Mr-Bossman_KISC-V": {
258
  "repo": "Mr-Bossman/KISC-V",
@@ -268,28 +163,6 @@
268
  "rtl_files": [
269
  "hdl/axi.v"
270
  ]
271
- },
272
- {
273
- "file_path": "hdl/soc_top_iverilog.v",
274
- "tb_type": "verilog",
275
- "simulator": "icarus",
276
- "makefile_path": "Makefile",
277
- "top_module": "soc_top",
278
- "rtl_files": [
279
- "hdl/sram.v",
280
- "hdl/apb_align.v",
281
- "hdl/cpu.v",
282
- "hdl/alu.v",
283
- "hdl/APB.v",
284
- "hdl/uart.v",
285
- "hdl/intctrl.v",
286
- "hdl/timer.v",
287
- "hdl/control_unit.v",
288
- "hdl/datapath.v",
289
- "hdl/regfile.v",
290
- "hdl/programcounter.v",
291
- "hdl/sys.v"
292
- ]
293
  }
294
  ]
295
  },
@@ -331,133 +204,13 @@
331
  "repo": "accomdemy/accomdemy_rv32i",
332
  "clone_url": "https://github.com/accomdemy/accomdemy_rv32i.git",
333
  "commit_sha": "4f75b555a0e0419e2417294f85df202ba0415e4b",
334
- "testbenches": [
335
- {
336
- "file_path": "sim/cpu_tb.v",
337
- "tb_type": "verilog",
338
- "simulator": "icarus",
339
- "makefile_path": null,
340
- "top_module": "cpu",
341
- "rtl_files": [
342
- "src/cpu.v",
343
- "src/alu.v",
344
- "src/branch.v",
345
- "src/decoder.v",
346
- "src/dm_control.v",
347
- "src/instr_memory.v",
348
- "src/MUX2to1_32bit.v",
349
- "src/MUX4to1_32bit.v",
350
- "src/pc.v",
351
- "src/regfile.v"
352
- ]
353
- }
354
- ]
355
  },
356
  "akira2963753_Pipelined-RV32-SoC": {
357
  "repo": "akira2963753/Pipelined-RV32-SoC",
358
  "clone_url": "https://github.com/akira2963753/Pipelined-RV32-SoC.git",
359
  "commit_sha": "ded74adc6a29ef5bbdac56a5eac5b99328064371",
360
- "testbenches": [
361
- {
362
- "file_path": "source/Five-Stage-Pipelined-CPU/RTL/RISCV_CPU_tb.v",
363
- "tb_type": "verilog",
364
- "simulator": "icarus",
365
- "makefile_path": null,
366
- "top_module": "RISCV_CPU",
367
- "rtl_files": [
368
- "source/Five-Stage-Pipelined-CPU/RTL/ALU.v",
369
- "source/Five-Stage-Pipelined-CPU/RTL/ALU_Control.v",
370
- "source/Five-Stage-Pipelined-CPU/RTL/BHT.v",
371
- "source/Five-Stage-Pipelined-CPU/RTL/BPU.v",
372
- "source/Five-Stage-Pipelined-CPU/RTL/BTB.v",
373
- "source/Five-Stage-Pipelined-CPU/RTL/CSR.v",
374
- "source/Five-Stage-Pipelined-CPU/RTL/Control.v",
375
- "source/Five-Stage-Pipelined-CPU/RTL/D_Mem.v",
376
- "source/Five-Stage-Pipelined-CPU/RTL/EX_MEM.v",
377
- "source/Five-Stage-Pipelined-CPU/RTL/Forwarding_Unit.v",
378
- "source/Five-Stage-Pipelined-CPU/RTL/Hazard_Unit.v",
379
- "source/Five-Stage-Pipelined-CPU/RTL/ID_EX.v",
380
- "source/Five-Stage-Pipelined-CPU/RTL/IF_ID.v",
381
- "source/Five-Stage-Pipelined-CPU/RTL/I_Mem.v",
382
- "source/Five-Stage-Pipelined-CPU/RTL/ImmGen.v",
383
- "source/Five-Stage-Pipelined-CPU/RTL/LDU.v",
384
- "source/Five-Stage-Pipelined-CPU/RTL/MEM_WB.v",
385
- "source/Five-Stage-Pipelined-CPU/RTL/PC.v",
386
- "source/Five-Stage-Pipelined-CPU/RTL/PC_Adderr.v",
387
- "source/Five-Stage-Pipelined-CPU/RTL/RF.v",
388
- "source/Five-Stage-Pipelined-CPU/RTL/RISCV_CPU.v"
389
- ]
390
- },
391
- {
392
- "file_path": "source/RISC-V-Processor/RTL/RISCV_PROCESSOR_tb.v",
393
- "tb_type": "verilog",
394
- "simulator": "icarus",
395
- "makefile_path": null,
396
- "top_module": "RISCV_PROCESSOR",
397
- "rtl_files": [
398
- "source/RISC-V-Processor/RTL/ALU.v",
399
- "source/RISC-V-Processor/RTL/ALU_Control.v",
400
- "source/RISC-V-Processor/RTL/AXI4_Lite_Bus.v",
401
- "source/RISC-V-Processor/RTL/BHT.v",
402
- "source/RISC-V-Processor/RTL/BPU.v",
403
- "source/RISC-V-Processor/RTL/BTB.v",
404
- "source/RISC-V-Processor/RTL/CSR.v",
405
- "source/RISC-V-Processor/RTL/Control.v",
406
- "source/RISC-V-Processor/RTL/D_BRAM.v",
407
- "source/RISC-V-Processor/RTL/D_Cache.v",
408
- "source/RISC-V-Processor/RTL/D_Mem.v",
409
- "source/RISC-V-Processor/RTL/EX_MEM.v",
410
- "source/RISC-V-Processor/RTL/Forwarding_Unit.v",
411
- "source/RISC-V-Processor/RTL/Hazard_Unit.v",
412
- "source/RISC-V-Processor/RTL/ID_EX.v",
413
- "source/RISC-V-Processor/RTL/IF_ID.v",
414
- "source/RISC-V-Processor/RTL/I_Cache.v",
415
- "source/RISC-V-Processor/RTL/ImmGen.v",
416
- "source/RISC-V-Processor/RTL/LDU.v",
417
- "source/RISC-V-Processor/RTL/MEM_WB.v",
418
- "source/RISC-V-Processor/RTL/PC.v",
419
- "source/RISC-V-Processor/RTL/PC_Adder.v",
420
- "source/RISC-V-Processor/RTL/RF.v",
421
- "source/RISC-V-Processor/RTL/RISCV_CPU.v",
422
- "source/RISC-V-Processor/RTL/RISCV_PROCESSOR.v"
423
- ]
424
- },
425
- {
426
- "file_path": "source/CACHE/AXI4-LITE/Pattern.v",
427
- "tb_type": "verilog",
428
- "simulator": "icarus",
429
- "makefile_path": null,
430
- "top_module": "Tested",
431
- "rtl_files": [
432
- "source/CACHE/AXI4-LITE/Tested.v",
433
- "source/CACHE/AXI4-LITE/AXI4_Lite_Bus.v"
434
- ]
435
- },
436
- {
437
- "file_path": "source/CACHE/I-CACHE/Pattern.v",
438
- "tb_type": "verilog",
439
- "simulator": "icarus",
440
- "makefile_path": null,
441
- "top_module": "Tested",
442
- "rtl_files": [
443
- "source/CACHE/I-CACHE/Tested.v",
444
- "source/CACHE/I-CACHE/Cache.v",
445
- "source/CACHE/I-CACHE/AXI4_Lite_Bus.v"
446
- ]
447
- },
448
- {
449
- "file_path": "source/CACHE/D-CACHE/Pattern.v",
450
- "tb_type": "verilog",
451
- "simulator": "icarus",
452
- "makefile_path": null,
453
- "top_module": "Tested",
454
- "rtl_files": [
455
- "source/CACHE/D-CACHE/Tested.v",
456
- "source/CACHE/D-CACHE/D_Cache.v",
457
- "source/CACHE/D-CACHE/AXI4_Lite_Bus.v"
458
- ]
459
- }
460
- ]
461
  },
462
  "thejefflarson_little-cpu": {
463
  "repo": "thejefflarson/little-cpu",
@@ -1230,5 +983,644 @@
1230
  ]
1231
  }
1232
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1233
  }
1234
  }
 
147
  "repo": "JN513/Risco-5",
148
  "clone_url": "https://github.com/JN513/Risco-5.git",
149
  "commit_sha": "12a570c7124f5f78f2c9513248f8e6bd85137068",
150
+ "testbenches": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  },
152
  "Mr-Bossman_KISC-V": {
153
  "repo": "Mr-Bossman/KISC-V",
 
163
  "rtl_files": [
164
  "hdl/axi.v"
165
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  }
167
  ]
168
  },
 
204
  "repo": "accomdemy/accomdemy_rv32i",
205
  "clone_url": "https://github.com/accomdemy/accomdemy_rv32i.git",
206
  "commit_sha": "4f75b555a0e0419e2417294f85df202ba0415e4b",
207
+ "testbenches": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  },
209
  "akira2963753_Pipelined-RV32-SoC": {
210
  "repo": "akira2963753/Pipelined-RV32-SoC",
211
  "clone_url": "https://github.com/akira2963753/Pipelined-RV32-SoC.git",
212
  "commit_sha": "ded74adc6a29ef5bbdac56a5eac5b99328064371",
213
+ "testbenches": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  },
215
  "thejefflarson_little-cpu": {
216
  "repo": "thejefflarson/little-cpu",
 
983
  ]
984
  }
985
  ]
986
+ },
987
+ "WilliamZhang20_ECE298A-TPU": {
988
+ "repo": "WilliamZhang20/ECE298A-TPU",
989
+ "clone_url": "https://github.com/WilliamZhang20/ECE298A-TPU.git",
990
+ "commit_sha": "24d9cb1fb86b8f0f9d800fcbb5fd3dfa49638400",
991
+ "testbenches": [
992
+ {
993
+ "file_path": "test/control_unit/test_control_unit.py",
994
+ "tb_type": "cocotb",
995
+ "simulator": "icarus",
996
+ "makefile_path": "test/Makefile",
997
+ "top_module": "control_unit_tb",
998
+ "rtl_files": [
999
+ "test/control_unit/control_unit_tb.v",
1000
+ "src/control_unit.v"
1001
+ ]
1002
+ },
1003
+ {
1004
+ "file_path": "test/memory/test_memory.py",
1005
+ "tb_type": "cocotb",
1006
+ "simulator": "icarus",
1007
+ "makefile_path": "test/Makefile",
1008
+ "top_module": "memory_tb",
1009
+ "rtl_files": [
1010
+ "test/memory/memory_tb.v",
1011
+ "src/memory.v"
1012
+ ]
1013
+ },
1014
+ {
1015
+ "file_path": "test/mmu_feeder/test_mmu_feeder.py",
1016
+ "tb_type": "cocotb",
1017
+ "simulator": "icarus",
1018
+ "makefile_path": "test/Makefile",
1019
+ "top_module": "mmu_feeder_tb",
1020
+ "rtl_files": [
1021
+ "test/mmu_feeder/mmu_feeder_tb.v",
1022
+ "src/mmu_feeder.v"
1023
+ ]
1024
+ },
1025
+ {
1026
+ "file_path": "test/systolic_array/test_systolic_array.py",
1027
+ "tb_type": "cocotb",
1028
+ "simulator": "icarus",
1029
+ "makefile_path": "test/Makefile",
1030
+ "top_module": "systolic_array_tb",
1031
+ "rtl_files": [
1032
+ "test/systolic_array/systolic_array_tb.v",
1033
+ "src/systolic_array_2x2.v",
1034
+ "src/PE.v"
1035
+ ]
1036
+ },
1037
+ {
1038
+ "file_path": "test/tpu/test_tpu.py",
1039
+ "tb_type": "cocotb",
1040
+ "simulator": "icarus",
1041
+ "makefile_path": "test/Makefile",
1042
+ "top_module": "tb",
1043
+ "rtl_files": [
1044
+ "test/tpu/tb.v",
1045
+ "src/tpu.v",
1046
+ "src/delay_cell.v",
1047
+ "src/systolic_array_2x2.v",
1048
+ "src/PE.v",
1049
+ "src/mmu_feeder.v",
1050
+ "src/control_unit.v",
1051
+ "src/memory.v"
1052
+ ]
1053
+ },
1054
+ {
1055
+ "file_path": "test/tpu/train_qat_model.py",
1056
+ "tb_type": "cocotb",
1057
+ "simulator": "icarus",
1058
+ "makefile_path": "test/Makefile",
1059
+ "top_module": "tb",
1060
+ "rtl_files": [
1061
+ "test/tpu/tb.v",
1062
+ "src/tpu.v",
1063
+ "src/delay_cell.v",
1064
+ "src/systolic_array_2x2.v",
1065
+ "src/PE.v",
1066
+ "src/mmu_feeder.v",
1067
+ "src/control_unit.v",
1068
+ "src/memory.v"
1069
+ ]
1070
+ },
1071
+ {
1072
+ "file_path": "test/uvm_test/test_uvm.py",
1073
+ "tb_type": "cocotb",
1074
+ "simulator": "icarus",
1075
+ "makefile_path": "test/Makefile",
1076
+ "top_module": "tb",
1077
+ "rtl_files": [
1078
+ "test/uvm_test/tb.v",
1079
+ "src/tpu.v",
1080
+ "src/delay_cell.v",
1081
+ "src/systolic_array_2x2.v",
1082
+ "src/PE.v",
1083
+ "src/mmu_feeder.v",
1084
+ "src/control_unit.v",
1085
+ "src/memory.v"
1086
+ ]
1087
+ }
1088
+ ]
1089
+ },
1090
+ "cocotb_cocotb-bus": {
1091
+ "repo": "cocotb/cocotb-bus",
1092
+ "clone_url": "https://github.com/cocotb/cocotb-bus.git",
1093
+ "commit_sha": "3c1018f86c842b8873b4d8635d8a67bb8807f62e",
1094
+ "testbenches": [
1095
+ {
1096
+ "file_path": "examples/axi_lite_slave/tests/test_axi_lite_slave.py",
1097
+ "tb_type": "cocotb",
1098
+ "simulator": "icarus",
1099
+ "makefile_path": "examples/axi_lite_slave/tests/Makefile",
1100
+ "top_module": "tb_axi_lite_slave",
1101
+ "rtl_files": [
1102
+ "examples/axi_lite_slave/hdl/axi_lite_slave.v",
1103
+ "examples/axi_lite_slave/hdl/axi_lite_demo.v",
1104
+ "examples/axi_lite_slave/hdl/tb_axi_lite_slave.v"
1105
+ ]
1106
+ },
1107
+ {
1108
+ "file_path": "examples/dff/tests/dff_cocotb.py",
1109
+ "tb_type": "cocotb",
1110
+ "simulator": "icarus",
1111
+ "makefile_path": "examples/dff/tests/Makefile",
1112
+ "top_module": "dff",
1113
+ "rtl_files": [
1114
+ "examples/dff/hdl/dff.v"
1115
+ ]
1116
+ },
1117
+ {
1118
+ "file_path": "examples/endian_swapper/tests/test_endian_swapper.py",
1119
+ "tb_type": "cocotb",
1120
+ "simulator": "icarus",
1121
+ "makefile_path": "examples/endian_swapper/tests/Makefile",
1122
+ "top_module": "endian_swapper_sv",
1123
+ "rtl_files": [
1124
+ "examples/endian_swapper/hdl/endian_swapper.sv"
1125
+ ]
1126
+ },
1127
+ {
1128
+ "file_path": "examples/endian_swapper/hal_tests/test_endian_swapper_hal.py",
1129
+ "tb_type": "cocotb",
1130
+ "simulator": "icarus",
1131
+ "makefile_path": "examples/endian_swapper/hal_tests/Makefile",
1132
+ "top_module": "endian_swapper_sv",
1133
+ "rtl_files": [
1134
+ "examples/endian_swapper/hdl/endian_swapper.sv"
1135
+ ]
1136
+ },
1137
+ {
1138
+ "file_path": "examples/mean/tests/test_mean.py",
1139
+ "tb_type": "cocotb",
1140
+ "simulator": "icarus",
1141
+ "makefile_path": "examples/mean/tests/Makefile",
1142
+ "top_module": "mean",
1143
+ "rtl_files": [
1144
+ "examples/mean/hdl/mean.sv"
1145
+ ]
1146
+ },
1147
+ {
1148
+ "file_path": "tests/test_cases/test_array_buses/test_array_buses.py",
1149
+ "tb_type": "cocotb",
1150
+ "simulator": "icarus",
1151
+ "makefile_path": "tests/test_cases/test_array_buses/Makefile",
1152
+ "top_module": "array_buses",
1153
+ "rtl_files": [
1154
+ "tests/test_cases/test_array_buses/array_buses.sv"
1155
+ ]
1156
+ },
1157
+ {
1158
+ "file_path": "tests/test_cases/test_avalon/test_avalon.py",
1159
+ "tb_type": "cocotb",
1160
+ "simulator": "icarus",
1161
+ "makefile_path": "tests/test_cases/test_avalon/Makefile",
1162
+ "top_module": "burst_read_master",
1163
+ "rtl_files": [
1164
+ "tests/designs/avalon_module/burst_read_master.v"
1165
+ ]
1166
+ },
1167
+ {
1168
+ "file_path": "tests/test_cases/test_avalon_interface/test_avalon_interface.py",
1169
+ "tb_type": "cocotb",
1170
+ "simulator": "verilator",
1171
+ "makefile_path": "tests/test_cases/test_avalon_interface/Makefile",
1172
+ "top_module": "avl_feedback",
1173
+ "rtl_files": [
1174
+ "tests/designs/avalon_interface_module/avl_mm_mini_if.sv",
1175
+ "tests/designs/avalon_interface_module/avl_st_mini_if.sv",
1176
+ "tests/designs/avalon_interface_module/st_feedback.sv",
1177
+ "tests/designs/avalon_interface_module/mm_reader.sv",
1178
+ "tests/designs/avalon_interface_module/avl_feedback.sv"
1179
+ ]
1180
+ },
1181
+ {
1182
+ "file_path": "tests/test_cases/test_avalon_stream/test_avalon_stream.py",
1183
+ "tb_type": "cocotb",
1184
+ "simulator": "icarus",
1185
+ "makefile_path": "tests/test_cases/test_avalon_stream/Makefile",
1186
+ "top_module": "avalon_streaming",
1187
+ "rtl_files": [
1188
+ "tests/designs/avalon_streaming_module/avalon_streaming.sv"
1189
+ ]
1190
+ },
1191
+ {
1192
+ "file_path": "tests/test_cases/test_axi4/test_axi4.py",
1193
+ "tb_type": "cocotb",
1194
+ "simulator": "icarus",
1195
+ "makefile_path": "tests/test_cases/test_axi4/Makefile",
1196
+ "top_module": "top",
1197
+ "rtl_files": [
1198
+ "tests/designs/axi4_ram/axi_register_rd.v",
1199
+ "tests/designs/axi4_ram/axi_register_wr.v",
1200
+ "tests/designs/axi4_ram/axi_register.v",
1201
+ "tests/designs/axi4_ram/priority_encoder.v",
1202
+ "tests/designs/axi4_ram/arbiter.v",
1203
+ "tests/designs/axi4_ram/axi_interconnect.v",
1204
+ "tests/designs/axi4_ram/axi_ram.v",
1205
+ "tests/designs/axi4_ram/top.v"
1206
+ ]
1207
+ },
1208
+ {
1209
+ "file_path": "tests/test_cases/test_case_insensitive/case_insensitive.py",
1210
+ "tb_type": "cocotb",
1211
+ "simulator": "icarus",
1212
+ "makefile_path": "tests/test_cases/test_case_insensitive/Makefile",
1213
+ "top_module": "case_insensitive",
1214
+ "rtl_files": [
1215
+ "tests/test_cases/test_case_insensitive/case_insensitive.v"
1216
+ ]
1217
+ },
1218
+ {
1219
+ "file_path": "tests/test_cases/test_cocotb_bus/test_ci.py",
1220
+ "tb_type": "cocotb",
1221
+ "simulator": "icarus",
1222
+ "makefile_path": "tests/test_cases/test_cocotb_bus/Makefile",
1223
+ "top_module": "top",
1224
+ "rtl_files": [
1225
+ "tests/designs/axi4_ram/axi_register_rd.v",
1226
+ "tests/designs/axi4_ram/axi_register_wr.v",
1227
+ "tests/designs/axi4_ram/axi_register.v",
1228
+ "tests/designs/axi4_ram/priority_encoder.v",
1229
+ "tests/designs/axi4_ram/arbiter.v",
1230
+ "tests/designs/axi4_ram/axi_interconnect.v",
1231
+ "tests/designs/axi4_ram/axi_ram.v",
1232
+ "tests/designs/axi4_ram/top.v"
1233
+ ]
1234
+ }
1235
+ ]
1236
+ },
1237
+ "mciepluc_cocotb-coverage": {
1238
+ "repo": "mciepluc/cocotb-coverage",
1239
+ "clone_url": "https://github.com/mciepluc/cocotb-coverage.git",
1240
+ "commit_sha": "201c6e19761528eb9c03f876666c485027abb7fb",
1241
+ "testbenches": [
1242
+ {
1243
+ "file_path": "examples/fifo/tests/test_fifo.py",
1244
+ "tb_type": "cocotb",
1245
+ "simulator": "icarus",
1246
+ "makefile_path": "examples/fifo/tests/Makefile",
1247
+ "top_module": "fifo_mem",
1248
+ "rtl_files": [
1249
+ "examples/fifo/hdl/fifo.v"
1250
+ ]
1251
+ },
1252
+ {
1253
+ "file_path": "examples/pkt_switch/tests/test_pkt_switch.py",
1254
+ "tb_type": "cocotb",
1255
+ "simulator": "icarus",
1256
+ "makefile_path": "examples/pkt_switch/tests/Makefile",
1257
+ "top_module": "pkt_switch",
1258
+ "rtl_files": [
1259
+ "examples/pkt_switch/hdl/pkt_switch.v"
1260
+ ]
1261
+ },
1262
+ {
1263
+ "file_path": "tests/test_coverage/coverage_test_main.py",
1264
+ "tb_type": "cocotb",
1265
+ "simulator": "icarus",
1266
+ "makefile_path": "tests/test_coverage/Makefile",
1267
+ "top_module": "sample_module",
1268
+ "rtl_files": [
1269
+ "tests/sample_module.sv"
1270
+ ]
1271
+ },
1272
+ {
1273
+ "file_path": "tests/test_crv/crv_test_main.py",
1274
+ "tb_type": "cocotb",
1275
+ "simulator": "icarus",
1276
+ "makefile_path": "tests/test_crv/Makefile",
1277
+ "top_module": "sample_module",
1278
+ "rtl_files": [
1279
+ "tests/sample_module.sv"
1280
+ ]
1281
+ }
1282
+ ]
1283
+ },
1284
+ "semify-eda_go.debug": {
1285
+ "repo": "semify-eda/go.debug",
1286
+ "clone_url": "https://github.com/semify-eda/go.debug.git",
1287
+ "commit_sha": "b04c7779e50881ad4ea1832b34d82a0b897fba2f",
1288
+ "testbenches": [
1289
+ {
1290
+ "file_path": "example/division/testbench/test_div_int.py",
1291
+ "tb_type": "cocotb",
1292
+ "simulator": "icarus",
1293
+ "makefile_path": "example/division/sim.cocotb/Makefile",
1294
+ "top_module": "top",
1295
+ "rtl_files": [
1296
+ "example/division/rtl/div_int.sv",
1297
+ "example/division/testbench/top.cocotb.sv"
1298
+ ]
1299
+ },
1300
+ {
1301
+ "file_path": "example/sqrt/testbench/test_sqrt_int.py",
1302
+ "tb_type": "cocotb",
1303
+ "simulator": "icarus",
1304
+ "makefile_path": "example/sqrt/sim.cocotb/Makefile",
1305
+ "top_module": "top",
1306
+ "rtl_files": [
1307
+ "example/sqrt/rtl/sqrt.sv",
1308
+ "example/sqrt/testbench/top.cocotb.sv"
1309
+ ]
1310
+ },
1311
+ {
1312
+ "file_path": "example/sine/testbench/wfg_stim_sine_tb.sv",
1313
+ "tb_type": "verilog",
1314
+ "simulator": "icarus",
1315
+ "makefile_path": "example/sine/sim.icarus/Makefile",
1316
+ "top_module": "wfg_stim_sine",
1317
+ "rtl_files": [
1318
+ "example/sine/rtl/wfg_stim_sine.sv"
1319
+ ]
1320
+ },
1321
+ {
1322
+ "file_path": "example/shiftreg/testbench/top_system.icarus.sv",
1323
+ "tb_type": "verilog",
1324
+ "simulator": "icarus",
1325
+ "makefile_path": "example/shiftreg/sim.icarus/Makefile",
1326
+ "top_module": "ste_shift_reg",
1327
+ "rtl_files": [
1328
+ "example/shiftreg/rtl/ste_shift_reg.sv"
1329
+ ]
1330
+ }
1331
+ ]
1332
+ },
1333
+ "snbk001_100DaysofRTL": {
1334
+ "repo": "snbk001/100DaysofRTL",
1335
+ "clone_url": "https://github.com/snbk001/100DaysofRTL.git",
1336
+ "commit_sha": "3cc8e302d836b2d8527cb2550342b9fbfe2e6464",
1337
+ "testbenches": [
1338
+ {
1339
+ "file_path": "day5/dff_tb.sv",
1340
+ "tb_type": "verilog",
1341
+ "simulator": "icarus",
1342
+ "makefile_path": null,
1343
+ "top_module": "dff",
1344
+ "rtl_files": [
1345
+ "day5/dff.sv"
1346
+ ]
1347
+ },
1348
+ {
1349
+ "file_path": "day6/counter8bit_tb.sv",
1350
+ "tb_type": "verilog",
1351
+ "simulator": "icarus",
1352
+ "makefile_path": null,
1353
+ "top_module": "counter8bit",
1354
+ "rtl_files": [
1355
+ "day6/counter8bit.sv"
1356
+ ]
1357
+ },
1358
+ {
1359
+ "file_path": "day8/lfsr_tb.sv",
1360
+ "tb_type": "verilog",
1361
+ "simulator": "icarus",
1362
+ "makefile_path": null,
1363
+ "top_module": "lfsr",
1364
+ "rtl_files": [
1365
+ "day8/lfsr.sv"
1366
+ ]
1367
+ },
1368
+ {
1369
+ "file_path": "day9/custcounter_tb.sv",
1370
+ "tb_type": "verilog",
1371
+ "simulator": "icarus",
1372
+ "makefile_path": null,
1373
+ "top_module": "custcounter",
1374
+ "rtl_files": [
1375
+ "day9/custcounter.sv"
1376
+ ]
1377
+ },
1378
+ {
1379
+ "file_path": "day10/muxcond_tb.sv",
1380
+ "tb_type": "verilog",
1381
+ "simulator": "icarus",
1382
+ "makefile_path": null,
1383
+ "top_module": "muxcond",
1384
+ "rtl_files": [
1385
+ "day10/muxcond.sv"
1386
+ ]
1387
+ },
1388
+ {
1389
+ "file_path": "day11/jkff_tb.sv",
1390
+ "tb_type": "verilog",
1391
+ "simulator": "icarus",
1392
+ "makefile_path": null,
1393
+ "top_module": "jkff",
1394
+ "rtl_files": [
1395
+ "day11/jkff.sv"
1396
+ ]
1397
+ },
1398
+ {
1399
+ "file_path": "day12/tff_tb.sv",
1400
+ "tb_type": "verilog",
1401
+ "simulator": "icarus",
1402
+ "makefile_path": null,
1403
+ "top_module": "tff",
1404
+ "rtl_files": [
1405
+ "day12/tff.sv",
1406
+ "day12/jkff.sv"
1407
+ ]
1408
+ },
1409
+ {
1410
+ "file_path": "day13/pedge_tb.sv",
1411
+ "tb_type": "verilog",
1412
+ "simulator": "icarus",
1413
+ "makefile_path": null,
1414
+ "top_module": "pedge",
1415
+ "rtl_files": [
1416
+ "day13/pedge.sv"
1417
+ ]
1418
+ },
1419
+ {
1420
+ "file_path": "day17/free_run_countr_tb.sv",
1421
+ "tb_type": "verilog",
1422
+ "simulator": "icarus",
1423
+ "makefile_path": null,
1424
+ "top_module": "free_run_countr",
1425
+ "rtl_files": [
1426
+ "day17/free_run_countr.sv"
1427
+ ]
1428
+ },
1429
+ {
1430
+ "file_path": "day18/modmcountr_tb.sv",
1431
+ "tb_type": "verilog",
1432
+ "simulator": "icarus",
1433
+ "makefile_path": null,
1434
+ "top_module": "modmcountr",
1435
+ "rtl_files": [
1436
+ "day18/modmcountr.sv"
1437
+ ]
1438
+ },
1439
+ {
1440
+ "file_path": "day19/edgedet_moore_tb.sv",
1441
+ "tb_type": "verilog",
1442
+ "simulator": "icarus",
1443
+ "makefile_path": null,
1444
+ "top_module": "edgedet_moore",
1445
+ "rtl_files": [
1446
+ "day19/edgedet_moore.sv"
1447
+ ]
1448
+ },
1449
+ {
1450
+ "file_path": "day20/edgedet_mealy_tb.sv",
1451
+ "tb_type": "verilog",
1452
+ "simulator": "icarus",
1453
+ "makefile_path": null,
1454
+ "top_module": "edgedet_mealy",
1455
+ "rtl_files": [
1456
+ "day20/edgedet_mealy.sv"
1457
+ ]
1458
+ },
1459
+ {
1460
+ "file_path": "day22/dualedge_det_tb.sv",
1461
+ "tb_type": "verilog",
1462
+ "simulator": "icarus",
1463
+ "makefile_path": null,
1464
+ "top_module": "dualedge_det",
1465
+ "rtl_files": [
1466
+ "day22/dualedge_det.sv"
1467
+ ]
1468
+ },
1469
+ {
1470
+ "file_path": "day24/seqdet_tb.sv",
1471
+ "tb_type": "verilog",
1472
+ "simulator": "icarus",
1473
+ "makefile_path": null,
1474
+ "top_module": "seqdet",
1475
+ "rtl_files": [
1476
+ "day24/seqdet.sv"
1477
+ ]
1478
+ },
1479
+ {
1480
+ "file_path": "day25/seqdet_ol_tb.sv",
1481
+ "tb_type": "verilog",
1482
+ "simulator": "icarus",
1483
+ "makefile_path": null,
1484
+ "top_module": "seqdet_ol",
1485
+ "rtl_files": [
1486
+ "day25/seqdet_ol.sv"
1487
+ ]
1488
+ },
1489
+ {
1490
+ "file_path": "day26/seqdetmoore_nol_tb.sv",
1491
+ "tb_type": "verilog",
1492
+ "simulator": "icarus",
1493
+ "makefile_path": null,
1494
+ "top_module": "seqdetmoore_nol",
1495
+ "rtl_files": [
1496
+ "day26/seqdetmoore_nol.sv"
1497
+ ]
1498
+ },
1499
+ {
1500
+ "file_path": "day27/seqdetmoore_ol_tb.sv",
1501
+ "tb_type": "verilog",
1502
+ "simulator": "icarus",
1503
+ "makefile_path": null,
1504
+ "top_module": "seqdetmoore_ol",
1505
+ "rtl_files": [
1506
+ "day27/seqdetmoore_ol.sv"
1507
+ ]
1508
+ },
1509
+ {
1510
+ "file_path": "day29/seqmultiplier_tb.sv",
1511
+ "tb_type": "verilog",
1512
+ "simulator": "icarus",
1513
+ "makefile_path": null,
1514
+ "top_module": "seqmultiplier",
1515
+ "rtl_files": [
1516
+ "day29/seqmultiplier.sv"
1517
+ ]
1518
+ },
1519
+ {
1520
+ "file_path": "day30/singleport_ram_tb.sv",
1521
+ "tb_type": "verilog",
1522
+ "simulator": "icarus",
1523
+ "makefile_path": null,
1524
+ "top_module": "singleport_ram",
1525
+ "rtl_files": [
1526
+ "day30/singleport_ram.sv"
1527
+ ]
1528
+ },
1529
+ {
1530
+ "file_path": "day31/updowncntr_tb.sv",
1531
+ "tb_type": "verilog",
1532
+ "simulator": "icarus",
1533
+ "makefile_path": null,
1534
+ "top_module": "updowncntr",
1535
+ "rtl_files": [
1536
+ "day31/updowncntr.sv"
1537
+ ]
1538
+ },
1539
+ {
1540
+ "file_path": "day32/pipo_tb.sv",
1541
+ "tb_type": "verilog",
1542
+ "simulator": "icarus",
1543
+ "makefile_path": null,
1544
+ "top_module": "pipo",
1545
+ "rtl_files": [
1546
+ "day32/pipo.sv"
1547
+ ]
1548
+ },
1549
+ {
1550
+ "file_path": "day33/piso_tb.sv",
1551
+ "tb_type": "verilog",
1552
+ "simulator": "icarus",
1553
+ "makefile_path": null,
1554
+ "top_module": "piso",
1555
+ "rtl_files": [
1556
+ "day33/piso.sv"
1557
+ ]
1558
+ },
1559
+ {
1560
+ "file_path": "day34/sipo_tb.sv",
1561
+ "tb_type": "verilog",
1562
+ "simulator": "icarus",
1563
+ "makefile_path": null,
1564
+ "top_module": "sipo",
1565
+ "rtl_files": [
1566
+ "day34/sipo.sv"
1567
+ ]
1568
+ }
1569
+ ]
1570
+ },
1571
+ "sumukhathrey_Verilog_ASIC_Design": {
1572
+ "repo": "sumukhathrey/Verilog_ASIC_Design",
1573
+ "clone_url": "https://github.com/sumukhathrey/Verilog_ASIC_Design.git",
1574
+ "commit_sha": "77dff213c25c8d4228254d4eb3d9e0e349b2a420",
1575
+ "testbenches": [
1576
+ {
1577
+ "file_path": "Register_File/RegisterFile_tb.v",
1578
+ "tb_type": "verilog",
1579
+ "simulator": "icarus",
1580
+ "makefile_path": null,
1581
+ "top_module": "RegisterFile",
1582
+ "rtl_files": [
1583
+ "Register_File/RegisterFile.v"
1584
+ ]
1585
+ }
1586
+ ]
1587
+ },
1588
+ "ultraembedded_biriscv": {
1589
+ "repo": "ultraembedded/biriscv",
1590
+ "clone_url": "https://github.com/ultraembedded/biriscv.git",
1591
+ "commit_sha": "6af9c4be5a0807d368eaad5e49af52322e31d073",
1592
+ "testbenches": [
1593
+ {
1594
+ "file_path": "tb/tb_core_icarus/tb_top.v",
1595
+ "tb_type": "verilog",
1596
+ "simulator": "icarus",
1597
+ "makefile_path": "tb/tb_core_icarus/makefile",
1598
+ "top_module": "riscv_core",
1599
+ "rtl_files": [
1600
+ "src/core/biriscv_alu.v",
1601
+ "src/core/biriscv_csr.v",
1602
+ "src/core/biriscv_csr_regfile.v",
1603
+ "src/core/biriscv_decode.v",
1604
+ "src/core/biriscv_decoder.v",
1605
+ "src/core/biriscv_defs.v",
1606
+ "src/core/biriscv_divider.v",
1607
+ "src/core/biriscv_exec.v",
1608
+ "src/core/biriscv_fetch.v",
1609
+ "src/core/biriscv_frontend.v",
1610
+ "src/core/biriscv_issue.v",
1611
+ "src/core/biriscv_lsu.v",
1612
+ "src/core/biriscv_mmu.v",
1613
+ "src/core/biriscv_multiplier.v",
1614
+ "src/core/biriscv_npc.v",
1615
+ "src/core/biriscv_pipe_ctrl.v",
1616
+ "src/core/biriscv_regfile.v",
1617
+ "src/core/biriscv_trace_sim.v",
1618
+ "src/core/biriscv_xilinx_2r1w.v",
1619
+ "src/core/riscv_core.v",
1620
+ "tb/tb_core_icarus/tcm_mem.v",
1621
+ "tb/tb_core_icarus/tcm_mem_ram.v"
1622
+ ]
1623
+ }
1624
+ ]
1625
  }
1626
  }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/buggy_waveform.fst ADDED
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/diff.patch ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/examples/fifo/hdl/fifo.v
2
+ +++ b/examples/fifo/hdl/fifo.v
3
+ @@ -75,7 +75,7 @@
4
+ always @(posedge clk or negedge rst_n)
5
+ begin
6
+ if(~rst_n) fifo_overflow <=0;
7
+ - else if((overflow_set==1)&&(fifo_rd==0))
8
+ + else if((overflow_set==1)&&(fifo_rd==1))
9
+ fifo_overflow <=1;
10
+ else if(fifo_rd)
11
+ fifo_overflow <=0;
12
+ @@ -110,4 +110,4 @@
13
+ else
14
+ wptr <= wptr;
15
+ end
16
+ - endmodule
17
+ + endmodule
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_type": "inverted_condition",
3
+ "task_type": "behavioral_bug",
4
+ "files_modified": [
5
+ "examples/fifo/hdl/fifo.v"
6
+ ],
7
+ "bug_description": "Inverted 'fifo_rd==0' condition in overflow detection \u2014 fifo_overflow now sets when a read is active instead of when no read is occurring, masking overflow state during reads",
8
+ "signals_affected": [
9
+ "fifo_rd"
10
+ ],
11
+ "simulation_status": "sim_ok",
12
+ "problem_statement": "During FIFO verification, we observed that the overflow detection is behaving inversely to the expected behavior. When testing scenarios where the FIFO should detect overflow conditions while reads are inactive (fifo_rd=0 at t=2500), the fifo_overflow flag does not assert as expected according to the FIFO specification. Conversely, the overflow signal appears to trigger incorrectly when read operations are active. This inconsistency suggests the overflow detection logic is inverted relative to the read signal activity, causing legitimate overflow conditions to be masked during periods when reads are not occurring. The issue becomes particularly apparent when the FIFO is being filled (around t=2100 with fifo_we activity ceasing) and overflow conditions should be detected, but the flag behavior does not align with the protocol requirements for overflow signaling.",
13
+ "diff_summary": "6 changed lines",
14
+ "buggy_waveform": "buggy_waveform.fst",
15
+ "golden_waveform": "golden_waveform.fst"
16
+ }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/inverted_condition/sim_log.txt ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s fifo_mem -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests/../hdl/fifo.v sim_build/cocotb_iverilog_dump.v
6
+ rm -f results.xml
7
+ COCOTB_TEST_MODULES=test_fifo COCOTB_TESTCASE= COCOTB_TEST_FILTER= COCOTB_TOPLEVEL=fifo_mem TOPLEVEL_LANG=verilog \
8
+ /usr/bin/vvp -M /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp -fst
9
+ -.--ns INFO gpi ..mbed/gpi_embed.cpp:93 in _embed_init_python Using Python 3.13.0rc1 interpreter at /mnt/d/ubc-capstone-26/data-pipeline/.venv/bin/python
10
+ -.--ns INFO gpi ../gpi/GpiCommon.cpp:79 in gpi_print_registered_impl VPI registered
11
+ 0.00ns INFO cocotb Running on Icarus Verilog version 11.0 (stable)
12
+ 0.00ns WARNING gpi vpi_iterate returned NULL for type vpiInstance for object NULL
13
+ 0.00ns INFO cocotb Seeding Python random module with 1775587884
14
+ 0.00ns INFO cocotb Initialized cocotb v2.0.1 from /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb
15
+ 0.00ns INFO cocotb Running tests
16
+ 0.00ns INFO cocotb.regression running test_fifo.fifo_test (1/1)
17
+ FIFO Test
18
+ 2.20ns INFO test Data NOT read, fifo EMPTY!
19
+ 2.40ns INFO test Data written to fifo: C1
20
+ 2.60ns INFO test Data written to fifo: E8
21
+ 2.80ns INFO test Data written to fifo: 37
22
+ 3.00ns INFO test Data written to fifo: 87
23
+ 3.20ns INFO test Data written to fifo: F6
24
+ 3.40ns INFO test Data read from fifo: C1
25
+ 3.60ns INFO test Data written to fifo: 75
26
+ 3.80ns INFO test Data read from fifo: E8
27
+ 4.00ns INFO test Data read from fifo: 37
28
+ 4.20ns INFO test Data read from fifo: 87
29
+ 4.40ns INFO test Data read from fifo: F6
30
+ 4.60ns INFO test Data read from fifo: 75
31
+ 4.80ns INFO test Data written to fifo: 66
32
+ 5.00ns INFO test Data read from fifo: 66
33
+ 5.20ns INFO test Data written to fifo: 29
34
+ 5.40ns INFO test Data read from fifo: 29
35
+ 5.60ns INFO test Data NOT read, fifo EMPTY!
36
+ 5.80ns INFO test Data written to fifo: 1B
37
+ 6.00ns INFO test Data written to fifo: 22
38
+ 6.20ns INFO test Data read from fifo: 1B
39
+ 6.40ns INFO test Data read from fifo: 22
40
+ 6.60ns INFO test Data NOT read, fifo EMPTY!
41
+ 6.80ns INFO test Data written to fifo: C7
42
+ 7.00ns INFO test Data read from fifo: C7
43
+ 7.20ns INFO test Data written to fifo: 77
44
+ 7.40ns INFO test Data written to fifo: CC
45
+ 7.60ns INFO test Data read from fifo: 77
46
+ 7.80ns INFO test Data read from fifo: CC
47
+ 8.00ns INFO test Data written to fifo: 4
48
+ 8.20ns INFO test Data read from fifo: 4
49
+ 8.40ns INFO test Data written to fifo: F8
50
+ 8.60ns INFO test Data read from fifo: F8
51
+ 8.80ns INFO test Data written to fifo: E7
52
+ 9.00ns INFO test Data written to fifo: 59
53
+ 9.20ns INFO test Data read from fifo: E7
54
+ 9.40ns INFO test Data read from fifo: 59
55
+ 9.60ns INFO test Data written to fifo: 3
56
+ 9.80ns INFO test Data read from fifo: 3
57
+ 10.00ns INFO test Data written to fifo: 27
58
+ 10.20ns INFO test Data read from fifo: 27
59
+ 10.40ns INFO test Data NOT read, fifo EMPTY!
60
+ 10.60ns INFO test Data NOT read, fifo EMPTY!
61
+ 10.80ns INFO test Data NOT read, fifo EMPTY!
62
+ 11.00ns INFO test Data NOT read, fifo EMPTY!
63
+ 11.20ns INFO test Data written to fifo: 65
64
+ 11.40ns INFO test Data written to fifo: 5D
65
+ 11.60ns INFO test Data read from fifo: 65
66
+ 11.80ns INFO test Data read from fifo: 5D
67
+ 12.00ns INFO test Data written to fifo: 82
68
+ 12.20ns INFO test Data written to fifo: 10
69
+ 12.40ns INFO test Data written to fifo: 56
70
+ 12.60ns INFO test Data written to fifo: 3E
71
+ 12.80ns INFO test Data written to fifo: 95
72
+ 13.00ns INFO test Data read from fifo: 82
73
+ 13.20ns INFO test Data written to fifo: 11
74
+ 13.40ns INFO test Data written to fifo: FD
75
+ 13.60ns INFO test Data read from fifo: 10
76
+ 13.80ns INFO test Data read from fifo: 56
77
+ 14.00ns INFO test Data written to fifo: E2
78
+ 14.20ns INFO test Data written to fifo: EA
79
+ 14.40ns INFO test Data written to fifo: 2A
80
+ 14.60ns INFO test Data read from fifo: 3E
81
+ 14.80ns INFO test Data read from fifo: 95
82
+ 15.00ns INFO test Data read from fifo: 11
83
+ 15.20ns INFO test Data read from fifo: FD
84
+ 15.40ns INFO test Data written to fifo: BB
85
+ 15.60ns INFO test Data written to fifo: F7
86
+ 15.80ns INFO test Data written to fifo: 76
87
+ 16.00ns INFO test Data written to fifo: 1D
88
+ 16.20ns INFO test Data read from fifo: E2
89
+ 16.40ns INFO test Data written to fifo: 1B
90
+ 16.60ns INFO test Data written to fifo: B
91
+ 16.80ns INFO test Data read from fifo: EA
92
+ 17.00ns INFO test Data read from fifo: 2A
93
+ 17.20ns INFO test Data read from fifo: BB
94
+ 17.40ns INFO test Data read from fifo: F7
95
+ 17.60ns INFO test Data read from fifo: 76
96
+ 17.80ns INFO test Data read from fifo: 1D
97
+ 18.00ns INFO test Data written to fifo: D4
98
+ 18.20ns INFO test Data read from fifo: 1B
99
+ 18.40ns INFO test Data written to fifo: 2E
100
+ 18.60ns INFO test Data read from fifo: B
101
+ 18.80ns INFO test Data written to fifo: AF
102
+ 19.00ns INFO test Data written to fifo: EC
103
+ 19.20ns INFO test Data read from fifo: D4
104
+ 19.40ns INFO test Data read from fifo: 2E
105
+ 19.60ns INFO test Data written to fifo: E7
106
+ 19.80ns INFO test Data read from fifo: AF
107
+ 20.00ns INFO test Data read from fifo: EC
108
+ 20.20ns INFO test Data read from fifo: E7
109
+ 20.40ns INFO test Data written to fifo: E
110
+ 20.60ns INFO test Data read from fifo: E
111
+ 20.80ns INFO test Data NOT read, fifo EMPTY!
112
+ 21.00ns INFO test Data NOT read, fifo EMPTY!
113
+ 21.20ns INFO test Data NOT read, fifo EMPTY!
114
+ 21.40ns INFO test Data NOT read, fifo EMPTY!
115
+ 21.60ns INFO test Data NOT read, fifo EMPTY!
116
+ 21.80ns INFO test Data written to fifo: B2
117
+ 22.00ns INFO test Data written to fifo: 74
118
+ 22.00ns INFO test top : <cocotb_coverage.coverage.CoverItem object at 0x7cabb0d4eba0>, coverage=25, size=32
119
+ 22.00ns INFO test top.fifo_empty : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0dc4910>, coverage=2, size=2
120
+ 22.00ns INFO test BIN True : 27
121
+ 22.00ns INFO test BIN False : 73
122
+ 22.00ns INFO test top.fifo_full : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0dc47d0>, coverage=1, size=2
123
+ 22.00ns INFO test BIN True : 0
124
+ 22.00ns INFO test BIN False : 100
125
+ 22.00ns INFO test top.fifo_overflow : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0d72d70>, coverage=1, size=2
126
+ 22.00ns INFO test BIN True : 0
127
+ 22.00ns INFO test BIN False : 100
128
+ 22.00ns INFO test top.fifo_threshold : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0d72b10>, coverage=2, size=2
129
+ 22.00ns INFO test BIN True : 1
130
+ 22.00ns INFO test BIN False : 99
131
+ 22.00ns INFO test top.fifo_underflow : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0d967b0>, coverage=2, size=2
132
+ 22.00ns INFO test BIN True : 12
133
+ 22.00ns INFO test BIN False : 88
134
+ 22.00ns INFO test top.rw : <cocotb_coverage.coverage.CoverPoint object at 0x7cabb0d4ef90>, coverage=2, size=2
135
+ 22.00ns INFO test BIN True : 55
136
+ 22.00ns INFO test BIN False : 45
137
+ 22.00ns INFO test top.rwXempty : <cocotb_coverage.coverage.CoverCross object at 0x7cabb0d4ee40>, coverage=4, size=4
138
+ 22.00ns INFO test BIN (True, True) : 12
139
+ 22.00ns INFO test BIN (True, False) : 43
140
+ 22.00ns INFO test BIN (False, True) : 15
141
+ 22.00ns INFO test BIN (False, False) : 30
142
+ 22.00ns INFO test top.rwXfull : <cocotb_coverage.coverage.CoverCross object at 0x7cabb0dc4f50>, coverage=2, size=4
143
+ 22.00ns INFO test BIN (True, True) : 0
144
+ 22.00ns INFO test BIN (True, False) : 55
145
+ 22.00ns INFO test BIN (False, True) : 0
146
+ 22.00ns INFO test BIN (False, False) : 45
147
+ 22.00ns INFO test top.rwXoverflow : <cocotb_coverage.coverage.CoverCross object at 0x7cabb0d73490>, coverage=2, size=4
148
+ 22.00ns INFO test BIN (True, True) : 0
149
+ 22.00ns INFO test BIN (True, False) : 55
150
+ 22.00ns INFO test BIN (False, True) : 0
151
+ 22.00ns INFO test BIN (False, False) : 45
152
+ 22.00ns INFO test top.rwXthreshold : <cocotb_coverage.coverage.CoverCross object at 0x7cabb0dc5090>, coverage=3, size=4
153
+ 22.00ns INFO test BIN (True, True) : 1
154
+ 22.00ns INFO test BIN (True, False) : 54
155
+ 22.00ns INFO test BIN (False, True) : 0
156
+ 22.00ns INFO test BIN (False, False) : 45
157
+ 22.00ns INFO test top.rwXunderflow : <cocotb_coverage.coverage.CoverCross object at 0x7cabb0d72ea0>, coverage=4, size=4
158
+ 22.00ns INFO test BIN (True, True) : 7
159
+ 22.00ns INFO test BIN (True, False) : 48
160
+ 22.00ns INFO test BIN (False, True) : 5
161
+ 22.00ns INFO test BIN (False, False) : 40
162
+ 22.00ns INFO cocotb.regression test_fifo.fifo_test passed
163
+ 22.00ns INFO cocotb.regression **************************************************************************************
164
+ ** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
165
+ **************************************************************************************
166
+ ** test_fifo.fifo_test PASS 22.00 0.24 90.36 **
167
+ **************************************************************************************
168
+ ** TESTS=1 PASS=1 FAIL=0 SKIP=0 22.00 0.25 89.64 **
169
+ **************************************************************************************
170
+ FST info: dumpfile sim_build/fifo_mem.fst opened for output.
171
+ make[1]: Leaving directory '/tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests'
172
+
173
+ --- STDERR ---
174
+ /tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests/../hdl/fifo.v:46: warning: extra digits given for sized binary constant.
175
+ /tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests/../hdl/fifo.v:48: warning: extra digits given for sized binary constant.
176
+ /tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests/../hdl/fifo.v:107: warning: extra digits given for sized binary constant.
177
+ /tmp/sim4_simsh_rwlbuymr/source/examples/fifo/tests/../hdl/fifo.v:109: warning: extra digits given for sized binary constant.
178
+ /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:66: Using MODULE is deprecated, please use COCOTB_TEST_MODULES instead.
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/buggy_waveform.fst ADDED
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/diff.patch ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/examples/fifo/hdl/fifo.v
2
+ +++ b/examples/fifo/hdl/fifo.v
3
+ @@ -27,8 +27,7 @@
4
+ wire[7:0] data_out;
5
+ always @(posedge clk)
6
+ begin
7
+ - if(fifo_we)
8
+ - data_out2[wptr[3:0]] <=data_in ;
9
+ + data_out2[wptr[3:0]] <=data_in ;
10
+ end
11
+ assign data_out = data_out2[rptr[3:0]];
12
+ endmodule
13
+ @@ -110,4 +109,4 @@
14
+ else
15
+ wptr <= wptr;
16
+ end
17
+ - endmodule
18
+ + endmodule
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_type": "missing_enable",
3
+ "task_type": "behavioral_bug",
4
+ "files_modified": [
5
+ "examples/fifo/hdl/fifo.v"
6
+ ],
7
+ "bug_description": "Removed 'fifo_we' enable condition from memory_array sequential block \u2014 data_out2[wptr[3:0]] now updates on every clock edge instead of only when fifo_we is high",
8
+ "signals_affected": [
9
+ "data_out2"
10
+ ],
11
+ "simulation_status": "sim_ok",
12
+ "problem_statement": "The FIFO memory is being corrupted during read operations. When fifo_we is low (not asserted), the data memory should remain stable, but data_out2 is unexpectedly updating on every clock edge regardless of the write enable signal. At t=2100, with fifo_we=0, the output data continues to change when no write should be occurring. This incorrect behavior cascades to the read path\u2014at t=2300 when fifo_rd=1, the read data is corrupted because the memory contents were overwritten when they should have been protected by the fifo_we gating. The fifo_full flag is also behaving unexpectedly, diverging at t=1000, suggesting the write pointer is advancing uncontrollably. The FIFO write and read protocols are not properly isolated, causing data integrity failures whenever reads and uncontrolled writes overlap.",
13
+ "diff_summary": "7 changed lines",
14
+ "buggy_waveform": "buggy_waveform.fst",
15
+ "golden_waveform": "golden_waveform.fst"
16
+ }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_enable/sim_log.txt ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s fifo_mem -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests/../hdl/fifo.v sim_build/cocotb_iverilog_dump.v
6
+ rm -f results.xml
7
+ COCOTB_TEST_MODULES=test_fifo COCOTB_TESTCASE= COCOTB_TEST_FILTER= COCOTB_TOPLEVEL=fifo_mem TOPLEVEL_LANG=verilog \
8
+ /usr/bin/vvp -M /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp -fst
9
+ -.--ns INFO gpi ..mbed/gpi_embed.cpp:93 in _embed_init_python Using Python 3.13.0rc1 interpreter at /mnt/d/ubc-capstone-26/data-pipeline/.venv/bin/python
10
+ -.--ns INFO gpi ../gpi/GpiCommon.cpp:79 in gpi_print_registered_impl VPI registered
11
+ 0.00ns INFO cocotb Running on Icarus Verilog version 11.0 (stable)
12
+ 0.00ns WARNING gpi vpi_iterate returned NULL for type vpiInstance for object NULL
13
+ 0.00ns INFO cocotb Seeding Python random module with 1775588215
14
+ 0.00ns INFO cocotb Initialized cocotb v2.0.1 from /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb
15
+ 0.00ns INFO cocotb Running tests
16
+ 0.00ns INFO cocotb.regression running test_fifo.fifo_test (1/1)
17
+ FIFO Test
18
+ 2.20ns INFO test Data written to fifo: 10
19
+ 2.40ns INFO test Data read from fifo: 10
20
+ 2.60ns INFO test Data NOT read, fifo EMPTY!
21
+ 2.80ns INFO test Data NOT read, fifo EMPTY!
22
+ 3.00ns INFO test Data NOT read, fifo EMPTY!
23
+ 3.20ns INFO test Data NOT read, fifo EMPTY!
24
+ 3.40ns INFO test Data written to fifo: CC
25
+ 3.60ns INFO test Data written to fifo: 40
26
+ 3.80ns INFO test Data written to fifo: FC
27
+ 4.00ns INFO test Data read from fifo: CC
28
+ 4.20ns INFO test Data written to fifo: 60
29
+ 4.40ns INFO test Data written to fifo: 56
30
+ 4.60ns INFO test Data written to fifo: 9C
31
+ 4.80ns INFO test Data written to fifo: B6
32
+ 5.00ns INFO test Data read from fifo: 40
33
+ 5.20ns INFO test Data written to fifo: 8E
34
+ 5.40ns INFO test Data written to fifo: D4
35
+ 5.60ns INFO test Data read from fifo: FC
36
+ 5.80ns INFO test Data written to fifo: B
37
+ 6.00ns INFO test Data written to fifo: 5C
38
+ 6.20ns INFO test Data written to fifo: 98
39
+ 6.40ns INFO test Data written to fifo: E9
40
+ 6.60ns INFO test Data written to fifo: 9E
41
+ 6.80ns INFO test Data read from fifo: 60
42
+ 7.00ns INFO test Data written to fifo: 6E
43
+ 7.20ns INFO test Data written to fifo: 76
44
+ 7.40ns INFO test Data written to fifo: 29
45
+ 7.60ns INFO test Data read from fifo: 56
46
+ 7.80ns INFO test Data written to fifo: 1C
47
+ 8.00ns INFO test Data written to fifo: 5C
48
+ 8.20ns INFO test Data written to fifo: ED
49
+ 8.40ns INFO test Data written to fifo: 40
50
+ 8.60ns INFO test Data NOT written, fifo FULL!
51
+ 8.80ns INFO test Data NOT written, fifo FULL!
52
+ 9.00ns INFO test Data read from fifo: 37
53
+ 9.20ns INFO test Data read from fifo: B6
54
+ 9.40ns INFO test Data read from fifo: 8E
55
+ 9.60ns INFO test Data read from fifo: D4
56
+ 9.80ns INFO test Data read from fifo: B
57
+ 10.00ns INFO test Data read from fifo: 5C
58
+ 10.20ns INFO test Data written to fifo: 79
59
+ 10.40ns INFO test Data written to fifo: A
60
+ 10.60ns INFO test Data read from fifo: 98
61
+ 10.80ns INFO test Data read from fifo: E9
62
+ 11.00ns INFO test Data written to fifo: 37
63
+ 11.20ns INFO test Data read from fifo: 9E
64
+ 11.40ns INFO test Data written to fifo: 0
65
+ 11.60ns INFO test Data written to fifo: B
66
+ 11.80ns INFO test Data read from fifo: 6E
67
+ 12.00ns INFO test Data written to fifo: 40
68
+ 12.20ns INFO test Data written to fifo: 7F
69
+ 12.40ns INFO test Data read from fifo: 76
70
+ 12.60ns INFO test Data read from fifo: 29
71
+ 12.80ns INFO test Data read from fifo: 1C
72
+ 13.00ns INFO test Data written to fifo: E8
73
+ 13.20ns INFO test Data read from fifo: 5C
74
+ 13.40ns INFO test Data read from fifo: ED
75
+ 13.60ns INFO test Data read from fifo: 40
76
+ 13.80ns INFO test Data written to fifo: 5C
77
+ 14.00ns INFO test Data written to fifo: AA
78
+ 14.20ns INFO test Data written to fifo: 1A
79
+ 14.40ns INFO test Data written to fifo: 1F
80
+ 14.60ns INFO test Data read from fifo: 79
81
+ 14.80ns INFO test Data read from fifo: A
82
+ 15.00ns INFO test Data written to fifo: C5
83
+ 15.20ns INFO test Data read from fifo: 37
84
+ 15.40ns INFO test Data written to fifo: 5A
85
+ 15.60ns INFO test Data written to fifo: 8
86
+ 15.80ns INFO test Data written to fifo: 6A
87
+ 16.00ns INFO test Data read from fifo: 0
88
+ 16.20ns INFO test Data written to fifo: 74
89
+ 16.40ns INFO test Data read from fifo: B
90
+ 16.60ns INFO test Data written to fifo: FD
91
+ 16.80ns INFO test Data written to fifo: F9
92
+ 17.00ns INFO test Data written to fifo: C6
93
+ 17.20ns INFO test Data read from fifo: 40
94
+ 17.40ns INFO test Data read from fifo: 7F
95
+ 17.60ns INFO test Data written to fifo: 42
96
+ 17.80ns INFO test Data written to fifo: B9
97
+ 18.00ns INFO test Data read from fifo: E8
98
+ 18.20ns INFO test Data written to fifo: 98
99
+ 18.40ns INFO test Data written to fifo: B4
100
+ 18.60ns INFO test Data read from fifo: 5C
101
+ 18.80ns INFO test Data read from fifo: AA
102
+ 19.00ns INFO test Data written to fifo: 1F
103
+ 19.20ns INFO test Data read from fifo: 1A
104
+ 19.40ns INFO test Data written to fifo: 9C
105
+ 19.60ns INFO test Data written to fifo: 65
106
+ 19.80ns INFO test Data NOT written, fifo FULL!
107
+ 20.00ns INFO test Data NOT written, fifo FULL!
108
+ 20.20ns INFO test Data NOT written, fifo FULL!
109
+ 20.40ns INFO test Data NOT written, fifo FULL!
110
+ 20.60ns INFO test Data NOT written, fifo FULL!
111
+ 20.80ns INFO test Data read from fifo: 36
112
+ 21.00ns INFO test Data read from fifo: C5
113
+ 21.20ns INFO test Data read from fifo: 5A
114
+ 21.40ns INFO test Data written to fifo: 62
115
+ 21.60ns INFO test Data read from fifo: 8
116
+ 21.80ns INFO test Data written to fifo: B
117
+ 22.00ns INFO test Data written to fifo: 38
118
+ 22.00ns INFO test top : <cocotb_coverage.coverage.CoverItem object at 0x70bcdca4eba0>, coverage=32, size=32
119
+ 22.00ns INFO test top.fifo_empty : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdcac8910>, coverage=2, size=2
120
+ 22.00ns INFO test BIN True : 6
121
+ 22.00ns INFO test BIN False : 94
122
+ 22.00ns INFO test top.fifo_full : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdcac87d0>, coverage=2, size=2
123
+ 22.00ns INFO test BIN True : 10
124
+ 22.00ns INFO test BIN False : 90
125
+ 22.00ns INFO test top.fifo_overflow : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdca76d70>, coverage=2, size=2
126
+ 22.00ns INFO test BIN True : 7
127
+ 22.00ns INFO test BIN False : 93
128
+ 22.00ns INFO test top.fifo_threshold : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdca76b10>, coverage=2, size=2
129
+ 22.00ns INFO test BIN True : 80
130
+ 22.00ns INFO test BIN False : 20
131
+ 22.00ns INFO test top.fifo_underflow : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdca9a7b0>, coverage=2, size=2
132
+ 22.00ns INFO test BIN True : 4
133
+ 22.00ns INFO test BIN False : 96
134
+ 22.00ns INFO test top.rw : <cocotb_coverage.coverage.CoverPoint object at 0x70bcdca4ef90>, coverage=2, size=2
135
+ 22.00ns INFO test BIN True : 41
136
+ 22.00ns INFO test BIN False : 59
137
+ 22.00ns INFO test top.rwXempty : <cocotb_coverage.coverage.CoverCross object at 0x70bcdca4ee40>, coverage=4, size=4
138
+ 22.00ns INFO test BIN (True, True) : 4
139
+ 22.00ns INFO test BIN (True, False) : 37
140
+ 22.00ns INFO test BIN (False, True) : 2
141
+ 22.00ns INFO test BIN (False, False) : 57
142
+ 22.00ns INFO test top.rwXfull : <cocotb_coverage.coverage.CoverCross object at 0x70bcdcac8f50>, coverage=4, size=4
143
+ 22.00ns INFO test BIN (True, True) : 3
144
+ 22.00ns INFO test BIN (True, False) : 38
145
+ 22.00ns INFO test BIN (False, True) : 7
146
+ 22.00ns INFO test BIN (False, False) : 52
147
+ 22.00ns INFO test top.rwXoverflow : <cocotb_coverage.coverage.CoverCross object at 0x70bcdca77490>, coverage=4, size=4
148
+ 22.00ns INFO test BIN (True, True) : 2
149
+ 22.00ns INFO test BIN (True, False) : 39
150
+ 22.00ns INFO test BIN (False, True) : 5
151
+ 22.00ns INFO test BIN (False, False) : 54
152
+ 22.00ns INFO test top.rwXthreshold : <cocotb_coverage.coverage.CoverCross object at 0x70bcdcac9090>, coverage=4, size=4
153
+ 22.00ns INFO test BIN (True, True) : 33
154
+ 22.00ns INFO test BIN (True, False) : 8
155
+ 22.00ns INFO test BIN (False, True) : 47
156
+ 22.00ns INFO test BIN (False, False) : 12
157
+ 22.00ns INFO test top.rwXunderflow : <cocotb_coverage.coverage.CoverCross object at 0x70bcdca76ea0>, coverage=4, size=4
158
+ 22.00ns INFO test BIN (True, True) : 3
159
+ 22.00ns INFO test BIN (True, False) : 38
160
+ 22.00ns INFO test BIN (False, True) : 1
161
+ 22.00ns INFO test BIN (False, False) : 58
162
+ 22.00ns INFO cocotb.regression test_fifo.fifo_test passed
163
+ 22.00ns INFO cocotb.regression **************************************************************************************
164
+ ** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
165
+ **************************************************************************************
166
+ ** test_fifo.fifo_test PASS 22.00 0.23 96.43 **
167
+ **************************************************************************************
168
+ ** TESTS=1 PASS=1 FAIL=0 SKIP=0 22.00 0.23 95.99 **
169
+ **************************************************************************************
170
+ FST info: dumpfile sim_build/fifo_mem.fst opened for output.
171
+ make[1]: Leaving directory '/tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests'
172
+
173
+ --- STDERR ---
174
+ /tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests/../hdl/fifo.v:45: warning: extra digits given for sized binary constant.
175
+ /tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests/../hdl/fifo.v:47: warning: extra digits given for sized binary constant.
176
+ /tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests/../hdl/fifo.v:106: warning: extra digits given for sized binary constant.
177
+ /tmp/sim4_simsh_2yqv8q4j/source/examples/fifo/tests/../hdl/fifo.v:108: warning: extra digits given for sized binary constant.
178
+ /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:66: Using MODULE is deprecated, please use COCOTB_TEST_MODULES instead.
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/buggy_waveform.fst ADDED
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/diff.patch ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/examples/fifo/hdl/fifo.v
2
+ +++ b/examples/fifo/hdl/fifo.v
3
+ @@ -72,6 +72,7 @@
4
+ fifo_empty = (~fbit_comp) & pointer_equal;
5
+ fifo_threshold = (pointer_result[4]||pointer_result[3]) ? 1:0;
6
+ end
7
+ + initial fifo_overflow = 1'bx;
8
+ always @(posedge clk or negedge rst_n)
9
+ begin
10
+ if(~rst_n) fifo_overflow <=0;
11
+ @@ -82,10 +83,10 @@
12
+ else
13
+ fifo_overflow <= fifo_overflow;
14
+ end
15
+ + initial fifo_underflow = 1'bx;
16
+ always @(posedge clk or negedge rst_n)
17
+ begin
18
+ - if(~rst_n) fifo_underflow <=0;
19
+ - else if((underflow_set==1)&&(fifo_we==0))
20
+ + if((underflow_set==1)&&(fifo_we==0))
21
+ fifo_underflow <=1;
22
+ else if(fifo_we)
23
+ fifo_underflow <=0;
24
+ @@ -110,4 +111,4 @@
25
+ else
26
+ wptr <= wptr;
27
+ end
28
+ - endmodule
29
+ + endmodule
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_type": "missing_reset",
3
+ "task_type": "behavioral_bug",
4
+ "files_modified": [
5
+ "examples/fifo/hdl/fifo.v"
6
+ ],
7
+ "bug_description": "Removed reset logic for 'fifo_underflow' register in status_signal module; the reset branch for fifo_underflow is removed entirely and an initial block sets it to x to make the missing reset observable in simulation",
8
+ "signals_affected": [
9
+ "fifo_underflow"
10
+ ],
11
+ "simulation_status": "sim_ok",
12
+ "problem_statement": "After reset de-assertion, the fifo_underflow status signal is not properly cleared to a known state, remaining in an undefined condition. This causes downstream FIFO control logic to malfunction: at t=2100ns, fifo_we fails to respond correctly to write requests and remains stuck at 0, and at t=2300ns, fifo_rd incorrectly asserts to 1 when the FIFO should not be readable. The undefined fifo_underflow state is propagating through the control path, preventing reliable FIFO operation and making it impossible to verify underflow detection functionality. Initialization of the status signal module appears incomplete, as the underflow condition is not being reset along with other module state during the power-up sequence.",
13
+ "diff_summary": "9 changed lines",
14
+ "buggy_waveform": "buggy_waveform.fst",
15
+ "golden_waveform": "golden_waveform.fst"
16
+ }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/missing_reset/sim_log.txt ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s fifo_mem -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests/../hdl/fifo.v sim_build/cocotb_iverilog_dump.v
6
+ rm -f results.xml
7
+ COCOTB_TEST_MODULES=test_fifo COCOTB_TESTCASE= COCOTB_TEST_FILTER= COCOTB_TOPLEVEL=fifo_mem TOPLEVEL_LANG=verilog \
8
+ /usr/bin/vvp -M /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp -fst
9
+ -.--ns INFO gpi ..mbed/gpi_embed.cpp:93 in _embed_init_python Using Python 3.13.0rc1 interpreter at /mnt/d/ubc-capstone-26/data-pipeline/.venv/bin/python
10
+ -.--ns INFO gpi ../gpi/GpiCommon.cpp:79 in gpi_print_registered_impl VPI registered
11
+ 0.00ns INFO cocotb Running on Icarus Verilog version 11.0 (stable)
12
+ 0.00ns WARNING gpi vpi_iterate returned NULL for type vpiInstance for object NULL
13
+ 0.00ns INFO cocotb Seeding Python random module with 1775588272
14
+ 0.00ns INFO cocotb Initialized cocotb v2.0.1 from /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb
15
+ 0.00ns INFO cocotb Running tests
16
+ 0.00ns INFO cocotb.regression running test_fifo.fifo_test (1/1)
17
+ FIFO Test
18
+ 2.20ns INFO test Data written to fifo: 35
19
+ 2.40ns INFO test Data read from fifo: 35
20
+ 2.60ns INFO test Data NOT read, fifo EMPTY!
21
+ 2.80ns INFO test Data NOT read, fifo EMPTY!
22
+ 3.00ns INFO test Data NOT read, fifo EMPTY!
23
+ 3.20ns INFO test Data written to fifo: 48
24
+ 3.40ns INFO test Data read from fifo: 48
25
+ 3.60ns INFO test Data NOT read, fifo EMPTY!
26
+ 3.80ns INFO test Data NOT read, fifo EMPTY!
27
+ 4.00ns INFO test Data NOT read, fifo EMPTY!
28
+ 4.20ns INFO test Data written to fifo: 19
29
+ 4.40ns INFO test Data read from fifo: 19
30
+ 4.60ns INFO test Data written to fifo: 4C
31
+ 4.80ns INFO test Data read from fifo: 4C
32
+ 5.00ns INFO test Data written to fifo: D8
33
+ 5.20ns INFO test Data written to fifo: A5
34
+ 5.40ns INFO test Data written to fifo: 22
35
+ 5.60ns INFO test Data read from fifo: D8
36
+ 5.80ns INFO test Data written to fifo: 8
37
+ 6.00ns INFO test Data read from fifo: A5
38
+ 6.20ns INFO test Data read from fifo: 22
39
+ 6.40ns INFO test Data read from fifo: 8
40
+ 6.60ns INFO test Data NOT read, fifo EMPTY!
41
+ 6.80ns INFO test Data NOT read, fifo EMPTY!
42
+ 7.00ns INFO test Data written to fifo: CB
43
+ 7.20ns INFO test Data read from fifo: CB
44
+ 7.40ns INFO test Data NOT read, fifo EMPTY!
45
+ 7.60ns INFO test Data NOT read, fifo EMPTY!
46
+ 7.80ns INFO test Data NOT read, fifo EMPTY!
47
+ 8.00ns INFO test Data written to fifo: 59
48
+ 8.20ns INFO test Data read from fifo: 59
49
+ 8.40ns INFO test Data written to fifo: CA
50
+ 8.60ns INFO test Data read from fifo: CA
51
+ 8.80ns INFO test Data written to fifo: 93
52
+ 9.00ns INFO test Data written to fifo: 3
53
+ 9.20ns INFO test Data read from fifo: 93
54
+ 9.40ns INFO test Data read from fifo: 3
55
+ 9.60ns INFO test Data NOT read, fifo EMPTY!
56
+ 9.80ns INFO test Data written to fifo: F5
57
+ 10.00ns INFO test Data written to fifo: 2C
58
+ 10.20ns INFO test Data read from fifo: F5
59
+ 10.40ns INFO test Data written to fifo: 9C
60
+ 10.60ns INFO test Data read from fifo: 2C
61
+ 10.80ns INFO test Data written to fifo: 5B
62
+ 11.00ns INFO test Data read from fifo: 9C
63
+ 11.20ns INFO test Data written to fifo: 8E
64
+ 11.40ns INFO test Data read from fifo: 5B
65
+ 11.60ns INFO test Data written to fifo: BE
66
+ 11.80ns INFO test Data read from fifo: 8E
67
+ 12.00ns INFO test Data written to fifo: FF
68
+ 12.20ns INFO test Data written to fifo: 1C
69
+ 12.40ns INFO test Data written to fifo: 6F
70
+ 12.60ns INFO test Data written to fifo: AC
71
+ 12.80ns INFO test Data written to fifo: D0
72
+ 13.00ns INFO test Data written to fifo: 13
73
+ 13.20ns INFO test Data written to fifo: 51
74
+ 13.40ns INFO test Data read from fifo: BE
75
+ 13.60ns INFO test Data read from fifo: FF
76
+ 13.80ns INFO test Data read from fifo: 1C
77
+ 14.00ns INFO test Data read from fifo: 6F
78
+ 14.20ns INFO test Data written to fifo: BE
79
+ 14.40ns INFO test Data written to fifo: B7
80
+ 14.60ns INFO test Data written to fifo: 28
81
+ 14.80ns INFO test Data written to fifo: 53
82
+ 15.00ns INFO test Data written to fifo: A0
83
+ 15.20ns INFO test Data read from fifo: AC
84
+ 15.40ns INFO test Data read from fifo: D0
85
+ 15.60ns INFO test Data written to fifo: 14
86
+ 15.80ns INFO test Data read from fifo: 13
87
+ 16.00ns INFO test Data written to fifo: 47
88
+ 16.20ns INFO test Data read from fifo: 51
89
+ 16.40ns INFO test Data written to fifo: 6C
90
+ 16.60ns INFO test Data read from fifo: BE
91
+ 16.80ns INFO test Data written to fifo: 91
92
+ 17.00ns INFO test Data written to fifo: C9
93
+ 17.20ns INFO test Data read from fifo: B7
94
+ 17.40ns INFO test Data read from fifo: 28
95
+ 17.60ns INFO test Data read from fifo: 53
96
+ 17.80ns INFO test Data written to fifo: 65
97
+ 18.00ns INFO test Data written to fifo: 2D
98
+ 18.20ns INFO test Data written to fifo: C8
99
+ 18.40ns INFO test Data written to fifo: 96
100
+ 18.60ns INFO test Data read from fifo: A0
101
+ 18.80ns INFO test Data read from fifo: 14
102
+ 19.00ns INFO test Data written to fifo: 52
103
+ 19.20ns INFO test Data written to fifo: 90
104
+ 19.40ns INFO test Data written to fifo: 1A
105
+ 19.60ns INFO test Data read from fifo: 47
106
+ 19.80ns INFO test Data written to fifo: 8E
107
+ 20.00ns INFO test Data read from fifo: 6C
108
+ 20.20ns INFO test Data read from fifo: 91
109
+ 20.40ns INFO test Data written to fifo: 17
110
+ 20.60ns INFO test Data read from fifo: C9
111
+ 20.80ns INFO test Data read from fifo: 65
112
+ 21.00ns INFO test Data written to fifo: C3
113
+ 21.20ns INFO test Data written to fifo: 55
114
+ 21.40ns INFO test Data written to fifo: 24
115
+ 21.60ns INFO test Data read from fifo: 2D
116
+ 21.80ns INFO test Data read from fifo: C8
117
+ 22.00ns INFO test Data written to fifo: 8F
118
+ 22.00ns INFO test top : <cocotb_coverage.coverage.CoverItem object at 0x73f5c82faba0>, coverage=26, size=32
119
+ 22.00ns INFO test top.fifo_empty : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c8370910>, coverage=2, size=2
120
+ 22.00ns INFO test BIN True : 22
121
+ 22.00ns INFO test BIN False : 78
122
+ 22.00ns INFO test top.fifo_full : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c83707d0>, coverage=1, size=2
123
+ 22.00ns INFO test BIN True : 0
124
+ 22.00ns INFO test BIN False : 100
125
+ 22.00ns INFO test top.fifo_overflow : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c831ed70>, coverage=1, size=2
126
+ 22.00ns INFO test BIN True : 0
127
+ 22.00ns INFO test BIN False : 100
128
+ 22.00ns INFO test top.fifo_threshold : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c831eb10>, coverage=2, size=2
129
+ 22.00ns INFO test BIN True : 30
130
+ 22.00ns INFO test BIN False : 70
131
+ 22.00ns INFO test top.fifo_underflow : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c833a7b0>, coverage=2, size=2
132
+ 22.00ns INFO test BIN True : 12
133
+ 22.00ns INFO test BIN False : 88
134
+ 22.00ns INFO test top.rw : <cocotb_coverage.coverage.CoverPoint object at 0x73f5c82faf90>, coverage=2, size=2
135
+ 22.00ns INFO test BIN True : 51
136
+ 22.00ns INFO test BIN False : 49
137
+ 22.00ns INFO test top.rwXempty : <cocotb_coverage.coverage.CoverCross object at 0x73f5c82fae40>, coverage=4, size=4
138
+ 22.00ns INFO test BIN (True, True) : 12
139
+ 22.00ns INFO test BIN (True, False) : 39
140
+ 22.00ns INFO test BIN (False, True) : 10
141
+ 22.00ns INFO test BIN (False, False) : 39
142
+ 22.00ns INFO test top.rwXfull : <cocotb_coverage.coverage.CoverCross object at 0x73f5c8370f50>, coverage=2, size=4
143
+ 22.00ns INFO test BIN (True, True) : 0
144
+ 22.00ns INFO test BIN (True, False) : 51
145
+ 22.00ns INFO test BIN (False, True) : 0
146
+ 22.00ns INFO test BIN (False, False) : 49
147
+ 22.00ns INFO test top.rwXoverflow : <cocotb_coverage.coverage.CoverCross object at 0x73f5c831f490>, coverage=2, size=4
148
+ 22.00ns INFO test BIN (True, True) : 0
149
+ 22.00ns INFO test BIN (True, False) : 51
150
+ 22.00ns INFO test BIN (False, True) : 0
151
+ 22.00ns INFO test BIN (False, False) : 49
152
+ 22.00ns INFO test top.rwXthreshold : <cocotb_coverage.coverage.CoverCross object at 0x73f5c8371090>, coverage=4, size=4
153
+ 22.00ns INFO test BIN (True, True) : 17
154
+ 22.00ns INFO test BIN (True, False) : 34
155
+ 22.00ns INFO test BIN (False, True) : 13
156
+ 22.00ns INFO test BIN (False, False) : 36
157
+ 22.00ns INFO test top.rwXunderflow : <cocotb_coverage.coverage.CoverCross object at 0x73f5c831eea0>, coverage=4, size=4
158
+ 22.00ns INFO test BIN (True, True) : 7
159
+ 22.00ns INFO test BIN (True, False) : 44
160
+ 22.00ns INFO test BIN (False, True) : 5
161
+ 22.00ns INFO test BIN (False, False) : 44
162
+ 22.00ns INFO cocotb.regression test_fifo.fifo_test passed
163
+ 22.00ns INFO cocotb.regression **************************************************************************************
164
+ ** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
165
+ **************************************************************************************
166
+ ** test_fifo.fifo_test PASS 22.00 0.17 128.80 **
167
+ **************************************************************************************
168
+ ** TESTS=1 PASS=1 FAIL=0 SKIP=0 22.00 0.17 128.13 **
169
+ **************************************************************************************
170
+ FST info: dumpfile sim_build/fifo_mem.fst opened for output.
171
+ make[1]: Leaving directory '/tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests'
172
+
173
+ --- STDERR ---
174
+ /tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests/../hdl/fifo.v:46: warning: extra digits given for sized binary constant.
175
+ /tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests/../hdl/fifo.v:48: warning: extra digits given for sized binary constant.
176
+ /tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests/../hdl/fifo.v:108: warning: extra digits given for sized binary constant.
177
+ /tmp/sim4_simsh__rjzbs3b/source/examples/fifo/tests/../hdl/fifo.v:110: warning: extra digits given for sized binary constant.
178
+ /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:66: Using MODULE is deprecated, please use COCOTB_TEST_MODULES instead.
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/buggy_waveform.fst ADDED
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/diff.patch ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/examples/fifo/hdl/fifo.v
2
+ +++ b/examples/fifo/hdl/fifo.v
3
+ @@ -63,7 +63,7 @@
4
+ reg fifo_full, fifo_empty, fifo_threshold, fifo_overflow, fifo_underflow;
5
+ assign fbit_comp = wptr[4] ^ rptr[4];
6
+ assign pointer_equal = (wptr[3:0] - rptr[3:0]) ? 0:1;
7
+ - assign pointer_result = wptr[4:0] - rptr[4:0];
8
+ + assign pointer_result = wptr[4:0] + rptr[4:0];
9
+ assign overflow_set = fifo_full & wr;
10
+ assign underflow_set = fifo_empty&rd;
11
+ always @(*)
12
+ @@ -110,4 +110,4 @@
13
+ else
14
+ wptr <= wptr;
15
+ end
16
+ - endmodule
17
+ + endmodule
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/metadata.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_type": "operator_typo",
3
+ "task_type": "behavioral_bug",
4
+ "files_modified": [
5
+ "examples/fifo/hdl/fifo.v"
6
+ ],
7
+ "bug_description": "Changed '-' to '+' in pointer_result computation \u2014 wptr and rptr are added instead of subtracted, causing fifo_threshold to be incorrectly asserted",
8
+ "signals_affected": [
9
+ "pointer_result",
10
+ "fifo_threshold"
11
+ ],
12
+ "simulation_status": "sim_ok",
13
+ "problem_statement": "During verification, the FIFO threshold control logic is not functioning correctly. At t=2100, fifo_we unexpectedly remains deasserted (0) when a write should be allowed based on FIFO occupancy, and at t=2500, fifo_rd similarly remains deasserted (0) when read data should be available. The threshold signal is being incorrectly asserted regardless of the actual relationship between the write and read pointer positions. This prevents the FIFO from correctly signaling when space is available for writes or when data is available for reads, blocking normal operation. The issue appears to originate in the pointer_result computation that calculates FIFO fill level to determine the threshold assertion.",
14
+ "diff_summary": "6 changed lines",
15
+ "buggy_waveform": "buggy_waveform.fst",
16
+ "golden_waveform": "golden_waveform.fst"
17
+ }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/operator_typo/sim_log.txt ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s fifo_mem -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests/../hdl/fifo.v sim_build/cocotb_iverilog_dump.v
6
+ rm -f results.xml
7
+ COCOTB_TEST_MODULES=test_fifo COCOTB_TESTCASE= COCOTB_TEST_FILTER= COCOTB_TOPLEVEL=fifo_mem TOPLEVEL_LANG=verilog \
8
+ /usr/bin/vvp -M /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp -fst
9
+ -.--ns INFO gpi ..mbed/gpi_embed.cpp:93 in _embed_init_python Using Python 3.13.0rc1 interpreter at /mnt/d/ubc-capstone-26/data-pipeline/.venv/bin/python
10
+ -.--ns INFO gpi ../gpi/GpiCommon.cpp:79 in gpi_print_registered_impl VPI registered
11
+ 0.00ns INFO cocotb Running on Icarus Verilog version 11.0 (stable)
12
+ 0.00ns WARNING gpi vpi_iterate returned NULL for type vpiInstance for object NULL
13
+ 0.00ns INFO cocotb Seeding Python random module with 1775588361
14
+ 0.00ns INFO cocotb Initialized cocotb v2.0.1 from /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb
15
+ 0.00ns INFO cocotb Running tests
16
+ 0.00ns INFO cocotb.regression running test_fifo.fifo_test (1/1)
17
+ FIFO Test
18
+ 2.20ns INFO test Data NOT read, fifo EMPTY!
19
+ 2.40ns INFO test Data NOT read, fifo EMPTY!
20
+ 2.60ns INFO test Data NOT read, fifo EMPTY!
21
+ 2.80ns INFO test Data written to fifo: 8D
22
+ 3.00ns INFO test Data written to fifo: 3
23
+ 3.20ns INFO test Data read from fifo: 8D
24
+ 3.40ns INFO test Data read from fifo: 3
25
+ 3.60ns INFO test Data NOT read, fifo EMPTY!
26
+ 3.80ns INFO test Data written to fifo: 82
27
+ 4.00ns INFO test Data written to fifo: 18
28
+ 4.20ns INFO test Data read from fifo: 82
29
+ 4.40ns INFO test Data written to fifo: 69
30
+ 4.60ns INFO test Data read from fifo: 18
31
+ 4.80ns INFO test Data written to fifo: 3
32
+ 5.00ns INFO test Data read from fifo: 69
33
+ 5.20ns INFO test Data read from fifo: 3
34
+ 5.40ns INFO test Data written to fifo: 9C
35
+ 5.60ns INFO test Data written to fifo: E1
36
+ 5.80ns INFO test Data read from fifo: 9C
37
+ 6.00ns INFO test Data written to fifo: 38
38
+ 6.20ns INFO test Data read from fifo: E1
39
+ 6.40ns INFO test Data written to fifo: 4E
40
+ 6.60ns INFO test Data read from fifo: 38
41
+ 6.80ns INFO test Data read from fifo: 4E
42
+ 7.00ns INFO test Data NOT read, fifo EMPTY!
43
+ 7.20ns INFO test Data written to fifo: F3
44
+ 7.40ns INFO test Data read from fifo: F3
45
+ 7.60ns INFO test Data NOT read, fifo EMPTY!
46
+ 7.80ns INFO test Data NOT read, fifo EMPTY!
47
+ 8.00ns INFO test Data NOT read, fifo EMPTY!
48
+ 8.20ns INFO test Data written to fifo: 38
49
+ 8.40ns INFO test Data written to fifo: 57
50
+ 8.60ns INFO test Data read from fifo: 38
51
+ 8.80ns INFO test Data written to fifo: AA
52
+ 9.00ns INFO test Data written to fifo: 83
53
+ 9.20ns INFO test Data read from fifo: 57
54
+ 9.40ns INFO test Data written to fifo: 2C
55
+ 9.60ns INFO test Data read from fifo: AA
56
+ 9.80ns INFO test Data read from fifo: 83
57
+ 10.00ns INFO test Data written to fifo: 47
58
+ 10.20ns INFO test Data written to fifo: 4B
59
+ 10.40ns INFO test Data written to fifo: 31
60
+ 10.60ns INFO test Data written to fifo: AB
61
+ 10.80ns INFO test Data written to fifo: E2
62
+ 11.00ns INFO test Data written to fifo: A0
63
+ 11.20ns INFO test Data read from fifo: 2C
64
+ 11.40ns INFO test Data read from fifo: 47
65
+ 11.60ns INFO test Data read from fifo: 4B
66
+ 11.80ns INFO test Data read from fifo: 31
67
+ 12.00ns INFO test Data read from fifo: AB
68
+ 12.20ns INFO test Data written to fifo: E
69
+ 12.40ns INFO test Data written to fifo: F
70
+ 12.60ns INFO test Data read from fifo: E2
71
+ 12.80ns INFO test Data written to fifo: 39
72
+ 13.00ns INFO test Data read from fifo: A0
73
+ 13.20ns INFO test Data written to fifo: 4F
74
+ 13.40ns INFO test Data written to fifo: 3E
75
+ 13.60ns INFO test Data read from fifo: E
76
+ 13.80ns INFO test Data read from fifo: F
77
+ 14.00ns INFO test Data read from fifo: 39
78
+ 14.20ns INFO test Data read from fifo: 4F
79
+ 14.40ns INFO test Data written to fifo: B1
80
+ 14.60ns INFO test Data read from fifo: 3E
81
+ 14.80ns INFO test Data read from fifo: B1
82
+ 15.00ns INFO test Data written to fifo: 52
83
+ 15.20ns INFO test Data read from fifo: 52
84
+ 15.40ns INFO test Data written to fifo: C4
85
+ 15.60ns INFO test Data written to fifo: F8
86
+ 15.80ns INFO test Data read from fifo: C4
87
+ 16.00ns INFO test Data read from fifo: F8
88
+ 16.20ns INFO test Data NOT read, fifo EMPTY!
89
+ 16.40ns INFO test Data NOT read, fifo EMPTY!
90
+ 16.60ns INFO test Data written to fifo: 7E
91
+ 16.80ns INFO test Data written to fifo: 80
92
+ 17.00ns INFO test Data read from fifo: 7E
93
+ 17.20ns INFO test Data read from fifo: 80
94
+ 17.40ns INFO test Data NOT read, fifo EMPTY!
95
+ 17.60ns INFO test Data NOT read, fifo EMPTY!
96
+ 17.80ns INFO test Data NOT read, fifo EMPTY!
97
+ 18.00ns INFO test Data NOT read, fifo EMPTY!
98
+ 18.20ns INFO test Data NOT read, fifo EMPTY!
99
+ 18.40ns INFO test Data written to fifo: D9
100
+ 18.60ns INFO test Data read from fifo: D9
101
+ 18.80ns INFO test Data written to fifo: 38
102
+ 19.00ns INFO test Data written to fifo: 74
103
+ 19.20ns INFO test Data written to fifo: 18
104
+ 19.40ns INFO test Data read from fifo: 38
105
+ 19.60ns INFO test Data read from fifo: 74
106
+ 19.80ns INFO test Data read from fifo: 18
107
+ 20.00ns INFO test Data written to fifo: 86
108
+ 20.20ns INFO test Data read from fifo: 86
109
+ 20.40ns INFO test Data NOT read, fifo EMPTY!
110
+ 20.60ns INFO test Data written to fifo: A3
111
+ 20.80ns INFO test Data written to fifo: 8E
112
+ 21.00ns INFO test Data read from fifo: A3
113
+ 21.20ns INFO test Data read from fifo: 8E
114
+ 21.40ns INFO test Data written to fifo: A7
115
+ 21.60ns INFO test Data written to fifo: FC
116
+ 21.80ns INFO test Data written to fifo: 90
117
+ 22.00ns INFO test Data read from fifo: A7
118
+ 22.00ns INFO test top : <cocotb_coverage.coverage.CoverItem object at 0x77e07584eba0>, coverage=26, size=32
119
+ 22.00ns INFO test top.fifo_empty : <cocotb_coverage.coverage.CoverPoint object at 0x77e0758c4910>, coverage=2, size=2
120
+ 22.00ns INFO test BIN True : 29
121
+ 22.00ns INFO test BIN False : 71
122
+ 22.00ns INFO test top.fifo_full : <cocotb_coverage.coverage.CoverPoint object at 0x77e0758c47d0>, coverage=1, size=2
123
+ 22.00ns INFO test BIN True : 0
124
+ 22.00ns INFO test BIN False : 100
125
+ 22.00ns INFO test top.fifo_overflow : <cocotb_coverage.coverage.CoverPoint object at 0x77e075872d70>, coverage=1, size=2
126
+ 22.00ns INFO test BIN True : 0
127
+ 22.00ns INFO test BIN False : 100
128
+ 22.00ns INFO test top.fifo_threshold : <cocotb_coverage.coverage.CoverPoint object at 0x77e075872b10>, coverage=2, size=2
129
+ 22.00ns INFO test BIN True : 67
130
+ 22.00ns INFO test BIN False : 33
131
+ 22.00ns INFO test top.fifo_underflow : <cocotb_coverage.coverage.CoverPoint object at 0x77e0758967b0>, coverage=2, size=2
132
+ 22.00ns INFO test BIN True : 16
133
+ 22.00ns INFO test BIN False : 84
134
+ 22.00ns INFO test top.rw : <cocotb_coverage.coverage.CoverPoint object at 0x77e07584ef90>, coverage=2, size=2
135
+ 22.00ns INFO test BIN True : 57
136
+ 22.00ns INFO test BIN False : 43
137
+ 22.00ns INFO test top.rwXempty : <cocotb_coverage.coverage.CoverCross object at 0x77e07584ee40>, coverage=4, size=4
138
+ 22.00ns INFO test BIN (True, True) : 16
139
+ 22.00ns INFO test BIN (True, False) : 41
140
+ 22.00ns INFO test BIN (False, True) : 13
141
+ 22.00ns INFO test BIN (False, False) : 30
142
+ 22.00ns INFO test top.rwXfull : <cocotb_coverage.coverage.CoverCross object at 0x77e0758c4f50>, coverage=2, size=4
143
+ 22.00ns INFO test BIN (True, True) : 0
144
+ 22.00ns INFO test BIN (True, False) : 57
145
+ 22.00ns INFO test BIN (False, True) : 0
146
+ 22.00ns INFO test BIN (False, False) : 43
147
+ 22.00ns INFO test top.rwXoverflow : <cocotb_coverage.coverage.CoverCross object at 0x77e075873490>, coverage=2, size=4
148
+ 22.00ns INFO test BIN (True, True) : 0
149
+ 22.00ns INFO test BIN (True, False) : 57
150
+ 22.00ns INFO test BIN (False, True) : 0
151
+ 22.00ns INFO test BIN (False, False) : 43
152
+ 22.00ns INFO test top.rwXthreshold : <cocotb_coverage.coverage.CoverCross object at 0x77e0758c5090>, coverage=4, size=4
153
+ 22.00ns INFO test BIN (True, True) : 38
154
+ 22.00ns INFO test BIN (True, False) : 19
155
+ 22.00ns INFO test BIN (False, True) : 29
156
+ 22.00ns INFO test BIN (False, False) : 14
157
+ 22.00ns INFO test top.rwXunderflow : <cocotb_coverage.coverage.CoverCross object at 0x77e075872ea0>, coverage=4, size=4
158
+ 22.00ns INFO test BIN (True, True) : 9
159
+ 22.00ns INFO test BIN (True, False) : 48
160
+ 22.00ns INFO test BIN (False, True) : 7
161
+ 22.00ns INFO test BIN (False, False) : 36
162
+ 22.00ns INFO cocotb.regression test_fifo.fifo_test passed
163
+ 22.00ns INFO cocotb.regression **************************************************************************************
164
+ ** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
165
+ **************************************************************************************
166
+ ** test_fifo.fifo_test PASS 22.00 0.14 152.02 **
167
+ **************************************************************************************
168
+ ** TESTS=1 PASS=1 FAIL=0 SKIP=0 22.00 0.15 151.03 **
169
+ **************************************************************************************
170
+ FST info: dumpfile sim_build/fifo_mem.fst opened for output.
171
+ make[1]: Leaving directory '/tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests'
172
+
173
+ --- STDERR ---
174
+ /tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests/../hdl/fifo.v:46: warning: extra digits given for sized binary constant.
175
+ /tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests/../hdl/fifo.v:48: warning: extra digits given for sized binary constant.
176
+ /tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests/../hdl/fifo.v:107: warning: extra digits given for sized binary constant.
177
+ /tmp/sim4_simsh_3_2qp09q/source/examples/fifo/tests/../hdl/fifo.v:109: warning: extra digits given for sized binary constant.
178
+ /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:66: Using MODULE is deprecated, please use COCOTB_TEST_MODULES instead.
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/wrong_bitwidth/metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_type": "wrong_bitwidth",
3
+ "task_type": "compile_error",
4
+ "files_modified": [
5
+ "examples/fifo/hdl/fifo.v"
6
+ ],
7
+ "bug_description": "Truncated 'rptr' register in read_pointer module from 5 bits to 4 bits, causing the MSB (wrap-around bit) to be lost, which breaks full/empty detection logic",
8
+ "signals_affected": [
9
+ "rptr"
10
+ ],
11
+ "simulation_status": "sim_failed",
12
+ "problem_statement": null,
13
+ "diff_summary": "6 changed lines",
14
+ "buggy_waveform": null,
15
+ "golden_waveform": "golden_waveform.fst"
16
+ }
mciepluc_cocotb-coverage/candidates/fifo_mem__fifo/bugs/wrong_bitwidth/sim_log.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s fifo_mem -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v sim_build/cocotb_iverilog_dump.v
6
+ make[1]: Leaving directory '/tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests'
7
+
8
+ --- STDERR ---
9
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:46: warning: extra digits given for sized binary constant.
10
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:48: warning: extra digits given for sized binary constant.
11
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:107: warning: extra digits given for sized binary constant.
12
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:109: warning: extra digits given for sized binary constant.
13
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:40: error: Vectored port ``rptr'' [4:0] has a net declaration [3:0] at /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:42 that does not match.
14
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:46: error: Could not find variable ``rptr'' in ``fifo_mem.top2''
15
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:48: error: Could not find variable ``rptr'' in ``fifo_mem.top2''
16
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:50: error: Could not find variable ``rptr'' in ``fifo_mem.top2''
17
+ /tmp/sim4_simsh_zgnrbcs_/source/examples/fifo/tests/../hdl/fifo.v:38: error: no wire/reg rptr in module fifo_mem.top2.
18
+ 5 error(s) during elaboration.
19
+ make[1]: *** [/mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:52: sim_build/sim.vvp] Error 5
20
+ make: *** [/mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/Makefile.inc:17: sim] Error 2
mciepluc_cocotb-coverage/candidates/pkt_switch__pkt_switch/bugs/wrong_bitwidth/sim_log.txt ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rm -f results.xml
2
+ "make" -f Makefile results.xml
3
+ make[1]: Entering directory '/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests'
4
+ mkdir -p sim_build
5
+ /usr/bin/iverilog -o sim_build/sim.vvp -s pkt_switch -g2012 -f sim_build/cmds.f -s cocotb_iverilog_dump /tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests/../hdl/pkt_switch.v sim_build/cocotb_iverilog_dump.v
6
+ rm -f results.xml
7
+ COCOTB_TEST_MODULES=test_pkt_switch COCOTB_TESTCASE= COCOTB_TEST_FILTER= COCOTB_TOPLEVEL=pkt_switch TOPLEVEL_LANG=verilog \
8
+ /usr/bin/vvp -M /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp -fst
9
+ -.--ns INFO gpi ..mbed/gpi_embed.cpp:93 in _embed_init_python Using Python 3.13.0rc1 interpreter at /mnt/d/ubc-capstone-26/data-pipeline/.venv/bin/python
10
+ -.--ns INFO gpi ../gpi/GpiCommon.cpp:79 in gpi_print_registered_impl VPI registered
11
+ 0.00ns INFO cocotb Running on Icarus Verilog version 11.0 (stable)
12
+ 0.00ns WARNING gpi vpi_iterate returned NULL for type vpiInstance for object NULL
13
+ 0.00ns INFO cocotb Seeding Python random module with 1775588443
14
+ 0.00ns INFO cocotb Initialized cocotb v2.0.1 from /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb
15
+ 0.00ns INFO cocotb Running tests
16
+ 0.00ns INFO cocotb.regression running test_pkt_switch.pkt_switch_test (1/1)
17
+ PKT_SWITCH Test
18
+ 2.80ns INFO test Processing packet:
19
+ 2.80ns INFO test ADDRESS: AF
20
+ 2.80ns INFO test LENGTH: 5
21
+ 2.80ns INFO test PAYLOAD: [39, 49, 197]
22
+ 2.80ns INFO test Filtering disabled
23
+ 2.80ns INFO test MONITOR0: Receiving packet on interface 0 (packet not filtered)
24
+ 6.20ns INFO test Processing packet:
25
+ 6.20ns INFO test ADDRESS: 4
26
+ 6.20ns INFO test LENGTH: 30
27
+ 6.20ns INFO test PAYLOAD: [235, 32, 25, 130, 113, 254, 55, 178, 232, 86, 61, 114, 80, 23, 33, 217, 26, 62, 157, 207, 6, 225, 36, 37, 143, 96, 206, 178]
28
+ 6.20ns INFO test Filtering disabled
29
+ 6.20ns INFO test MONITOR0: Receiving packet on interface 0 (packet not filtered)
30
+ 7.40ns INFO test Processing packet:
31
+ 7.40ns INFO test ADDRESS: 80
32
+ 7.40ns INFO test LENGTH: 6
33
+ 7.40ns INFO test PAYLOAD: [232, 187, 128, 245]
34
+ 7.40ns INFO test Address filtering, address: 09, mask: 92
35
+ 7.40ns WARNING ..b.Task 4.PacketIFMonitor.receive pop from empty list
36
+ Traceback (most recent call last):
37
+ File "/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests/test_pkt_switch.py", line 111, in receive
38
+ self._recv(pkt)
39
+ ~~~~~~~~~~^^^^^
40
+ File "/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests/test_pkt_switch.py", line 98, in _recv
41
+ callback(pkt)
42
+ ~~~~~~~~^^^^^
43
+ File "/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests/test_pkt_switch.py", line 170, in <lambda>
44
+ monitor1.add_callback(lambda _ : scoreboarding(_, expected_data1))
45
+ ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
46
+ File "/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests/test_pkt_switch.py", line 167, in scoreboarding
47
+ queue_expected.pop()
48
+ ~~~~~~~~~~~~~~~~~~^^
49
+ IndexError: pop from empty list
50
+ 7.40ns WARNING cocotb.regression test_pkt_switch.pkt_switch_test failed
51
+ 7.40ns INFO cocotb.regression *****************************************************************************************
52
+ ** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
53
+ *****************************************************************************************
54
+ ** test_pkt_switch.pkt_switch_test FAIL 7.40 0.23 32.33 **
55
+ *****************************************************************************************
56
+ ** TESTS=1 PASS=0 FAIL=1 SKIP=0 7.40 0.24 31.25 **
57
+ *****************************************************************************************
58
+ FST info: dumpfile sim_build/pkt_switch.fst opened for output.
59
+ make[1]: Leaving directory '/tmp/sim4_simsh_d2w5vu01/source/examples/pkt_switch/tests'
60
+
61
+ --- STDERR ---
62
+ /mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:66: Using MODULE is deprecated, please use COCOTB_TEST_MODULES instead.
63
+ make[1]: *** [/mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/simulators/Makefile.icarus:67: results.xml] Error 1
64
+ make: *** [/mnt/d/ubc-capstone-26/data-pipeline/.venv/lib/python3.13/site-packages/cocotb_tools/makefiles/Makefile.inc:17: sim] Error 2
mciepluc_cocotb-coverage/sim_script_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "examples/fifo/tests/test_fifo.py": "fifo_mem_sim.sh",
3
+ "examples/pkt_switch/tests/test_pkt_switch.py": "pkt_switch_sim.sh",
4
+ "tests/test_coverage/coverage_test_main.py": "sample_module_sim.sh",
5
+ "tests/test_crv/crv_test_main.py": "sample_module_sim.sh"
6
+ }
mciepluc_cocotb-coverage/simulations.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"tb_file_path": "examples/fifo/tests/test_fifo.py", "simulator": "cocotb", "top_module": "fifo_mem", "work_subdir": "examples/fifo/tests", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "fifo_mem", "MODULE": "test_fifo", "WAVES": "1", "PYTHONPATH": "../../.."}, "target": "", "clean_first": false}}
2
+ {"tb_file_path": "examples/pkt_switch/tests/test_pkt_switch.py", "simulator": "cocotb", "top_module": "pkt_switch", "work_subdir": "examples/pkt_switch/tests", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "pkt_switch", "MODULE": "test_pkt_switch", "WAVES": "1", "PYTHONPATH": "../../.."}, "target": "", "clean_first": false}}
3
+ {"tb_file_path": "tests/test_coverage/coverage_test_main.py", "simulator": "cocotb", "top_module": "sample_module", "work_subdir": "tests/test_coverage", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "sample_module", "MODULE": "coverage_test_main", "WAVES": "1", "PYTHONPATH": "../.."}, "target": "", "clean_first": false}}
4
+ {"tb_file_path": "tests/test_crv/crv_test_main.py", "simulator": "cocotb", "top_module": "sample_module", "work_subdir": "tests/test_crv", "requires_submodules": false, "make": {"env": {"TOPLEVEL": "sample_module", "MODULE": "crv_test_main", "WAVES": "1", "PYTHONPATH": "../.."}, "target": "", "clean_first": false}}
mciepluc_cocotb-coverage/testbenches.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "file_path": "examples/fifo/tests/test_fifo.py",
4
+ "tb_type": "cocotb",
5
+ "simulator": "icarus",
6
+ "makefile_path": "examples/fifo/tests/Makefile",
7
+ "top_module": "fifo_mem",
8
+ "rtl_files": [
9
+ "examples/fifo/hdl/fifo.v"
10
+ ]
11
+ },
12
+ {
13
+ "file_path": "examples/pkt_switch/tests/test_pkt_switch.py",
14
+ "tb_type": "cocotb",
15
+ "simulator": "icarus",
16
+ "makefile_path": "examples/pkt_switch/tests/Makefile",
17
+ "top_module": "pkt_switch",
18
+ "rtl_files": [
19
+ "examples/pkt_switch/hdl/pkt_switch.v"
20
+ ]
21
+ },
22
+ {
23
+ "file_path": "tests/test_coverage/coverage_test_main.py",
24
+ "tb_type": "cocotb",
25
+ "simulator": "icarus",
26
+ "makefile_path": "tests/test_coverage/Makefile",
27
+ "top_module": "sample_module",
28
+ "rtl_files": [
29
+ "tests/sample_module.sv"
30
+ ]
31
+ },
32
+ {
33
+ "file_path": "tests/test_crv/crv_test_main.py",
34
+ "tb_type": "cocotb",
35
+ "simulator": "icarus",
36
+ "makefile_path": "tests/test_crv/Makefile",
37
+ "top_module": "sample_module",
38
+ "rtl_files": [
39
+ "tests/sample_module.sv"
40
+ ]
41
+ }
42
+ ]