Python Return Function Syntax In Verilog