data/full_repos/permissive/218126213/flash_spi_tb.v
1: b'%Error: data/full_repos/permissive/218126213/flash_spi_tb.v:1: Cannot find include file: global_memory_parameters.v\n`include "global_memory_parameters.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/218126213,data/full_repos/permissive/218126213/global_memory_parameters.v\n             data/full_repos/permissive/218126213,data/full_repos/permissive/218126213/global_memory_parameters.v.v\n             data/full_repos/permissive/218126213,data/full_repos/permissive/218126213/global_memory_parameters.v.sv\n             global_memory_parameters.v\n             global_memory_parameters.v.v\n             global_memory_parameters.v.sv\n             obj_dir/global_memory_parameters.v\n             obj_dir/global_memory_parameters.v.v\n             obj_dir/global_memory_parameters.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/218126213/flash_spi_tb.v:29: Unsupported: Ignoring delay on this delayed statement.\n #65104 SCK=!SCK;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/218126213/flash_spi_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n #1302080 DATA_DONE=1\'b1; #130208\n ^\n%Warning-STMTDLY: data/full_repos/permissive/218126213/flash_spi_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n #1302080 DATA_DONE=1\'b1; #130208\n                          ^\n%Error: data/full_repos/permissive/218126213/flash_spi_tb.v:35: Define or directive not defined: \'`RDID\'\n DATA_DONE=1\'b0; S=1\'b0; RESET=1\'b1;D=`RDID; #130208\n                                      ^~~~~\n%Error: data/full_repos/permissive/218126213/flash_spi_tb.v:35: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n DATA_DONE=1\'b0; S=1\'b0; RESET=1\'b1;D=`RDID; #130208\n                                           ^\n%Warning-STMTDLY: data/full_repos/permissive/218126213/flash_spi_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n DATA_DONE=1\'b0; S=1\'b0; RESET=1\'b1;D=`RDID; #130208\n                                             ^\n%Error: Exiting due to 3 error(s), 4 warning(s)\n'
module flash_spi_tb();
reg SCK,S,RESET,W_ENABLE,DATA_DONE;
reg [7:0] D;
wire [7:0] Q;

memory uut(
.SCK(SCK),
.S(S),
.RESET(RESET),
.W_ENABLE(W_ENABLE),
.D(D),
.Q(Q),
.DATA_DONE(DATA_DONE)
);

initial
begin
	RESET=1'b0;
	W_ENABLE=1'b1;
	SCK=1'b0;
	S=1'b1;
	D=8'h00;
	DATA_DONE=1'b0;
end

always
	#65104 SCK=!SCK;
	
always @ (posedge SCK)
begin

	#1302080 DATA_DONE=1'b1; #130208
	DATA_DONE=1'b0; S=1'b0; RESET=1'b1;D=`RDID; #130208
	S=1'b0;
end	
endmodule
module flash_spi_tb();

reg SCK,S,RESET,W_ENABLE,DATA_DONE;
reg [7:0] D;
wire [7:0] Q;

memory uut(
.SCK(SCK),
.S(S),
.RESET(RESET),
.W_ENABLE(W_ENABLE),
.D(D),
.Q(Q),
.DATA_DONE(DATA_DONE)
);

initial
begin
	RESET=1'b0;
	W_ENABLE=1'b1;
	SCK=1'b0;
	S=1'b1;
	D=8'h00;
	DATA_DONE=1'b0;
end

always
	#65104 SCK=!SCK;
	
always @ (posedge SCK)
begin

	#1302080 DATA_DONE=1'b1; #130208
	DATA_DONE=1'b0; S=1'b0; RESET=1'b1;D=`RDID; #130208
	S=1'b0;
end	
endmodule