4-bit adder with carry out8-bit subtractor4-bit AND gate2-bit XOR gate8-to-1 multiplexer3-to-8 decoder4-to-2 priority encoder
4-bit multiplier8-bit comparatorAbsolute value circuit for 8-bit signed inputMin/max finder for two 8-bit inputsDivider by 3 for 8-bit input
Barrel shifter for 8-bit inputLeading zero counter for 8-bit inputPopulation counter that counts 1s in an 8-bit valueParity generator for 8-bit inputGray code to binary converterBinary to Gray code converter
7-segment display decoder for 4-bit BCD inputCRC-8 calculatorHamming code encoder for 4-bit dataEven parity checker
2-bit counter with enable4-bit up/down counterDecade counter (0-9)Ring counter
Traffic light controller with 3 statesVending machine controller accepting nickels and dimesSequence detector for pattern 1011Debounce circuit for button input
4-bit shift registerFIFO buffer with 4 entries8-bit register file with 4 registers
UART transmitterSPI controllerI2C state machine
- Start simple (gates, adders, muxes)
- Combinational logic usually works on first attempt
- Sequential logic with clocks may take a few iterations
- Be specific about bit widths
- Describe expected behavior clearly
python3 agent.pyThen enter:
Population counter that counts the number of 1s in an 8-bit input
The agent will generate the design, testbench, compile, simulate, and open Surfer automatically.