data/full_repos/permissive/175100691/gpu/lpm/lpm_ram_dq.v
 line:183: before: "("
1: b"%Error: data/full_repos/permissive/175100691/gpu/lpm/lpm_ram_dq.v:163: Can't find definition of 'IS_VALID_FAMILY' in dotted task/function: 'dev.IS_VALID_FAMILY'\n        if (dev.IS_VALID_FAMILY(intended_device_family) == 0)\n                ^~~~~~~~~~~~~~~\n        ... Known scopes under 'IS_VALID_FAMILY': <no cells found>\n%Error: data/full_repos/permissive/175100691/gpu/lpm/lpm_ram_dq.v:183: Can't find definition of 'convert_to_ver_file' in dotted task/function: 'mem.convert_to_ver_file'\n            mem.convert_to_ver_file(lpm_file, lpm_width, ram_initf);\n                ^~~~~~~~~~~~~~~~~~~\n        ... Known scopes under 'convert_to_ver_file': <no cells found>\n%Error: Exiting due to 2 error(s)\n"
function ValidAddress;
        input [lpm_widthad-1:0] paddress;

        begin
            ValidAddress = 1'b0;
            if (^paddress === {lpm_widthad{1'b0}})
            begin
                $display("%t:Error!  Invalid address.\n", $time);
                $display("Time: %0t  Instance: %m", $time);
            end
            else if (paddress >= lpm_numwords)
            begin
                $display("%t:Error!  Address out of bound on RAM.\n", $time);
                $display("Time: %0t  Instance: %m", $time);
            end
            else
                ValidAddress = 1'b1;
        end
    endfunction
function ValidAddress;

        input [lpm_widthad-1:0] paddress;

        begin
            ValidAddress = 1'b0;
            if (^paddress === {lpm_widthad{1'b0}})
            begin
                $display("%t:Error!  Invalid address.\n", $time);
                $display("Time: %0t  Instance: %m", $time);
            end
            else if (paddress >= lpm_numwords)
            begin
                $display("%t:Error!  Address out of bound on RAM.\n", $time);
                $display("Time: %0t  Instance: %m", $time);
            end
            else
                ValidAddress = 1'b1;
        end
    endfunction