Not with Verilog or VHDL, though, but Migen: the Python-based way to build digital circuits with software. [Jeff] has a great tutorial for building a D flip-flop with Migen, but we’d love to see ...