data/full_repos/permissive/207835546/Decoder/decoder38.v
data/verilator_xmls/23a4a109-76b4-4864-8ee5-c04baad6164d.xml
module decoder38(
    input  en,
    input  a,b,
    output  reg [7:0]out);
    
    always@(*)
    begin



           case ({en,a,b})       
           3'b000  :  out = 8'b0000_0001;
           3'b001  :  out = 8'b0000_0010;
           3'b010  :  out = 8'b0000_0100;
           3'b011  :  out = 8'b0000_1000;
           3'b100  :  out = 8'b0001_0000;
           3'b101  :  out = 8'b0010_0000;
           3'b110  :  out = 8'b0100_0000;
           3'b111  :  out = 8'b1000_0000;
           default :  out = 8'bxxxx_xxxx;
           endcase

    end
    
endmodule
module decoder38(
    input  en,
    input  a,b,
    output  reg [7:0]out);

    
    always@(*)
    begin



           case ({en,a,b})       
           3'b000  :  out = 8'b0000_0001;
           3'b001  :  out = 8'b0000_0010;
           3'b010  :  out = 8'b0000_0100;
           3'b011  :  out = 8'b0000_1000;
           3'b100  :  out = 8'b0001_0000;
           3'b101  :  out = 8'b0010_0000;
           3'b110  :  out = 8'b0100_0000;
           3'b111  :  out = 8'b1000_0000;
           default :  out = 8'bxxxx_xxxx;
           endcase

    end
    
endmodule