Arista Networks interview question

Design a parity encoder using verilog