data/full_repos/permissive/211316121/lab1_nexys4/sources_1/new/priority_encoder83 (2).v
1: b'%Error: Cannot find file containing module: (2).v\n        ... Looked in:\n             data/full_repos/permissive/211316121/lab1_nexys4/sources_1/new,data/full_repos/permissive/211316121/(2).v\n             data/full_repos/permissive/211316121/lab1_nexys4/sources_1/new,data/full_repos/permissive/211316121/(2).v.v\n             data/full_repos/permissive/211316121/lab1_nexys4/sources_1/new,data/full_repos/permissive/211316121/(2).v.sv\n             (2).v\n             (2).v.v\n             (2).v.sv\n             obj_dir/(2).v\n             obj_dir/(2).v.v\n             obj_dir/(2).v.sv\n%Error: Exiting due to 1 error(s)\n'
module priority_encoder83(
    input [7:0] I,
    output reg [2:0] F,
    output valid
    );
    always@(*)
        casez(I)
            8'b1???????: F=3'b111;
            8'b01??????: F=3'b110;
            8'b001?????: F=3'b101;
            8'b0001????: F=3'b100;
            8'b00001???: F=3'b011;
            8'b000001??: F=3'b010;
            8'b0000001?: F=3'b001;
            8'b00000001: F=3'b000;  
            default:F=3'b000;          
        endcase
    assign valid=|I;
endmodule
module priority_encoder83(
    input [7:0] I,
    output reg [2:0] F,
    output valid
    );

    always@(*)
        casez(I)
            8'b1???????: F=3'b111;
            8'b01??????: F=3'b110;
            8'b001?????: F=3'b101;
            8'b0001????: F=3'b100;
            8'b00001???: F=3'b011;
            8'b000001??: F=3'b010;
            8'b0000001?: F=3'b001;
            8'b00000001: F=3'b000;  
            default:F=3'b000;          
        endcase
    assign valid=|I;
endmodule