Generate a HWFunction for the function that is being generated.