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 [3:0] priority;
        input [15:0] ipr15_ipr0;
        casex(ipr15_ipr0)
            'B???????????????1 : priority = 'B0000;
            'B??????????????10 : priority = 'B0001;
            'B?????????????100 : priority = 'B0010;
            'B????????????1000 : priority = 'B0011;
            'B???????????10000 : priority = 'B0100;
            'B??????????100000 : priority = 'B0101;
            'B?????????1000000 : priority = 'B0110;
            'B????????10000000 : priority = 'B0111;
            'B???????100000000 : priority = 'B1000;
            'B??????1000000000 : priority = 'B1001;
            'B?????10000000000 : priority = 'B1010;
            'B????100000000000 : priority = 'B1011;
            'B???1000000000000 : priority = 'B1100;
            'B??10000000000000 : priority = 'B1101;
            'B?100000000000000 : priority = 'B1110;
            'B1000000000000000 : priority = 'B1111;
            'B0000000000000000 : priority = 'BXXXX;
        endcase
    endfunction
function [3:0] priority;

        input [15:0] ipr15_ipr0;
        casex(ipr15_ipr0)
            'B???????????????1 : priority = 'B0000;
            'B??????????????10 : priority = 'B0001;
            'B?????????????100 : priority = 'B0010;
            'B????????????1000 : priority = 'B0011;
            'B???????????10000 : priority = 'B0100;
            'B??????????100000 : priority = 'B0101;
            'B?????????1000000 : priority = 'B0110;
            'B????????10000000 : priority = 'B0111;
            'B???????100000000 : priority = 'B1000;
            'B??????1000000000 : priority = 'B1001;
            'B?????10000000000 : priority = 'B1010;
            'B????100000000000 : priority = 'B1011;
            'B???1000000000000 : priority = 'B1100;
            'B??10000000000000 : priority = 'B1101;
            'B?100000000000000 : priority = 'B1110;
            'B1000000000000000 : priority = 'B1111;
            'B0000000000000000 : priority = 'BXXXX;
        endcase
    endfunction