breadboardhub
ExplorePlaygroundVerilogArduinoInterviewsAI DesignCalculatorsNewsArticlesLeaderboards
breadboardhub

Chip playground · Verilog

Shared design: counter

Write Verilog, press Build, and see it as logic blocks you can drive by hand, with waveforms and a test table. It is built with Yosys, the open-source tool real chip flows use. Or ask the AI to write one and refine it in a conversation.

Start from
counter.v
Loading the editor…
Building the design…

Change an input or step the clock and the signals appear here.

7 steps, clocked by clk.

#SetClockExpectResult
1rst=11×count=0
2rst=01×count=1
31×count=2
413×count=15
51×count=0
wraps from 15 to 0
63×count=3
7rst=11×count=0

Share

This link always shows the design as it was shared. Sharing your changes makes a new link that records it was forked from this one.

Or publish it as a design with its own page, where people can open it here, star it and remix it.

Create a free account to keep a list of the designs you share.

How it works

  • Build sends your code to Yosys, which turns it into logic blocks, and to Verilator, which checks it for common mistakes.
  • The diagram and controls simulate those blocks in your browser: 1 is green, 0 is grey, a bus is blue, and an unknown value (x) is a red dashed line.
  • The test runs its steps on a fresh copy of the circuit and compares every output.
  • The AI's designs go through the same build and their test before you see them; it writes the test too, so check it.

Board-level circuits (resistors, LEDs, transistors) live in the circuit playground.

Design circuits by asking Claude

Add breadboardhub to Claude, sign in free, and ask for a circuit. Claude designs and simulates it and gives you a link that opens it here.

Add to Claude↗ (opens in a new tab)How it works

Chip AI

Ask about the code in the editor, or describe a change.

Each message uses one AI design from your allowance.

    Enter to send, Shift+Enter for a new line