Array Addition In Verilog Using Function In C