data/full_repos/permissive/168578692/Xlate_hx.v
data/verilator_xmls/7f9651fb-b106-4c13-981f-9a27360c5209.xml
module Xlate_hx(

  input [3:0] hex_Encoding,
  output reg [6:0] segments,
  output decimal
);


always @ (*) begin
  case(hex_Encoding)
    4'b0000: segments[6:0] = 7'b1000000;
    4'b0001: segments[6:0] = 7'b1111001;
    4'b0010: segments[6:0] = 7'b0100100;
    4'b0011: segments[6:0] = 7'b0110000;
    4'b0100: segments[6:0] = 7'b0011001;
    4'b0101: segments[6:0] = 7'b0010010;
    4'b0110: segments[6:0] = 7'b0000010;
    4'b0111: segments[6:0] = 7'b1111000;
    4'b1000: segments[6:0] = 7'b0000000;
    default: segments[6:0] = 7'b0010000;
  endcase
end
endmodule
module Xlate_hx(

  input [3:0] hex_Encoding,
  output reg [6:0] segments,
  output decimal
);



always @ (*) begin
  case(hex_Encoding)
    4'b0000: segments[6:0] = 7'b1000000;
    4'b0001: segments[6:0] = 7'b1111001;
    4'b0010: segments[6:0] = 7'b0100100;
    4'b0011: segments[6:0] = 7'b0110000;
    4'b0100: segments[6:0] = 7'b0011001;
    4'b0101: segments[6:0] = 7'b0010010;
    4'b0110: segments[6:0] = 7'b0000010;
    4'b0111: segments[6:0] = 7'b1111000;
    4'b1000: segments[6:0] = 7'b0000000;
    default: segments[6:0] = 7'b0010000;
  endcase
end
endmodule