More idiomatic, synthesizable verilog