System Verilog If Statement Syntax Javascript