data/full_repos/permissive/461620575/Simple DACs/Delta-Sigma/DAC_tb.v
1: b'%Error: Cannot find file containing module: DACs/Delta-Sigma,data/full_repos/permissive/461620575\n        ... Looked in:\n             data/full_repos/permissive/461620575/Simple/DACs/Delta-Sigma,data/full_repos/permissive/461620575\n             data/full_repos/permissive/461620575/Simple/DACs/Delta-Sigma,data/full_repos/permissive/461620575.v\n             data/full_repos/permissive/461620575/Simple/DACs/Delta-Sigma,data/full_repos/permissive/461620575.sv\n             DACs/Delta-Sigma,data/full_repos/permissive/461620575\n             DACs/Delta-Sigma,data/full_repos/permissive/461620575.v\n             DACs/Delta-Sigma,data/full_repos/permissive/461620575.sv\n             obj_dir/DACs/Delta-Sigma,data/full_repos/permissive/461620575\n             obj_dir/DACs/Delta-Sigma,data/full_repos/permissive/461620575.v\n             obj_dir/DACs/Delta-Sigma,data/full_repos/permissive/461620575.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/461620575/Simple\n%Error: Cannot find file containing module: DACs/Delta-Sigma/DAC_tb.v\n%Error: Exiting due to 3 error(s)\n'
module DAC_tb;

	reg clk;
	reg rst;
	reg [9:0] DAC_in;
	
	wire DAC_out;
	
	DAC #(.WIDTH(10)) uut (.clk(clk), .rst(rst), .DAC_in(DAC_in), .DAC_out(DAC_out));
	
	integer i;
	integer frac;
	
	initial begin
		clk = 1'b0;
		rst = 1'b1;
		DAC_in = 10'b0;
		
		#10;
		rst = 1'b0;
		#10;
		







				
		frac = 8;
		for(i = frac; i >= 0; i = i - 1) begin
			DAC_in = (10'h3FF * i) / frac; 
			#1000;			
		end
		
		$stop;	
	end

	always 
		#5 clk = ~clk;

endmodule
module DAC_tb;


	reg clk;
	reg rst;
	reg [9:0] DAC_in;
	
	wire DAC_out;
	
	DAC #(.WIDTH(10)) uut (.clk(clk), .rst(rst), .DAC_in(DAC_in), .DAC_out(DAC_out));
	
	integer i;
	integer frac;
	
	initial begin
		clk = 1'b0;
		rst = 1'b1;
		DAC_in = 10'b0;
		
		#10;
		rst = 1'b0;
		#10;
		







				
		frac = 8;
		for(i = frac; i >= 0; i = i - 1) begin
			DAC_in = (10'h3FF * i) / frac; 
			#1000;			
		end
		
		$stop;	
	end

	always 
		#5 clk = ~clk;

endmodule