Verilog simulator
Write Verilog in the browser and see it as a logic diagram
Write a Verilog module and press Build. The design is drawn as logic blocks you can drive by hand: flip inputs, step the clock, watch the waveforms and run a test table.
- Nothing to install. It runs in a browser tab.
- Built with Yosys and checked with Verilator on our server.
- No account needed to build, simulate, test and share.
How it works
Start from your own code or a starter: half adder, 4-bit adder, 4-to-1 mux, counter, shift register or traffic light.
Build
Build sends your code to Yosys, which turns it into logic blocks, and to Verilator, which checks it for common mistakes. Errors and warnings are listed with your code.
See and drive the logic
The logic diagram simulates in your browser. A 1 is green, a 0 is grey, a bus is blue, and an unknown value (x) is a red dashed line. Flip inputs and step the clock to watch it change.
Test it
A test is a table of steps: set inputs, tick the clock, check outputs. It runs on a fresh copy of the circuit and compares every output, and the Waveforms tab shows the run.
AI help, and sharing
AI help (free account)
- Ask the AI to write a module and a test, then refine it in a conversation.
- Fix with AI, when a build has errors.
- Ask it to explain the code in the editor.
- The AI's designs go through the same build and their test before you see them. The AI writes the test too, so check that it tests what you asked for.
- AI use counts against your monthly AI allowance.
Share a link
- Share gives you a short link to the code as it is now.
- Anyone with the link can open it, change it and share their own version.
- With a free account, the designs you share are listed for you.
What works now, and what does not
- Verilog: combinational and clocked designs.
- Logic diagram, waveforms and test tables.
- Phones and tablets as well as laptops.
- VHDL.
- SystemVerilog. Yosys reads some of it, but we have not tested it.
- FPGA boards or bitstreams. This is simulation only.
Circuits with resistors, LEDs and transistors run in the circuit simulator instead.
Questions
- Do I need to install anything?
- No. You write the code in a browser tab. Building runs on our server, and the diagram, waveforms and tests run in your browser.
- Do I need an account?
- Not to write, build, simulate, test and share Verilog. The AI help needs a free account.
- Which tools build the code?
- Yosys turns your code into logic blocks, and Verilator checks it for common mistakes. The logic diagram is drawn and simulated with DigitalJS.
- Does it support VHDL or SystemVerilog?
- Verilog is supported. VHDL is not. Yosys reads some SystemVerilog, but we have not tested it, so treat it as unsupported.
- Can I program an FPGA board with it?
- No. This is simulation only. It does not make bitstreams or talk to boards.
- Can I use it to grade a class?
- Yes. Courses give students Verilog assignments graded by hidden tests on our server. See the Verilog autograder page.