data/full_repos/permissive/214823094/lab_1/project_3/project_3.srcs/sources_1/new/encoder_8_3.v
data/verilator_xmls/a1fd9e67-4b23-4afc-a0cb-8a7108bec3c3.xml
module encoder_8_3(
    input [7:0] swt,
    output [2:0] led
    );
    
    assign led[0]=swt[4]|swt[5]|swt[6]|swt[7];
    assign led[1]=swt[2]|swt[3]|swt[6]|swt[7];
    assign led[2]=swt[1]|swt[3]|swt[5]|swt[7];
    
endmodule
module encoder_8_3(
    input [7:0] swt,
    output [2:0] led
    );

    
    assign led[0]=swt[4]|swt[5]|swt[6]|swt[7];
    assign led[1]=swt[2]|swt[3]|swt[6]|swt[7];
    assign led[2]=swt[1]|swt[3]|swt[5]|swt[7];
    
endmodule