bjwanneng/veriflow-cc / src/claude_skills/vf-rtl
vf-rtl
Verifiedreferences/pipeline_aligner.v
View on GitHub// Reference: pipeline delay aligner (Verilog-2005).
// Delays a control/sideband signal by exactly N cycles to match a datapath
// pipeline of the same depth — the root cause of most "B_late" timing bugs.
module pipeline_aligner #(parameter N = 2) (
input wire clk,
input wire rst,
input wire in_valid,
output wire out_valid
);
// N-deep shift register; out_valid is in_valid delayed by N clocks.
reg [N-1:0] pipe_r;
integer i;
always @(posedge clk) begin
if (rst) begin
pipe_r <= {N{1'b0}};
end else begin
for (i = N-1; i > 0; i = i - 1)
pipe_r[i] <= pipe_r[i-1];
pipe_r[0] <= in_valid;
end
end
assign out_valid = pipe_r[N-1];
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 |