data/full_repos/permissive/423547971/College Coursework/seq_det101s_TB.v
1: b'%Error: Cannot find file containing module: Coursework,data/full_repos/permissive/423547971\n        ... Looked in:\n             data/full_repos/permissive/423547971/College/Coursework,data/full_repos/permissive/423547971\n             data/full_repos/permissive/423547971/College/Coursework,data/full_repos/permissive/423547971.v\n             data/full_repos/permissive/423547971/College/Coursework,data/full_repos/permissive/423547971.sv\n             Coursework,data/full_repos/permissive/423547971\n             Coursework,data/full_repos/permissive/423547971.v\n             Coursework,data/full_repos/permissive/423547971.sv\n             obj_dir/Coursework,data/full_repos/permissive/423547971\n             obj_dir/Coursework,data/full_repos/permissive/423547971.v\n             obj_dir/Coursework,data/full_repos/permissive/423547971.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/College\n%Error: Cannot find file containing module: Coursework/seq_det101s_TB.v\n%Error: Exiting due to 3 error(s)\n'
module seq_det101s_TB;

reg CLOCK;
reg nCLEAR;
reg nPRESET;

reg [31:0] serial_data = 32'b0001_1100_1000_1010_1001_0101_0010_1010;
integer counter = 0;

reg X = 0;
wire Y;

seq_det101s SD0(
	.CLOCK(CLOCK),
	.nCLEAR(nCLEAR),
	.nPRESET(nPRESET),
	.X(X),
	.Y(Y)
);

always @(posedge CLOCK)
begin
	X = serial_data[counter];
	counter = counter + 1;
end


always
  #10 CLOCK = !CLOCK ;
  

initial
begin
  $dumpfile("seq_det101s_TB.vcd") ;
  $dumpvars(0, seq_det101s_TB) ;
end


initial
begin
		CLOCK   = 0 ;
		nCLEAR  = 1 ;
		nPRESET = 1 ;
#500	nPRESET = 0 ;
#100	nPRESET = 1 ;
#100	nCLEAR  = 0 ;
#100	nCLEAR	= 1 ;
		

  #5000 $finish ; 
end

endmodule
module seq_det101s_TB;


reg CLOCK;
reg nCLEAR;
reg nPRESET;

reg [31:0] serial_data = 32'b0001_1100_1000_1010_1001_0101_0010_1010;
integer counter = 0;

reg X = 0;
wire Y;

seq_det101s SD0(
	.CLOCK(CLOCK),
	.nCLEAR(nCLEAR),
	.nPRESET(nPRESET),
	.X(X),
	.Y(Y)
);

always @(posedge CLOCK)
begin
	X = serial_data[counter];
	counter = counter + 1;
end


always
  #10 CLOCK = !CLOCK ;
  

initial
begin
  $dumpfile("seq_det101s_TB.vcd") ;
  $dumpvars(0, seq_det101s_TB) ;
end


initial
begin
		CLOCK   = 0 ;
		nCLEAR  = 1 ;
		nPRESET = 1 ;
#500	nPRESET = 0 ;
#100	nPRESET = 1 ;
#100	nCLEAR  = 0 ;
#100	nCLEAR	= 1 ;
		

  #5000 $finish ; 
end

endmodule