data/full_repos/permissive/217060808/bsg_async/bsg_async_credit_counter/bsg_async_credit_counter_max_tokens_p_4_lg_credit_to_token_decimation_p_16/top.v
1: b'%Warning-WIDTH: data/full_repos/permissive/217060808/bsg_async/bsg_async_credit_counter/bsg_async_credit_counter_max_tokens_p_4_lg_credit_to_token_decimation_p_16/top.v:61: Operator COND expects 3 bits on the Conditional False, but Conditional False\'s CONST \'1\'h0\' generates 1 bits.\n                                                                                                                                                                           : ... In instance top.wrapper.bapg.ptr_sync.sync_p_z_blss\n                          (N1)? iclk_data_i : 1\'b0;\n                              ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/217060808/bsg_async/bsg_async_credit_counter/bsg_async_credit_counter_max_tokens_p_4_lg_credit_to_token_decimation_p_16/top.v:154: Operator COND expects 3 bits on the Conditional False, but Conditional False\'s CONST \'1\'h0\' generates 1 bits.\n                                                                                                                                                                            : ... In instance top.wrapper.bapg\n                        (N1)? w_ptr_gray_r_o : 1\'b0;\n                            ^\n%Warning-WIDTH: data/full_repos/permissive/217060808/bsg_async/bsg_async_credit_counter/bsg_async_credit_counter_max_tokens_p_4_lg_credit_to_token_decimation_p_16/top.v:218: Operator ADD expects 19 bits on the RHS, but RHS\'s VARREF \'r_dec_credit_i\' generates 1 bits.\n                                                                                                                                                                            : ... In instance top.wrapper\n  assign { N21, N20, N19, N18, N17, N16, N15, N14, N13, N12, N11, N10, N9, N8, N7, N6, N5, N4, N3 } = r_counter_r + r_dec_credit_i;\n                                                                                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/217060808/bsg_async/bsg_async_credit_counter/bsg_async_credit_counter_max_tokens_p_4_lg_credit_to_token_decimation_p_16/top.v:220: Operator COND expects 19 bits on the Conditional False, but Conditional False\'s CONST \'1\'h0\' generates 1 bits.\n                                                                                                                                                                            : ... In instance top.wrapper\n                                                                                                             (N1)? { N21, N20, N19, N18, N17, N16, N15, N14, N13, N12, N11, N10, N9, N8, N7, N6, N5, N4, N3 } : 1\'b0;\n                                                                                                                 ^\n%Error: Exiting due to 4 warning(s)\n'
module top
(
  w_clk_i,
  w_inc_token_i,
  w_reset_i,
  r_clk_i,
  r_reset_i,
  r_dec_credit_i,
  r_infinite_credits_i,
  r_credits_avail_o
);

  input w_clk_i;
  input w_inc_token_i;
  input w_reset_i;
  input r_clk_i;
  input r_reset_i;
  input r_dec_credit_i;
  input r_infinite_credits_i;
  output r_credits_avail_o;

  bsg_async_credit_counter
  wrapper
  (
    .w_clk_i(w_clk_i),
    .w_inc_token_i(w_inc_token_i),
    .w_reset_i(w_reset_i),
    .r_clk_i(r_clk_i),
    .r_reset_i(r_reset_i),
    .r_dec_credit_i(r_dec_credit_i),
    .r_infinite_credits_i(r_infinite_credits_i),
    .r_credits_avail_o(r_credits_avail_o)
  );


endmodule
module top
(
  w_clk_i,
  w_inc_token_i,
  w_reset_i,
  r_clk_i,
  r_reset_i,
  r_dec_credit_i,
  r_infinite_credits_i,
  r_credits_avail_o
);


  input w_clk_i;
  input w_inc_token_i;
  input w_reset_i;
  input r_clk_i;
  input r_reset_i;
  input r_dec_credit_i;
  input r_infinite_credits_i;
  output r_credits_avail_o;

  bsg_async_credit_counter
  wrapper
  (
    .w_clk_i(w_clk_i),
    .w_inc_token_i(w_inc_token_i),
    .w_reset_i(w_reset_i),
    .r_clk_i(r_clk_i),
    .r_reset_i(r_reset_i),
    .r_dec_credit_i(r_dec_credit_i),
    .r_infinite_credits_i(r_infinite_credits_i),
    .r_credits_avail_o(r_credits_avail_o)
  );


endmodule