School project in verilog