Add Zbs instruction testbench with assertions and randomized tests#210
Open
Dazhou-20383 wants to merge 4 commits intozbs-implementationfrom
Open
Add Zbs instruction testbench with assertions and randomized tests#210Dazhou-20383 wants to merge 4 commits intozbs-implementationfrom
Dazhou-20383 wants to merge 4 commits intozbs-implementationfrom
Conversation
🔧 DE1-SoC Synthesis Report Summary Diff📊 Fitter Summary (.fit.summary)@@ -1,4 +1,4 @@
-Fitter Status : Successful - Sun Mar 22 02:17:43 2026
+Fitter Status : Successful - Sun Mar 22 17:42:58 2026
Quartus Prime Version : 25.1std.0 Build 1129 10/21/2025 SC Lite Edition
Revision Name : utoss-risc-v
Top-level Entity Name : top⏱️ Timing Analysis Summary (.sta.summary)No changes detected Comparing synthesis results from main branch vs. this PR |
3660340 to
de0a360
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
• Assertion-based verification for all four instructions: bclr, bset, binv, bext.
• Corner case tests for bit 0 (LSB) and bit 31 (MSB).
• Randomized testing to validate instruction behavior across a wide range of inputs.
• Reusable run_test() task structure for clean and modular testing.
Notes:
• This branch contains only the testbench commit (zbs_tb.sv).
• Any previous .DS_Store changes are excluded.
• This PR supersedes the previous accidental commit of the testbench to main, ensuring proper branch-based review.