Verilog Function With Multiple Variables