data/full_repos/permissive/455223995/src/slzw_lib.v
1: b'%Error: data/full_repos/permissive/455223995/src/slzw_lib.v:50: syntax error, unexpected byte, expecting IDENTIFIER or \'[\' or do or final\n  input   [7:0] byte,\n                ^~~~\n%Error: data/full_repos/permissive/455223995/src/slzw_lib.v:56: syntax error, unexpected \'[\', expecting "\'{"\nwire [13:0] num1 = {1\'b0, byte[4:0], byte[7:0]};\n                              ^\n%Error: data/full_repos/permissive/455223995/src/slzw_lib.v:62: syntax error, unexpected assign\nassign haddr      = num1 + num2;\n^~~~~~\n%Error: Exiting due to 3 error(s)\n'
module slzw_hash
(
  input  [12:0] code,
  input   [7:0] byte,

  output [13:0] haddr

 );

wire [13:0] num1 = {1'b0, byte[4:0], byte[7:0]};
wire [13:0] num2 = {1'b0, code[ 0], code[ 1], code[ 2], code[ 3],
                          code[ 4], code[ 5], code[ 6], code[ 7],
                          code[ 8], code[ 9], code[10], code[11],
                          code[12]};

assign haddr      = num1 + num2;

endmodule
module slzw_hash
(
  input  [12:0] code,
  input   [7:0] byte,

  output [13:0] haddr

 );


wire [13:0] num1 = {1'b0, byte[4:0], byte[7:0]};
wire [13:0] num2 = {1'b0, code[ 0], code[ 1], code[ 2], code[ 3],
                          code[ 4], code[ 5], code[ 6], code[ 7],
                          code[ 8], code[ 9], code[10], code[11],
                          code[12]};

assign haddr      = num1 + num2;

endmodule