data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v
1: b'%Error: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:174: Unsupported: wait statements\n  wait (tb_rst);    \n  ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:176: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:193: Unsupported: wait statements\n  wait (!tb_rst);   \n  ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:195: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:200: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:205: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:221: Unsupported: Ignoring delay on this delayed statement.\n      # COMB_DELAY;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:226: Unsupported: Ignoring delay on this delayed statement.\n      # COMB_DELAY;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:241: Unsupported: Ignoring delay on this delayed statement.\n      # COMB_DELAY;\n      ^\n%Error: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:254: Unsupported: wait statements\n    wait (tb_old_ack != uut_ispl_ack);\n    ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:256: Unsupported: Ignoring delay on this delayed statement.\n    # SPL_HSDLY;   \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:389: Unsupported: Ignoring delay on this delayed statement.\n  # INIT_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:393: Unsupported: Ignoring delay on this delayed statement.\n  # RST_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:395: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:410: Unsupported: Ignoring delay on this delayed statement.\n    # UUT_CLK0_HPER;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:426: Unsupported: Ignoring delay on this delayed statement.\n    # UUT_CLK1_HPER;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:441: Unsupported: Ignoring delay on this delayed statement.\n  # INIT_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:445: Unsupported: Ignoring delay on this delayed statement.\n  # RST_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:447: Unsupported: Ignoring delay on this delayed statement.\n  # COMB_DELAY;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/19591557/modules/spinnaker_link/spio_spinnaker_link_receiver_sync_fifo_tb.v:462: Unsupported: Ignoring delay on this delayed statement.\n    # TB_CLK_HPER;\n    ^\n%Error: Exiting due to 3 error(s), 17 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [6:0] encode_nrz_2of7 ;
  input [4:0] data;
  input [6:0] old_data;

  casex (data)
    5'b00000 : encode_nrz_2of7 = old_data ^ 7'b0010001;
    5'b00001 : encode_nrz_2of7 = old_data ^ 7'b0010010;
    5'b00010 : encode_nrz_2of7 = old_data ^ 7'b0010100;
    5'b00011 : encode_nrz_2of7 = old_data ^ 7'b0011000;
    5'b00100 : encode_nrz_2of7 = old_data ^ 7'b0100001;
    5'b00101 : encode_nrz_2of7 = old_data ^ 7'b0100010;
    5'b00110 : encode_nrz_2of7 = old_data ^ 7'b0100100;
    5'b00111 : encode_nrz_2of7 = old_data ^ 7'b0101000;
    5'b01000 : encode_nrz_2of7 = old_data ^ 7'b1000001;
    5'b01001 : encode_nrz_2of7 = old_data ^ 7'b1000010;
    5'b01010 : encode_nrz_2of7 = old_data ^ 7'b1000100;
    5'b01011 : encode_nrz_2of7 = old_data ^ 7'b1001000;
    5'b01100 : encode_nrz_2of7 = old_data ^ 7'b0000011;
    5'b01101 : encode_nrz_2of7 = old_data ^ 7'b0000110;
    5'b01110 : encode_nrz_2of7 = old_data ^ 7'b0001100;
    5'b01111 : encode_nrz_2of7 = old_data ^ 7'b0001001;
    5'b1xxxx : encode_nrz_2of7 = old_data ^ 7'b1100000;
    default  : encode_nrz_2of7 = 7'bxxxxxxx;
  endcase
endfunction
function [6:0] encode_nrz_2of7 ;

  input [4:0] data;
  input [6:0] old_data;

  casex (data)
    5'b00000 : encode_nrz_2of7 = old_data ^ 7'b0010001;
    5'b00001 : encode_nrz_2of7 = old_data ^ 7'b0010010;
    5'b00010 : encode_nrz_2of7 = old_data ^ 7'b0010100;
    5'b00011 : encode_nrz_2of7 = old_data ^ 7'b0011000;
    5'b00100 : encode_nrz_2of7 = old_data ^ 7'b0100001;
    5'b00101 : encode_nrz_2of7 = old_data ^ 7'b0100010;
    5'b00110 : encode_nrz_2of7 = old_data ^ 7'b0100100;
    5'b00111 : encode_nrz_2of7 = old_data ^ 7'b0101000;
    5'b01000 : encode_nrz_2of7 = old_data ^ 7'b1000001;
    5'b01001 : encode_nrz_2of7 = old_data ^ 7'b1000010;
    5'b01010 : encode_nrz_2of7 = old_data ^ 7'b1000100;
    5'b01011 : encode_nrz_2of7 = old_data ^ 7'b1001000;
    5'b01100 : encode_nrz_2of7 = old_data ^ 7'b0000011;
    5'b01101 : encode_nrz_2of7 = old_data ^ 7'b0000110;
    5'b01110 : encode_nrz_2of7 = old_data ^ 7'b0001100;
    5'b01111 : encode_nrz_2of7 = old_data ^ 7'b0001001;
    5'b1xxxx : encode_nrz_2of7 = old_data ^ 7'b1100000;
    default  : encode_nrz_2of7 = 7'bxxxxxxx;
  endcase
endfunction