function bit bitl(logic v);
return (v == 1);
endfunction
function bit bitr(real v);
return (v <= 2.0) && (v >= 1.58);
endfunction
bind = function bit bitl(logic);
bind = function bit bitr(logic);
Does not compile, yield “syntax error” do I miss something ?