Javascript Object Array Addition In Verilog