readable-verilog-generator
VerifiedUse when creating, writing, reviewing, annotating, repairing, refactoring, or validating readable Verilog RTL, including synthesizable Verilog-2001 .v files, existing-RTL analysis, semantic comment annotation, testbench scaffold planning, ASIC-quality review, local or remote Vivado/xsim validation, evidence-backed repair, and workflow trace diagnosis.
assets/examples/existing_rtl/ready_valid_slice.v
View on GitHubmodule ready_valid_slice (
input wire i_clk,
input wire i_rstn,
input wire i_in_valid,
input wire [7:0] i_in_data,
output wire o_in_ready,
output reg o_out_valid,
output reg [7:0] o_out_data
);
reg hold_valid;
reg [7:0] hold_data;
assign o_in_ready = !hold_valid;
always @(posedge i_clk or negedge i_rstn) begin
if (!i_rstn) begin
o_in_ready <= 1'b0;
hold_valid <= 1'b0;
hold_data <= 8'd0;
o_out_valid <= 1'b0;
o_out_data <= 8'd0;
end else begin
o_in_ready <= 1'b0;
if (i_in_valid && o_in_ready) begin
hold_valid <= 1'b1;
hold_data <= i_in_data;
end
o_out_valid <= hold_valid;
o_out_data <= hold_data;
if (hold_valid) begin
hold_valid <= 1'b0;
end
end
end
endmodule
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |