Simple proc written on verilog.