data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n  #5 CLK = !CLK;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:61: Unsupported: wait statements\n    wait (CLK == 1\'b0);                    \n    ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:62: Unsupported: Ignoring delay on this delayed statement.\n    #100 RESET = 1\'b1;                     \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:63: Unsupported: Ignoring delay on this delayed statement.\n    #10 RESET = 1\'b0;                      \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:64: Unsupported: Ignoring delay on this delayed statement.\n    #ATRASO_INICIAL;                       \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:70: Unsupported: Ignoring delay on this delayed statement.\n        #5 CARD = DATA_GAME(game, i);           \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:75: Unsupported: Ignoring delay on this delayed statement.\n        #5;                                \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:83: Unsupported: Ignoring delay on this delayed statement.\n        #30 HIT = 1\'b1;                    \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:84: Unsupported: Ignoring delay on this delayed statement.\n        #5  CARD = DATA_GAME(game, i);     \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:87: Unsupported: Ignoring delay on this delayed statement.\n        #5 HIT = 1\'b0;                     \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:89: Unsupported: Ignoring delay on this delayed statement.\n    #30 STAY = 1\'b1;                       \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:93: Unsupported: Ignoring delay on this delayed statement.\n #20\n ^\n%Error: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:97: syntax error, unexpected \'@\'\n        @(DHIT or DSTAY);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:103: Unsupported: Ignoring delay on this delayed statement.\n            #10;                               \n            ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:108: Unsupported: Ignoring delay on this delayed statement.\n    #30                                  \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/51795816/sim/tb/blackjack_tb.v:121: Unsupported: Ignoring delay on this delayed statement.\n  # 100 $finish;\n  ^\n%Error: Exiting due to 2 error(s), 14 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [2:0] EXPECTED;
input [3:0] game;
begin
    case (game)
      0: EXPECTED = 3'b100;
      1: EXPECTED = 3'b010;
      2: EXPECTED = 3'b100;
      3: EXPECTED = 3'b010;
      4: EXPECTED = 3'b100;
      5: EXPECTED = 3'b100;
      6: EXPECTED = 3'b010;
      7: EXPECTED = 3'b010;
      8: EXPECTED = 3'b001;
      9: EXPECTED = 3'b001;
      default: EXPECTED = 3'b001;
    endcase
end
endfunction
function [2:0] EXPECTED;

input [3:0] game;
begin
    case (game)
      0: EXPECTED = 3'b100;
      1: EXPECTED = 3'b010;
      2: EXPECTED = 3'b100;
      3: EXPECTED = 3'b010;
      4: EXPECTED = 3'b100;
      5: EXPECTED = 3'b100;
      6: EXPECTED = 3'b010;
      7: EXPECTED = 3'b010;
      8: EXPECTED = 3'b001;
      9: EXPECTED = 3'b001;
      default: EXPECTED = 3'b001;
    endcase
end
endfunction