data/full_repos/permissive/176628218/seven_seg_driver.v
'utf-8' codec can't decode byte 0xc6 in position 627: invalid continuation byte
data/verilator_xmls/ad1b3939-b3c9-47ad-93e2-29c608ea9e10.xml
module seven_seg_driver(
    input [3:0]num,
    input point,
    output reg [7:0]seg);
    
    always@ (num or point) begin
        case (num)
            0: begin
                if (point == 0) 
                    seg = 8'b11000000;
                else
                    seg = 8'b01000000;
            end
            1: begin
                if (point == 0) 
                    seg = 8'b11111001;
                else
                    seg = 8'b01111001;
            end                    
            2: begin
                if (point == 0) 
                    seg = 8'b10100100;
                else
                    seg = 8'b00100100;
            end
            3: begin
                if (point == 0) 
                    seg = 8'b10110000;
                else
                    seg = 8'b00110000;
            end   
            4: begin
                if (point == 0) 
                    seg = 8'b10011001;
                else
                    seg = 8'b00011001;
            end
            5: begin
                if (point == 0) 
                    seg = 8'b10010010;
                else
                    seg = 8'b00010010;
            end                    
            6: begin
                if (point == 0) 
                    seg = 8'b10000010;
                else
                    seg = 8'b00000010;
            end
            7: begin
                if (point == 0) 
                    seg = 8'b11111000;
                else
                    seg = 8'b01111000;
            end 
            8: begin
                if (point == 0)
                    seg = 8'b10000000;
                else
                    seg = 8'b00000000;
            end
            9: begin
                if (point == 0)
                    seg = 8'b10010000;
                else
                    seg = 8'b00010000;
            end
            10: begin

                seg = 8'b10001001;
            end
            
            11: begin

                seg = 8'b10000110;
            end
            
            12: begin

                seg = 8'b11000111;
                
            end
            
            13: begin

                seg = 8'b11000000;
            end
            default: begin
                seg = 8'b11111111;
            end
				
        endcase
    end
        
endmodule
module seven_seg_driver(
    input [3:0]num,
    input point,
    output reg [7:0]seg);

    
    always@ (num or point) begin
        case (num)
            0: begin
                if (point == 0) 
                    seg = 8'b11000000;
                else
                    seg = 8'b01000000;
            end
            1: begin
                if (point == 0) 
                    seg = 8'b11111001;
                else
                    seg = 8'b01111001;
            end                    
            2: begin
                if (point == 0) 
                    seg = 8'b10100100;
                else
                    seg = 8'b00100100;
            end
            3: begin
                if (point == 0) 
                    seg = 8'b10110000;
                else
                    seg = 8'b00110000;
            end   
            4: begin
                if (point == 0) 
                    seg = 8'b10011001;
                else
                    seg = 8'b00011001;
            end
            5: begin
                if (point == 0) 
                    seg = 8'b10010010;
                else
                    seg = 8'b00010010;
            end                    
            6: begin
                if (point == 0) 
                    seg = 8'b10000010;
                else
                    seg = 8'b00000010;
            end
            7: begin
                if (point == 0) 
                    seg = 8'b11111000;
                else
                    seg = 8'b01111000;
            end 
            8: begin
                if (point == 0)
                    seg = 8'b10000000;
                else
                    seg = 8'b00000000;
            end
            9: begin
                if (point == 0)
                    seg = 8'b10010000;
                else
                    seg = 8'b00010000;
            end
            10: begin

                seg = 8'b10001001;
            end
            
            11: begin

                seg = 8'b10000110;
            end
            
            12: begin

                seg = 8'b11000111;
                
            end
            
            13: begin

                seg = 8'b11000000;
            end
            default: begin
                seg = 8'b11111111;
            end
				
        endcase
    end
        
endmodule