data/full_repos/permissive/181665138/verilog/capitolo_vii/Controllore_Interruzioni.v
 line:122: before: "=="
1: b"%Error: data/full_repos/permissive/181665138/verilog/capitolo_vii/Controllore_Interruzioni.v:122: syntax error, unexpected ==, expecting ')' or ',' or or\n    always @(reset_ == 0) #1 begin\n                    ^~\n%Error: data/full_repos/permissive/181665138/verilog/capitolo_vii/Controllore_Interruzioni.v:154: syntax error, unexpected casex\n        casex(ipr15_ipr0)\n        ^~~~~\n%Error: data/full_repos/permissive/181665138/verilog/capitolo_vii/Controllore_Interruzioni.v:177: syntax error, unexpected casex\n        casex(index)\n        ^~~~~\n%Error: Cannot continue\n"
function [15:0] decode;
        input [3:0] index;
        casex(index)
            'B0000 : decode = 'B0000000000000001;
            'B0001 : decode = 'B0000000000000010;
            'B0010 : decode = 'B0000000000000100;
            'B0011 : decode = 'B0000000000001000;
            'B0100 : decode = 'B0000000000010000;
            'B0101 : decode = 'B0000000000100000;
            'B0110 : decode = 'B0000000001000000;
            'B0111 : decode = 'B0000000010000000;
            'B1000 : decode = 'B0000000100000000;
            'B1001 : decode = 'B0000001000000000;
            'B1010 : decode = 'B0000010000000000;
            'B1011 : decode = 'B0000100000000000;
            'B1100 : decode = 'B0001000000000000;
            'B1101 : decode = 'B0010000000000000;
            'B1110 : decode = 'B0100000000000000;
            'B1111 : decode = 'B1000000000000000;
        endcase
    endfunction
function [15:0] decode;

        input [3:0] index;
        casex(index)
            'B0000 : decode = 'B0000000000000001;
            'B0001 : decode = 'B0000000000000010;
            'B0010 : decode = 'B0000000000000100;
            'B0011 : decode = 'B0000000000001000;
            'B0100 : decode = 'B0000000000010000;
            'B0101 : decode = 'B0000000000100000;
            'B0110 : decode = 'B0000000001000000;
            'B0111 : decode = 'B0000000010000000;
            'B1000 : decode = 'B0000000100000000;
            'B1001 : decode = 'B0000001000000000;
            'B1010 : decode = 'B0000010000000000;
            'B1011 : decode = 'B0000100000000000;
            'B1100 : decode = 'B0001000000000000;
            'B1101 : decode = 'B0010000000000000;
            'B1110 : decode = 'B0100000000000000;
            'B1111 : decode = 'B1000000000000000;
        endcase
    endfunction