data/full_repos/permissive/518305463/iiitb_elc_tb.v
1: b'%Error: data/full_repos/permissive/518305463/iiitb_elc_tb.v:35: Unsupported or unknown PLI call: $dumpfile\n$dumpfile ("elc.vcd"); \n^~~~~~~~~\n%Error: data/full_repos/permissive/518305463/iiitb_elc_tb.v:36: Unsupported or unknown PLI call: $dumpvars\n$dumpvars(0,elevator_controller_tb);\n^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n#0 clk =1\'b0; reset =1\'b0; over_time=1\'b0; over_weight=1\'b0;\n^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n#25 request_floor = 8\'b00000001; in_current_floor = 8\'b10000000;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n#25 reset =1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n#50 reset =0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n#50 over_time =1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n#50 over_time =0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n#50 over_weight =1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:48: Unsupported: Ignoring delay on this delayed statement.\n#100 over_weight =0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305463/iiitb_elc_tb.v:53: Unsupported: Ignoring delay on this delayed statement.\n#25 clk=~clk;\n^\n%Error: Exiting due to 2 error(s), 9 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module elevator_controller_tb;

reg [7:0]request_floor;
reg [7:0]in_current_floor;
reg clk;
reg reset;
reg over_time;
reg over_weight;

wire direction;
wire complete;
wire door_alert;
wire weight_alert;
wire [7:0] out_current_floor;

iiitb_elc UUT(
.request_floor (request_floor),
.in_current_floor (in_current_floor),
.clk(clk),
.reset (reset),
.direction (direction),
.out_current_floor (out_current_floor),
.complete (complete),
.over_time (over_time),
.over_weight (over_weight),
.door_alert (door_alert),
.weight_alert (weight_alert));




initial
begin
$dumpfile ("elc.vcd"); 
$dumpvars(0,elevator_controller_tb);
#0 clk =1'b0; reset =1'b0; over_time=1'b0; over_weight=1'b0;

#25 request_floor = 8'b00000001; in_current_floor = 8'b10000000;
#25 reset =1;
#50 reset =0;

#50 over_time =1;
#50 over_time =0;


#50 over_weight =1;
#100 over_weight =0;


end
always
#25 clk=~clk;

endmodule
module elevator_controller_tb;


reg [7:0]request_floor;
reg [7:0]in_current_floor;
reg clk;
reg reset;
reg over_time;
reg over_weight;

wire direction;
wire complete;
wire door_alert;
wire weight_alert;
wire [7:0] out_current_floor;

iiitb_elc UUT(
.request_floor (request_floor),
.in_current_floor (in_current_floor),
.clk(clk),
.reset (reset),
.direction (direction),
.out_current_floor (out_current_floor),
.complete (complete),
.over_time (over_time),
.over_weight (over_weight),
.door_alert (door_alert),
.weight_alert (weight_alert));




initial
begin
$dumpfile ("elc.vcd"); 
$dumpvars(0,elevator_controller_tb);
#0 clk =1'b0; reset =1'b0; over_time=1'b0; over_weight=1'b0;

#25 request_floor = 8'b00000001; in_current_floor = 8'b10000000;
#25 reset =1;
#50 reset =0;

#50 over_time =1;
#50 over_time =0;


#50 over_weight =1;
#100 over_weight =0;


end
always
#25 clk=~clk;

endmodule