bjwanneng/veriflow-cc / src/claude_skills/vf-rtl
vf-rtl
Verifiedreferences/handshake_valid_ready.v
View on GitHub// Reference: valid/ready handshake output port (Verilog-2005).
// Canonical rule: a valid signal, once asserted, MUST stay asserted and its
// payload MUST stay stable until the corresponding ready is observed.
module handshake_valid_ready (
input wire clk,
input wire rst,
input wire send, // producer wants to send
input wire ready, // downstream accepts this cycle
output reg valid, // held until ready
output reg payload_r // held stable while valid
);
always @(posedge clk) begin
if (rst) begin
valid <= 1'b0;
payload_r <= 1'b0;
end else if (!valid) begin
// idle: latch a new transaction when send requested
if (send) begin
valid <= 1'b1;
payload_r <= 1'b1; // placeholder payload; replace per design
end
end else if (ready) begin
// accepted: deassert (or re-arm for a streaming source)
valid <= 1'b0;
end
// while valid && !ready: hold (no else -> registers retain value)
end
endmodule
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |