Boolean algebra, Flip-flops, K-Maps, Verilog

Quine McCluskey method