data/full_repos/permissive/133863909/Implementation of a Barcode Reader/testbench.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: Cannot find file containing module: of\n        ... Looked in:\n             data/full_repos/permissive/133863909/Implementation/of\n             data/full_repos/permissive/133863909/Implementation/of.v\n             data/full_repos/permissive/133863909/Implementation/of.sv\n             of\n             of.v\n             of.sv\n             obj_dir/of\n             obj_dir/of.v\n             obj_dir/of.sv\n%Error: Cannot find file containing module: a\n%Error: Cannot find file containing module: Barcode\n%Error: Cannot find file containing module: Reader,data/full_repos/permissive/133863909\n%Error: Cannot find file containing module: data/full_repos/permissive/133863909/Implementation\n%Error: Cannot find file containing module: Reader/testbench.v\n%Error: Exiting due to 6 error(s)\n'
module Testbench();

reg B, Clk, Rst;
wire [1:0] Y;


always begin
	Clk <= 0;
	#10;
	Clk <= 1;
	#10;
end

Barcode barcode(B, Y, Clk, Rst);

initial begin
    $dumpfile("TimingDiagram.vcd");
	$dumpvars(0, B, Y, Clk, Rst);
	
	Rst = 1;
	#15 Rst = 0;
	#5 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;

	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20;
	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;

	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20;
	
    $finish;
end

endmodule
module Testbench();


reg B, Clk, Rst;
wire [1:0] Y;


always begin
	Clk <= 0;
	#10;
	Clk <= 1;
	#10;
end

Barcode barcode(B, Y, Clk, Rst);

initial begin
    $dumpfile("TimingDiagram.vcd");
	$dumpvars(0, B, Y, Clk, Rst);
	
	Rst = 1;
	#15 Rst = 0;
	#5 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;

	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20;
	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;

	
	#20 Rst = 1;
	#15 Rst = 0;
	#5 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 0;
	#20 B = 0;
	#20 B = 1;
	#20 B = 1;
	#20;
	
    $finish;
end

endmodule