data/full_repos/permissive/149553056/sim/vm_sim.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:24: Unsupported: Ignoring delay on this delayed statement.\nalways #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/149553056/sim/vm_sim.v:26: Unsupported: fork statements\ninitial fork\n        ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:28: Unsupported: Ignoring delay on this delayed statement.\n#0 rst=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:29: Unsupported: Ignoring delay on this delayed statement.\n#20 rst=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:30: Unsupported: Ignoring delay on this delayed statement.\n#40 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:31: Unsupported: Ignoring delay on this delayed statement.\n#60 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:32: Unsupported: Ignoring delay on this delayed statement.\n#80 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:33: Unsupported: Ignoring delay on this delayed statement.\n#100 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:34: Unsupported: Ignoring delay on this delayed statement.\n#120 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:35: Unsupported: Ignoring delay on this delayed statement.\n#140 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:36: Unsupported: Ignoring delay on this delayed statement.\n#160 buy_g1=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:37: Unsupported: Ignoring delay on this delayed statement.\n#190 buy_g1=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:38: Unsupported: Ignoring delay on this delayed statement.\n#240 ten_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:39: Unsupported: Ignoring delay on this delayed statement.\n#260 ten_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:40: Unsupported: Ignoring delay on this delayed statement.\n#280 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:41: Unsupported: Ignoring delay on this delayed statement.\n#300 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:42: Unsupported: Ignoring delay on this delayed statement.\n#320 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:43: Unsupported: Ignoring delay on this delayed statement.\n#340 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:45: Unsupported: Ignoring delay on this delayed statement.\n#360 buy_g2=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:46: Unsupported: Ignoring delay on this delayed statement.\n#390 buy_g2=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:47: Unsupported: Ignoring delay on this delayed statement.\n#440 buy_g1=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:48: Unsupported: Ignoring delay on this delayed statement.\n#470 buy_g1=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:50: Unsupported: Ignoring delay on this delayed statement.\n#570 cancel=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:51: Unsupported: Ignoring delay on this delayed statement.\n#610 cancel=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:52: Unsupported: Ignoring delay on this delayed statement.\n#660 rst=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:54: Unsupported: Ignoring delay on this delayed statement.\n#710 rst=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:55: Unsupported: Ignoring delay on this delayed statement.\n#750 one_yuan=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:56: Unsupported: Ignoring delay on this delayed statement.\n#770 one_yuan=0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/149553056/sim/vm_sim.v:57: Unsupported: Ignoring delay on this delayed statement.\n#850 rst=0;\n^\n%Error: Exiting due to 1 error(s), 28 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module vm_sim();

reg one_yuan=0;
reg ten_yuan=0;
reg clk=0;
reg rst=0;
reg cancel=0;
reg buy_g1=0;
reg buy_g2=0;

wire on;
wire occupy;
wire get_good;
wire ret_coin;
wire good1;
wire good2;
wire [7:0] AN;
wire [7:0] seg_out;

wire [3:0] status;

always #5 clk = ~clk;

initial fork

#0 rst=0;
#20 rst=1;
#40 one_yuan=1;
#60 one_yuan=0;
#80 one_yuan=1;
#100 one_yuan=0;
#120 one_yuan=1;
#140 one_yuan=0;
#160 buy_g1=1;
#190 buy_g1=0;
#240 ten_yuan=1;
#260 ten_yuan=0;
#280 one_yuan=1;
#300 one_yuan=0;
#320 one_yuan=1;
#340 one_yuan=0;

#360 buy_g2=1;
#390 buy_g2=0;
#440 buy_g1=1;
#470 buy_g1=0;

#570 cancel=1;
#610 cancel=0;
#660 rst=0;

#710 rst=1;
#750 one_yuan=1;
#770 one_yuan=0;
#850 rst=0;


join

VM vm(one_yuan, ten_yuan, clk, rst, cancel, buy_g1, buy_g2, on , occupy, get_good, ret_coin, good1, good2, AN, seg_out,status);
endmodule
module vm_sim();


reg one_yuan=0;
reg ten_yuan=0;
reg clk=0;
reg rst=0;
reg cancel=0;
reg buy_g1=0;
reg buy_g2=0;

wire on;
wire occupy;
wire get_good;
wire ret_coin;
wire good1;
wire good2;
wire [7:0] AN;
wire [7:0] seg_out;

wire [3:0] status;

always #5 clk = ~clk;

initial fork

#0 rst=0;
#20 rst=1;
#40 one_yuan=1;
#60 one_yuan=0;
#80 one_yuan=1;
#100 one_yuan=0;
#120 one_yuan=1;
#140 one_yuan=0;
#160 buy_g1=1;
#190 buy_g1=0;
#240 ten_yuan=1;
#260 ten_yuan=0;
#280 one_yuan=1;
#300 one_yuan=0;
#320 one_yuan=1;
#340 one_yuan=0;

#360 buy_g2=1;
#390 buy_g2=0;
#440 buy_g1=1;
#470 buy_g1=0;

#570 cancel=1;
#610 cancel=0;
#660 rst=0;

#710 rst=1;
#750 one_yuan=1;
#770 one_yuan=0;
#850 rst=0;


join

VM vm(one_yuan, ten_yuan, clk, rst, cancel, buy_g1, buy_g2, on , occupy, get_good, ret_coin, good1, good2, AN, seg_out,status);
endmodule