chisel: start with some FSM coding