data/full_repos/permissive/188434311/verilog/fifo/async_fifo/async_fifo_grey_code.vh
 line:9: before: "localparam"
1: b"%Error: data/full_repos/permissive/188434311/verilog/fifo/async_fifo/async_fifo_grey_code.vh:98: syntax error, unexpected ':'\n    { GREY_6 , GREY_0 } :\n                        ^\n%Error: data/full_repos/permissive/188434311/verilog/fifo/async_fifo/async_fifo_grey_code.vh:121: syntax error, unexpected ':'\n    { GREY_1  , GREY_1 } : \n                         ^\n%Error: Exiting due to 2 error(s)\n"
function next_bin;
  input  [ 3 : 0 ]  inbin;
  case( inbin )
    BIN_0 : next_bin = BIN_1;
    BIN_1 : next_bin = BIN_2;
    BIN_2 : next_bin = BIN_3;
    BIN_3 : next_bin = BIN_4;
    BIN_4 : next_bin = BIN_5;
    BIN_5 : next_bin = BIN_6;
    BIN_6 : next_bin = BIN_7;
    BIN_7 : next_bin = BIN_8;
    BIN_8 : next_bin = BIN_9;
    BIN_9 : next_bin = BIN_10;
    BIN_10 : next_bin = BIN_11;
    BIN_11 : next_bin = BIN_0;
    default : next_bin = BIN_0;

  endcase
endfunction
function next_bin;

  input  [ 3 : 0 ]  inbin;
  case( inbin )
    BIN_0 : next_bin = BIN_1;
    BIN_1 : next_bin = BIN_2;
    BIN_2 : next_bin = BIN_3;
    BIN_3 : next_bin = BIN_4;
    BIN_4 : next_bin = BIN_5;
    BIN_5 : next_bin = BIN_6;
    BIN_6 : next_bin = BIN_7;
    BIN_7 : next_bin = BIN_8;
    BIN_8 : next_bin = BIN_9;
    BIN_9 : next_bin = BIN_10;
    BIN_10 : next_bin = BIN_11;
    BIN_11 : next_bin = BIN_0;
    default : next_bin = BIN_0;

  endcase
endfunction