data/full_repos/permissive/211316121/7seg/sources_1/new/7seg.v
data/verilator_xmls/898d6c4a-8113-40ea-ab32-78151c68443d.xml
module Hex7Seg(
    input [3:0] SW,
    output reg [6:0] A2G
    );
    always@(*)
        case(SW)
            'h0:A2G='b1000000;
            'h1:A2G='b1111001;
            'h2:A2G='b0100100;
            'h3:A2G='b0110000;
            'h4:A2G='b0011001;
            'h5:A2G='b0010010;
            'h6:A2G='b0000010;
            'h7:A2G='b1111000;
            'h8:A2G='b0000000;
            'h9:A2G='b0010000;
            'hA:A2G='b0001000;
            'hB:A2G='b0000011;
            'hC:A2G='b1000110;
            'hD:A2G='b0100001;
            'hE:A2G='b0000110;
            'hF:A2G='b0001110;
            default:A2G='b1000000;
        endcase
endmodule
module Hex7Seg(
    input [3:0] SW,
    output reg [6:0] A2G
    );

    always@(*)
        case(SW)
            'h0:A2G='b1000000;
            'h1:A2G='b1111001;
            'h2:A2G='b0100100;
            'h3:A2G='b0110000;
            'h4:A2G='b0011001;
            'h5:A2G='b0010010;
            'h6:A2G='b0000010;
            'h7:A2G='b1111000;
            'h8:A2G='b0000000;
            'h9:A2G='b0010000;
            'hA:A2G='b0001000;
            'hB:A2G='b0000011;
            'hC:A2G='b1000110;
            'hD:A2G='b0100001;
            'hE:A2G='b0000110;
            'hF:A2G='b0001110;
            default:A2G='b1000000;
        endcase
endmodule