data/full_repos/permissive/116563702/sevensegmentdisplay/ssd.v
data/verilator_xmls/a7f41366-c305-4de8-be54-28619e454b75.xml
module ssd( input [3:0] data,
	    output reg [6:0] segments);

   always @(data)
     begin
	case(data)

	  0: segments = 7'b1111_110;
	  1: segments = 7'b0110_000;
	  2: segments = 7'b1101_101;
	  3: segments = 7'b1111_001;
	  4: segments = 7'b0110_011;
	  5: segments = 7'b1011_011;
	  6: segments = 7'b1011_111;
	  7: segments = 7'b1110_000;
	  8: segments = 7'b1111_111;
	  9: segments = 7'b1111_011;
	  default:
	     segments = 7'b0000_000;
	endcase
     end
endmodule
module ssd( input [3:0] data,
	    output reg [6:0] segments);


   always @(data)
     begin
	case(data)

	  0: segments = 7'b1111_110;
	  1: segments = 7'b0110_000;
	  2: segments = 7'b1101_101;
	  3: segments = 7'b1111_001;
	  4: segments = 7'b0110_011;
	  5: segments = 7'b1011_011;
	  6: segments = 7'b1011_111;
	  7: segments = 7'b1110_000;
	  8: segments = 7'b1111_111;
	  9: segments = 7'b1111_011;
	  default:
	     segments = 7'b0000_000;
	endcase
     end
endmodule