Silicon Lab
RTL Design Problems
Build a design, hunt its bugs, or repair what fails. Every answer runs on a real simulator.
All Problems
Build starts from a specification: make it work, then make it small or fast. Bug Hunt asks for the checker or the test that catches broken designs. Repair hands you a failure: find the cause, then fix the design.
Branches follow problem ratings. Choose any available problem.
- Easy
- Medium
- Hard
- Expert
- Solved
- Started
- Your next challenges
- Sign in to open
Sign in to earn a rating and open every challenge.
Digital Fundamentals · G1 Numbers and Codes
- G1.1.1 Read the Register Dump Implement Easy Browser
- G1.1.2 A Fraction in Binary Implement Easy Browser
- G1.2.1 The Sensor That Read 65,535 Fix Easy Browser
- G1.2.2 Negate Without a Minus Sign Implement Easy Browser
- G1.2.3 Read the Old Number Formats Implement Easy Browser
- G1.3.1 Overflow Flags for an Adder Implement Medium Browser
- G1.3.2 A Saturating Adder Implement Medium Browser
- G1.4.1 The Mixer That Clipped Fix Medium Browser
- G1.4.2 Round Half to Even in Fixed Point Implement Medium Browser
- G1.5.1 Decode a Half-Precision Word Implement Medium Browser
- G1.5.2 Which Sum Rounds Up? Implement Medium Browser
- G1.6.1 BCD Sums by Hand Implement Easy Browser
- G1.6.2 Excess-3 and Back Implement Easy Browser
- G1.7.1 Binary to Gray and Back Implement Easy Browser
- G1.8.1 One-Hot to Binary with a Validity Check Implement Easy Browser
- G1.8.2 Count the UTF-8 Bytes Implement Easy Browser
- G1.8.3 Distance Between Codewords Implement Easy Browser
- G1.9.1 Hamming(7,4) Corrector Implement Medium Browser
- G1.9.2 Which Errors Slip Past Parity Break It Medium Browser
- G1.10.2 Find the Corrupted Packet Implement Easy Browser
- G1.10.3 Two-Out-of-Five Checker Implement Easy Browser
- G1.10.1 Serial CRC-8 Implement Medium Browser
Digital Fundamentals · G2 Boolean Algebra and Logic Gates
- G2.1.1 Noise Margins from a Transfer Curve Implement Easy Browser
- G2.2.1 Majority Gate from Primitives Implement Easy Browser
- G2.2.2 Name the Mystery Gates Implement Easy Browser
- G2.3.1 The Ports That Were Swapped Fix Easy Browser
- G2.3.2 Make the Bench Check Itself Verify Easy Browser
- G2.4.2 Prove or Refute Implement Easy Browser
- G2.4.1 Simplify Within a Literal Budget Optimize Medium Browser
- G2.5.1 De Morgan on an Active-Low Alarm Fix Easy Browser
- G2.6.1 Half Adder from Five NANDs Optimize Medium Browser
- G2.6.2 Majority from NOR Gates Only Optimize Medium Browser
- G2.7.1 A 9-bit Parity Tree in Four Levels Optimize Medium Browser
- G2.8.1 From Truth Table to Minterms Implement Easy Browser
- G2.8.2 Minterms to Maxterms Implement Easy Browser
- G2.9.1 What Does This Circuit Compute? Implement Easy Browser
Digital Fundamentals · G3 Minimization
- G3.1.1 Minimal Cover, Four Variables Optimize Medium Browser
- G3.2.1 A Seven-Segment Output with don't-cares Optimize Medium Browser
- G3.3.1 Minimal Product of Sums Optimize Medium Browser
- G3.4.1 Minimal Cover, Five Variables Optimize Hard Browser
- G3.4.2 Minimal Cover, Six Variables Optimize Hard Browser
- G3.5.1 Find the Essential Prime Implicants Implement Hard Browser
- G3.5.2 Finish the Chart Implement Hard Browser
- G3.6.1 Break the Cyclic Chart Implement Hard Browser
- G3.7.1 Shared Terms for Two Outputs Optimize Hard Browser
- G3.8.1 NAND2 Only, Fewest Gates Optimize Medium Browser
- G3.8.2 NOR2 Only, Fewest Gates Optimize Medium Browser
- G3.8.3 Factor to Save Gates, Keep the Delay Optimize Medium Browser
- G3.9.1 Count the BDD Nodes Implement Medium Browser
- G3.9.2 Prove Two Circuits Equal Implement Medium Browser
Digital Fundamentals · G4 Combinational Building Blocks
- G4.1.1 Seven-Segment Decoder Implement Easy Simulation + synthesis
- G4.2.2 A 16:1 Mux from 4:1 Muxes Implement Easy Browser
- G4.2.1 Any Function from One Mux Implement Medium Browser
- G4.3.1 The Decoder with a Dead Output Debug Easy Browser
- G4.3.2 A Full Adder from One Decoder Implement Easy Browser
- G4.3.3 A Decoder That Doubles as a Demultiplexer Implement Easy Simulation + synthesis
- G4.3.4 Cascade Two Decoders into a 4-to-16 Implement Medium Browser
- G4.4.1 Four-Input Priority Encoder Implement Easy Simulation + synthesis
- G4.4.2 Check the Priority Encoders Verify Medium Browser
- G4.5.1 Full Adder from Gates Implement Easy Browser
- G4.5.2 The Adder That Lost Its Carry Fix Easy Browser
- G4.6.1 Carry Lookahead, Four Bits Implement Medium Browser
- G4.6.2 A 16-bit Adder on a Delay Budget Optimize Hard Browser
- G4.7.1 Adder-Subtractor with One Control Bit Implement Medium Browser
- G4.8.1 Signed and Unsigned Comparator Implement Medium Simulation + synthesis
- G4.8.2 Cascade the Comparator Cells Implement Medium Browser
- G4.9.2 An Arithmetic Shift That Keeps the Sign Implement Easy Browser
- G4.9.1 Barrel Shifter from Mux Stages Implement Medium Simulation + synthesis
- G4.9.3 One Funnel, Four Shifts Implement Medium Browser
- G4.10.2 The Bus That Read x Debug Easy Browser
- G4.10.1 One Driver at a Time Implement Medium Simulation + synthesis
- G4.10.3 Share One Interrupt Line Implement Medium Browser
- G4.11.2 The ALU That Failed One Opcode Debug Medium Browser
- G4.11.3 Check the ALUs with a Vector File Verify Medium Browser
- G4.11.1 A Small ALU with Flags Implement Hard Simulation + synthesis
Digital Fundamentals · G5 Timing, Latches and Flip-Flops
- G5.1.1 Find the Critical Path Implement Easy Browser
- G5.1.2 The Shortest Path Too Implement Easy Browser
- G5.2.1 Remove the Glitch Fix Medium Browser
- G5.3.1 Catch the Glitchy Circuits Break It Medium Browser
- G5.4.1 SR Latch from NOR Gates Implement Easy Browser
- G5.4.2 Debounce a Switch with an SR Latch Implement Easy Browser
- G5.5.1 The Latch That Let Data Through Debug Medium Browser
- G5.6.1 A Flip-Flop from Two Latches Implement Medium Browser
- G5.7.1 T and JK from a D Flip-Flop Implement Easy Simulation + synthesis
- G5.7.2 Fill the Excitation Table Implement Easy Browser
- G5.8.1 Will This Path Meet Timing? Implement Medium Browser
- G5.8.2 Fix the Hold Violation Fix Medium Browser
- G5.9.1 Skew Helps, Skew Hurts Implement Medium Browser
- G5.9.2 The Gated Clock That Doubled a Count Debug Medium Browser
- G5.10.1 How Much Can the Latch Borrow? Implement Medium Browser
- G5.11.1 How Many Flops for a Century? Implement Medium Browser
- G5.12.1 Two-Flop Synchronizer Implement Easy Browser
Digital Fundamentals · G6 Registers and Counters
- G6.1.1 Register with Enable and Reset Implement Easy Simulation + synthesis
- G6.1.2 The Pipeline That Collapsed Fix Easy Simulation + synthesis
- G6.2.2 Serial-In Parallel-Out Receiver Implement Easy Simulation + synthesis
- G6.2.3 Parallel-In Serial-Out Transmitter Implement Easy Simulation + synthesis
- G6.2.1 Universal Shift Register Implement Medium Simulation + synthesis
- G6.3.1 The Ripple Counter's False Counts Implement Easy Browser
- G6.4.1 A Synchronous Counter from T Flip-Flops Implement Medium Browser
- G6.4.2 A Counter for 0, 3, 5, 6 Implement Medium Simulation + synthesis
- G6.5.1 Up/Down Seconds Counter with Carry Implement Medium Simulation + synthesis
- G6.5.2 The Counter That Skipped a Count Debug Medium Browser
- G6.5.3 Lookahead Enables Implement Medium Browser
- G6.6.1 Divide by Five, Fifty Percent Duty Implement Hard Simulation + synthesis
- G6.7.1 Johnson Counter with Self-Correction Implement Medium Simulation + synthesis
- G6.8.1 Gray Counter Without a Binary Register Implement Medium Simulation + synthesis
- G6.9.1 Maximal-Length LFSR Implement Medium Simulation + synthesis
- G6.9.2 Galois to Fibonacci Implement Medium Simulation + synthesis
- G6.10.1 PRBS Checker That Counts Each Error Once Implement Medium Simulation + synthesis
Digital Fundamentals · G7 Finite State Machines
- G7.1.1 Traffic Light Controller Implement Medium Simulation + synthesis
- G7.1.2 Moore to Mealy with One State Fewer Implement Medium Simulation + synthesis
- G7.2.1 Read the Machine from Its Gates Implement Medium Browser
- G7.3.1 The Vending Machine That Gave Free Candy Fix Easy Simulation + synthesis
- G7.3.3 Equations from a Transition List Implement Medium Browser
- G7.3.2 A Controller from JK Flip-Flops Implement Hard Browser
- G7.4.1 Detect 1101 with Overlap Implement Medium Simulation + synthesis
- G7.4.2 Break the Sequence Detectors Break It Medium Browser
- G7.5.2 Fill the Implication Chart Implement Medium Browser
- G7.5.1 Merge the Equivalent States Optimize Hard Browser
- G7.6.1 One-Hot Rewrite with a One-Hot Check Implement Medium Simulation + synthesis
- G7.6.2 The Machine That Hung in State 5 Debug Medium Browser
- G7.6.3 Choose the State Codes Optimize Medium Simulation + synthesis
- G7.7.1 Split the Controller Implement Hard Browser
- G7.8.1 Round-Robin Arbiter for Three Implement Medium Simulation + synthesis
- G7.9.1 Which Way Does the Race Go? Implement Medium Browser
- G7.10.2 From Words to a Primitive Flow Table Implement Medium Browser
- G7.10.1 An Assignment with No Critical Race Implement Hard Browser
- G7.11.1 Muller C-Element from Gates Implement Easy Browser
- G7.11.2 Find the Essential Hazard Implement Hard Browser
Digital Fundamentals · G8 Memories
- G8.1.2 ROM Lookup Table Implement Easy Simulation + synthesis
- G8.1.1 Register File with a Hard-Wired Zero Implement Medium Browser
- G8.2.1 A Counter-Based FIFO Implement Medium Browser
- G8.3.1 Drive the SRAM Write Cycle Implement Medium Simulation + synthesis
- G8.4.2 Row Hits and Misses Implement Easy Browser
- G8.4.1 Schedule Two DRAM Reads Implement Medium Simulation + synthesis
- G8.5.2 Pick the Nonvolatile Memory Implement Easy Browser
- G8.5.1 Update a Byte in Flash Implement Medium Simulation + synthesis
- G8.6.1 A Sequencer in a ROM Implement Medium Simulation + synthesis
- G8.7.1 Build 32K x 16 from 8K x 8 Implement Medium Simulation + synthesis
- G8.8.1 Two Banks, Two Requests Implement Medium Browser
- G8.9.2 Repair a RAM with a Spare Row Implement Medium Simulation + synthesis
- G8.9.1 SECDED on a Memory Word Implement Hard Browser
- G8.10.1 A Stack That Refuses to Overflow Implement Easy Simulation + synthesis
- G8.11.1 A Small CAM with Priority Match Implement Medium Simulation + synthesis
Digital Fundamentals · G9 CMOS Circuits
- G9.1.1 Build a NOR from Switches Implement Easy Browser
- G9.1.2 Balance the Inverter's Rise and Fall Implement Medium Verilator
- G9.2.1 Size the NOR to Match the NAND Optimize Hard Verilator
- G9.3.1 Transmission-Gate Mux Implement Medium Browser
- G9.4.1 Noise Margins from the Unity-Gain Points Implement Medium Verilator
- G9.5.1 AOI21 From Six Switches Implement Easy Browser
- G9.5.2 The Fewest Transistors for NOT(ab + Cd) Optimize Hard Browser
- G9.6.1 Elmore by Hand Implement Medium Browser
- G9.7.2 Logical Effort by Hand Implement Medium Browser
- G9.7.1 Size the Buffer Chain Optimize Hard Verilator
- G9.8.1 Where Do the Repeaters Go? Optimize Medium Verilator
- G9.9.1 Energy per Toggle Implement Medium Verilator
- G9.10.1 Pseudo-NMOS NOR Implement Medium Browser
- G9.11.1 The Domino Gate That Fell Debug Medium Browser
- G9.12.1 A Pass-Transistor XOR That Reaches the Rails Implement Medium Verilator
- G9.13.1 A Transmission-Gate Latch from Switches Implement Medium Browser
- G9.14.1 Can This Output Drive That Input? Implement Easy Browser
- G9.15.2 The Line Nobody Pulled Up Debug Easy Browser
- G9.15.1 Measure the Schmitt Hysteresis Implement Medium Verilator
- G9.16.1 A Read That Does Not Flip the Cell Implement Hard Verilator
- G9.17.1 How Big Is the DRAM Signal? Implement Easy Browser
RTL Design · R1 From Spec to Gates
- R1.1.1 A Four-Input Mux Implement Easy Simulation + synthesis
- R1.2.1 An Occupancy Counter from a Brief Implement Easy Simulation + synthesis
- R1.3.1 The Decoder That Remembered Fix Easy Simulation + synthesis
- R1.3.2 The Interrupt That Never Cleared Debug Easy Browser
- R1.4.1 The Average That Broke Below Zero Fix Medium Simulation + synthesis
- R1.5.1 A Priority Encoder with a Collision Flag Implement Medium Simulation + synthesis
- R1.6.1 Divide by a Power of Two on a Budget Optimize Medium Simulation + synthesis
- R1.7.1 The Largest of N Implement Medium Simulation + synthesis
- R1.8.1 An ALU on a Cell Budget Optimize Hard Simulation + synthesis
RTL Design · R2 Registers, Resets and Time
- R2.1.1 The Pipeline That Ran Ahead Debug Easy Browser
- R2.2.1 The Counter That Started Early Fix Medium Simulation + synthesis
- R2.3.1 The Accumulator That Added Twice Fix Easy Simulation + synthesis
- R2.4.1 A Digit Counter with a Carry Implement Easy Simulation + synthesis
- R2.5.1 One Press, One Pulse Implement Medium Simulation + synthesis
- R2.6.1 Clear Comes First Fix Easy Simulation + synthesis
- R2.7.1 A Programmable Timer Implement Hard Simulation + synthesis
RTL Design · R3 Finite State Machines
- R3.1.1 An Acknowledge That Waits for the Edge Implement Easy Simulation + synthesis
- R3.2.2 The Enum That Took a Number Fix Easy Simulation + synthesis
- R3.2.1 The Burst That Never Started Fix Medium Simulation + synthesis
- R3.3.1 The Link That Moved Nothing Debug Medium Simulation + synthesis
- R3.4.1 Frame Marks That Overlap Implement Medium Simulation + synthesis
- R3.5.1 An APB GPIO Block Implement Hard Simulation + synthesis
- R3.6.1 A UART Transmitter with No Gaps Implement Hard Simulation + synthesis
RTL Design · R4 Timing and Pipelining
- R4.1.1 How Fast Can It Clock? Implement Medium Simulation + synthesis
- R4.2.1 Latency or Throughput? Implement Easy Simulation + synthesis
- R4.3.1 An Adder Tree with Its Valid Pipe Implement Easy Simulation + synthesis
- R4.4.1 A Skid Buffer Implement Medium Simulation + synthesis
- R4.5.1 A Two-Lane MAC on a Levels Budget Optimize Medium Simulation + synthesis
- R4.6.1 Retime a Scaler by Hand Optimize Medium Simulation + synthesis
- R4.7.1 A Pipelined CRC Engine Optimize Hard Simulation + synthesis
RTL Design · R5 Memories, FIFOs and Arbiters
- R5.1.1 Two Reads and a Write Implement Easy Simulation + synthesis
- R5.2.1 A FIFO of Any Depth Implement Medium Simulation + synthesis
- R5.2.2 The FIFO That Overflowed at Full Debug Medium Browser
- R5.3.1 The Buffer One Stall Too Small Fix Easy Simulation + synthesis
- R5.4.1 A Round Robin for Any N Implement Medium Simulation + synthesis
- R5.5.1 A 4 x 4 Crossbar Under Budget Optimize Medium Simulation + synthesis
- R5.6.1 A Merger That Favours A Two to One Implement Hard Simulation + synthesis
RTL Design · R6 Clock Domain Crossing
- R6.1.1 MTBF by Hand Implement Easy Browser
- R6.2.1 The Job That Finished Twice Fix Medium Simulation + synthesis
- R6.3.1 One Event, One Byte Implement Medium Simulation + synthesis
- R6.4.1 A Gray Pointer Implement Easy Simulation + synthesis
- R6.4.2 The Torn Pointer Debug Medium Browser
- R6.5.1 Wait for the Receiver Fix Medium Simulation + synthesis
- R6.6.1 The Asynchronous FIFO Implement Expert Simulation + synthesis
RTL Design · R7 RTL That Others Can Read and Verify
- R7.1.1 An Interrupt Block Behind an Interface Implement Medium Simulation + synthesis
- R7.2.1 The FIFO That Checks Itself Verify Medium Verilator
- R7.3.1 Clean the Controller Fix Easy Simulation + synthesis
- R7.4.1 Translate the Block Fix Easy Simulation + synthesis
- R7.4.2 Retire the Defparam Fix Easy Simulation + synthesis
RTL Design · R8 Capstones
- R8.1.1 A GPIO-and-Timer Peripheral Implement Hard Simulation + synthesis
- R8.2.1 A UART Receiver on APB Implement Expert Simulation + synthesis
- R8.3.1 An AXI-Stream Packet Filter Implement Hard Simulation + synthesis
- R8.4.1 Break the Stream Filters Break It Medium Browser
- R8.4.2 Catch the Faulty Stream Filters Verify Hard Browser
RTL Design · R9 Data Types for Design
- R9.1.1 The Counter That Hid Its Missing Reset Fix Easy Simulation + synthesis
- R9.1.2 A Mask for Every Width Implement Easy Simulation + synthesis
- R9.2.2 Wire It by Name Debug Easy Browser
- R9.2.1 The Bus with Two Talkers Fix Medium Simulation + synthesis
- R9.3.1 One Package for the Opcodes Implement Medium Simulation + synthesis
- R9.3.2 The Typedef That Changed with File Order Debug Medium Simulation + synthesis
- R9.4.1 Decode Three Formats Implement Medium Simulation + synthesis
- R9.4.2 A Descriptor Table Implement Medium Simulation + synthesis
RTL Design · R10 Operators and X
- R10.1.1 Sign-Extend and Pack Implement Easy Simulation + synthesis
- R10.1.2 Parity for Any Width Implement Easy Simulation + synthesis
- R10.2.1 The Enable That Fired on Every Pattern Fix Easy Simulation + synthesis
- R10.2.2 Decode with Inside Implement Medium Simulation + synthesis
- R10.3.2 Endian Swap for a Bus Implement Easy Simulation + synthesis
- R10.3.1 A Rotate-Left Barrel Shifter Optimize Medium Simulation + synthesis
- R10.4.1 The Mask Compare That Always Matched Fix Easy Simulation + synthesis
- R10.4.2 Scale and Saturate with Casts Implement Medium Simulation + synthesis
- R10.5.1 The Reset That Looked Fine Debug Medium Simulation + synthesis
- R10.5.2 Make the X Visible Verify Medium Browser
RTL Design · R11 Procedural Code for Design
- R11.1.1 Predict the Print Implement Easy Simulation + synthesis
- R11.1.2 The Race That Changed with the Order Fix Medium Simulation + synthesis
- R11.2.2 The Loop That Never Ended Debug Easy Simulation + synthesis
- R11.2.1 Count Leading Zeros for Any Width Implement Medium Simulation + synthesis
- R11.3.1 A Gray Encoder Used Twice Implement Easy Simulation + synthesis
- R11.3.2 The Stale Output Fix Medium Browser
- R11.4.1 Registered Outputs, No Extra Cycle Implement Medium Simulation + synthesis
- R11.4.2 A One-Hot Controller by Reverse Case Implement Medium Simulation + synthesis
- R11.5.1 The Pragma That Lied Debug Medium Simulation + synthesis
- R11.5.2 Pick the Style for the Brief Implement Medium Simulation + synthesis
Low Power · W1
- W1.1.1 Find the Missing Femtojoules Fix Easy Verilator
- W1.2.1 Read the Power Report Implement Easy Verilator
- W1.3.1 Pick the Threshold Optimize Medium Verilator
- W1.4.1 Choose the Operating Point Implement Medium Verilator
- W1.5.1 Fold the VCD into SAIF Totals Implement Easy Browser
- W1.5.2 Vectorless or Recorded? Debug Medium Verilator
- W1.6.1 Balance the Paths Optimize Medium Browser
Low Power · W2
- W2.1.1 Gate the Right Registers Optimize Medium Verilator
- W2.2.1 Quiet the Multiplier Optimize Medium Verilator
- W2.3.1 The Gate That Ate a Pulse Debug Medium Browser
- W2.4.1 Gate the Tree, Not the Leaves Optimize Medium Verilator
- W2.4.2 Share the Clock Buffer Optimize Medium Verilator
- W2.5.1 Bank the Memory Implement Medium Browser
- W2.6.2 A Gray Pointer Implement Easy Browser
- W2.6.1 Bus-Invert the Data Bus Implement Medium Browser
- W2.7.1 Two Slow or One Fast? Optimize Hard Verilator
Low Power · W4
- W4.1.1 Make the File Readable Fix Easy Verilator
- W4.1.2 Loop over the Domains Implement Medium Verilator
- W4.2.1 Scope It Right Fix Easy Verilator
- W4.3.1 Draw the Domains Implement Medium Verilator
- W4.3.2 Grow and Merge Domains Implement Medium Verilator
- W4.4.1 Wire the Supplies Implement Medium Verilator
- W4.4.2 Parallel Regulators and Legacy Primaries Fix Medium Verilator
- W4.5.1 Supply Sets for Two Domains Implement Medium Verilator
- W4.5.2 Translate a UPF 1.0 File Implement Medium Verilator
- W4.6.1 Describe the Switch Implement Medium Verilator
- W4.6.2 Partial, Error and Two Inputs Implement Hard Verilator
- W4.7.2 Fix the Sense and the Location Fix Easy Verilator
- W4.7.1 Write the Isolation Strategies Implement Medium Verilator
- W4.8.2 Who Wins? Debug Medium Verilator
- W4.8.1 Only Where Supplies Differ Implement Hard Verilator
- W4.9.1 Retain with Level Controls Implement Medium Verilator
- W4.9.2 Retain Selected Registers Safely Implement Medium Verilator
- W4.10.1 Shifters by Rule Implement Medium Verilator
- W4.11.1 Complete the Power States Implement Medium Verilator
- W4.11.2 Refine the States Later Implement Medium Verilator
- W4.12.2 Forbid the Bad Transitions Implement Easy Verilator
- W4.12.1 Convert the PST Implement Medium Verilator
- W4.13.1 Predict the Simstate Debug Easy Verilator
- W4.13.2 Choose the Simstate Implement Medium Verilator
- W4.14.1 Control from UPF Implement Medium Verilator
- W4.14.2 Attributes for a Black Box Implement Medium Verilator
- W4.15.2 Repeaters and Always-On Cells Implement Easy Verilator
- W4.15.1 Map the Cells Debug Medium Verilator
- W4.16.2 One IP, Two Instances Implement Medium Verilator
- W4.16.1 Refine the IP's UPF Implement Hard Verilator
No problems match these filters.