Skip to content

🧪 test: add mid-operation reset test for ChaCha20 - #24

Merged
MrAbhi19 merged 1 commit into
mainfrom
add-chacha20-mid-operation-reset-test-14599056819608347885
Oct 16, 2026
Merged

MrAbhi19 merged 1 commit into
mainfrom
add-chacha20-mid-operation-reset-test-14599056819608347885

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Added a mid-operation reset test to the ChaCha20 testbench.

  • 🎯 What: The testing gap addressed is the lack of test coverage for asserting a reset mid-operation. The ChaCha20 module needs to properly transition back to IDLE and be ready to process a new block again.
  • 📊 Coverage: The scenario tested is resetting the core while it is actively in the RUNNING state (mid-execution).
  • ✨ Result: The improvement in test coverage allows confident refactoring knowing that unexpected resets during execution are properly handled.

PR created automatically by Jules for task 14599056819608347885 started by @MrAbhi19

Added a test case to `Chacha20/sim/chacha20_tb.v` to verify the module correctly handles mid-operation resets. The test initiates an encryption operation, asserts the reset signal (`rst_n`) low for a cycle mid-execution, and then restarts the operation to confirm it still produces the correct output.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@MrAbhi19
MrAbhi19 merged commit 181ed1c into main Oct 16, 2026
2 checks passed
@MrAbhi19
MrAbhi19 deleted the add-chacha20-mid-operation-reset-test-14599056819608347885 branch October 16, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant