Email Record: Finite state machine datapath design, optimization, and implementation /