data/full_repos/permissive/214176324/simulation/video_scaler_tb.v
 line:43: before: "while"
1: b'%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n #10\n ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:98: Unsupported: Ignoring delay on this delayed statement.\n    #10    \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:100: Unsupported: Ignoring delay on this delayed statement.\n    #5 forever #5 clk = !clk;\n               ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:100: Unsupported: Ignoring delay on this delayed statement.\n    #5 forever #5 clk = !clk;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:106: Unsupported: Ignoring delay on this delayed statement.\n    #10  \n    ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:108: Unsupported: Ignoring delay on this delayed statement.\n    #20 rst_n = 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:109: Unsupported: Ignoring delay on this delayed statement.\n    #20 rst_n = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:118: Unsupported: Ignoring delay on this delayed statement.\n  #10                   \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:124: Unsupported: Ignoring delay on this delayed statement.\n #10\n ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:127: Unsupported: Ignoring delay on this delayed statement.\n #80\n ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:135: Unsupported: Ignoring delay on this delayed statement.\n  #10           \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:149: Unsupported: Ignoring delay on this delayed statement.\n  #10  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:154: Unsupported: Ignoring delay on this delayed statement.\n  #(10*(OUTPUT_X_RES+1))\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:151: Unsupported: Ignoring delay on this delayed statement.\n #140000\n ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:164: Unsupported: Ignoring delay on this delayed statement.\n  #10  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:170: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Error: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:191: Cannot find file containing module: \'video_scaler\'\nvideo_scaler video_scaler_inst(\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/214176324/simulation,data/full_repos/permissive/214176324/video_scaler\n             data/full_repos/permissive/214176324/simulation,data/full_repos/permissive/214176324/video_scaler.v\n             data/full_repos/permissive/214176324/simulation,data/full_repos/permissive/214176324/video_scaler.sv\n             video_scaler\n             video_scaler.v\n             video_scaler.sv\n             obj_dir/video_scaler\n             obj_dir/video_scaler.v\n             obj_dir/video_scaler.sv\n%Warning-WIDTH: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:30: Input port connection \'inputFilename\' expects 401 bits on the pin connection, but pin connection\'s CONST \'112\'h707572655f636f6c6f722e626d70\' generates 112 bits.\n                                                                                    : ... In instance video_scaler_tb\n .inputFilename( "pure_color.bmp" ),\n  ^~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/214176324/simulation/video_scaler_tb.v:31: Input port connection \'outputFilename\' expects 401 bits on the pin connection, but pin connection\'s CONST \'272\'h6f757470757436343078343830746f3130323478373638426943756269632e726177\' generates 272 bits.\n                                                                                    : ... In instance video_scaler_tb\n .outputFilename( "output640x480to1024x768BiCubic.raw" ),\n  ^~~~~~~~~~~~~~\n%Error: Exiting due to 1 error(s), 19 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module video_scaler_tb;

wire  done;

scalerTest #(
	.INPUT_X_RES ( 640-1 ),
	.INPUT_Y_RES ( 480-1 ),
	.OUTPUT_X_RES ( 1024-1 ),
	.OUTPUT_Y_RES ( 768-1 ),

	.CHANNELS (3),
	.DATA_WIDTH ( 8 ),
	.DISCARD_CNT_WIDTH ( 8 ),
	.INPUT_X_RES_WIDTH ( 11 ),
	.INPUT_Y_RES_WIDTH ( 11 ),
	.OUTPUT_X_RES_WIDTH ( 11 ),
	.OUTPUT_Y_RES_WIDTH ( 11 ),
	.BUFFER_SIZE ( 8 )
	) scalerTest_inst (
	.inputFilename( `INPUT_PIC ),
	.outputFilename( `OUTPUT_PIC ),


	.inputDiscardCnt( 18 ),
	.leftOffset( 0 ),
	.topFracOffset( 0 ),
	.done ( done )
);
	
initial
begin
	#10
	while(done != 1'b1)
		#10
		;
	$stop;
end
 
endmodule
module video_scaler_tb;


wire  done;

scalerTest #(
	.INPUT_X_RES ( 640-1 ),
	.INPUT_Y_RES ( 480-1 ),
	.OUTPUT_X_RES ( 1024-1 ),
	.OUTPUT_Y_RES ( 768-1 ),

	.CHANNELS (3),
	.DATA_WIDTH ( 8 ),
	.DISCARD_CNT_WIDTH ( 8 ),
	.INPUT_X_RES_WIDTH ( 11 ),
	.INPUT_Y_RES_WIDTH ( 11 ),
	.OUTPUT_X_RES_WIDTH ( 11 ),
	.OUTPUT_Y_RES_WIDTH ( 11 ),
	.BUFFER_SIZE ( 8 )
	) scalerTest_inst (
	.inputFilename( `INPUT_PIC ),
	.outputFilename( `OUTPUT_PIC ),


	.inputDiscardCnt( 18 ),
	.leftOffset( 0 ),
	.topFracOffset( 0 ),
	.done ( done )
);
	
initial
begin
	#10
	while(done != 1'b1)
		#10
		;
	$stop;
end
 
endmodule