data/full_repos/permissive/214823094/lab_0/project_3/project_3.srcs/sources_1/new/decoder_3_8.v
data/verilator_xmls/cdd99e7a-3365-4add-8ce0-d3c89eab2fcd.xml
module decoder_3_8(
    input [2:0] swt,
    output [7:0] led
    );
    
    assign led[0]=~swt[0] & ~swt[1] & ~swt[2];
    assign led[1]=swt[0] & ~swt[1] & ~swt[2];
    assign led[2]=~swt[0] & swt[1] & ~swt[2];
    assign led[3]=swt[0] & swt[1] & ~swt[2];
    assign led[4]=~swt[0] & ~swt[1] & swt[2];
    assign led[5]=swt[0] & ~swt[1] & swt[2];
    assign led[6]=~swt[0] & swt[1] & swt[2];
    assign led[7]=swt[0] & swt[1] & swt[2];
    
endmodule
module decoder_3_8(
    input [2:0] swt,
    output [7:0] led
    );

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