fix(flip-flops): resolve inconsistent latch vs flip-flop concepts #777
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 244 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #777"
general
weight: 0.35
Asrani-Aman
Fixes #753
Changes done:
with explicit edge-triggered vs level-sensitive distinction
is edge-triggered unlike D latch which is level-sensitive
- Edge-triggered FF: always @(posedge clk) with non-blocking <=
- Level-sensitive latch: always @(D or en) for contrast
- Note on non-blocking vs blocking assignment best practice
Screenshots
No UI changes — documentation and content fix only.
Preview Link(s):
<!-- Add preview link from checks tab after checks complete -->
By submitting this PR, I have verified the following
changed/updated from the checks tab after checks complete)
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Documentation
Clarified flip-flop triggering behavior for SR and D flip-flops (edge-triggered)
Added mapping to hardware description (Verilog) for D flip-flops with explanatory examples
Corrected label in T flip-flop state table
* Added explanation of race-around conditions and timing separation for JK flip-flops
<!-- end of auto-generated comment: release notes by coderabbit.ai -->