data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv
1: b"%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:1: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport mult_types::*;\n       ^~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:42: syntax error, unexpected IDENTIFIER, expecting ')'\nfunction void reset(output mstate_s ms_next);\n                                    ^~~~~~~\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:44: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.ready = 1'b1;\n                  ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:51: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.ready = 1'b0;\n                  ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:52: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.done = 1'b0;\n                 ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:53: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.iteration = 0;\n                      ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:54: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.op = ADD;\n               ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:56: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.M = multiplicand;\n              ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:57: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.C = 1'b0;\n              ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:58: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.A = 0;\n              ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:59: syntax error, unexpected '=', expecting IDENTIFIER\n    ms_next.Q = multiplier;\n              ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:65: syntax error, unexpected '=', expecting IDENTIFIER\n    next.op = SHIFT;\n            ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:67: syntax error, unexpected '{'\n        {next.C, next.A} = cur.A + cur.M;\n        ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:69: syntax error, unexpected '=', expecting IDENTIFIER\n        next.C = 1'b0;\n               ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:76: syntax error, unexpected '=', expecting IDENTIFIER\n      next.op = ADD;\n              ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:77: syntax error, unexpected +=, expecting IDENTIFIER\n      next.iteration += 1;\n                     ^~\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:79: syntax error, unexpected '=', expecting IDENTIFIER\n            next.op = DONE;\n                    ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:80: syntax error, unexpected '=', expecting IDENTIFIER\n            next.done = 1'b1;\n                      ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:81: syntax error, unexpected '=', expecting IDENTIFIER\n            next.ready = 1'b1;\n                       ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:89: syntax error, unexpected '=', expecting IDENTIFIER\n        update_state = 1'b1;\n                     ^\n%Error: data/full_repos/permissive/444559342/mp1/multiplier/hdl/add_shift_multiplier.sv:107: syntax error, unexpected IDENTIFIER, expecting assert or assume or cover or restrict\n                SHIFT: ms <= ms_shift;\n                       ^~\n%Error: Cannot continue\n"
function void init(input logic[width_p-1:0] multiplicand,
                   input logic[width_p-1:0] multiplier,
                   output mstate_s ms_next);
    ms_next.ready = 1'b0;
    ms_next.done = 1'b0;
    ms_next.iteration = 0;
    ms_next.op = ADD;

    ms_next.M = multiplicand;
    ms_next.C = 1'b0;
    ms_next.A = 0;
    ms_next.Q = multiplier;
endfunction
function void init(input logic[width_p-1:0] multiplicand,
                   input logic[width_p-1:0] multiplier,
                   output mstate_s ms_next);

    ms_next.ready = 1'b0;
    ms_next.done = 1'b0;
    ms_next.iteration = 0;
    ms_next.op = ADD;

    ms_next.M = multiplicand;
    ms_next.C = 1'b0;
    ms_next.A = 0;
    ms_next.Q = multiplier;
endfunction