data/full_repos/permissive/141582589/src/common_rtl/video/video_pro.v
 line:1 column:1: Illegal character '\x00'
1: b"%Error: data/full_repos/permissive/141582589/src/common_rtl/video/video_pro.v:59: Cannot find file containing module: 'vin_pro'\nvin_pro#\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/141582589/src/common_rtl/video,data/full_repos/permissive/141582589/vin_pro\n             data/full_repos/permissive/141582589/src/common_rtl/video,data/full_repos/permissive/141582589/vin_pro.v\n             data/full_repos/permissive/141582589/src/common_rtl/video,data/full_repos/permissive/141582589/vin_pro.sv\n             vin_pro\n             vin_pro.v\n             vin_pro.sv\n             obj_dir/vin_pro\n             obj_dir/vin_pro.v\n             obj_dir/vin_pro.sv\n%Error: data/full_repos/permissive/141582589/src/common_rtl/video/video_pro.v:87: Cannot find file containing module: 'vout_pro'\nvout_pro#\n^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module video_pro
#(
	parameter MEM_DATA_BITS = 64,
	parameter INTERLACE = 1
)
(
	input                            rst_n,
	input                            vin_pixel_clk,
	input                            vin_vs,
	input                            vin_f,
	input                            vin_pixel_de,
	input[15:0]                      vin_pixel_yc,
	input[11:0]                      clipper_top,
	input[11:0]                      clipper_left,
	input[11:0]                      clipper_width,
	input[11:0]                      clipper_height,
	input[11:0]                      vin_s_width,
	input[11:0]                      vin_s_height,
	input                            vout_pixel_clk,
	input                            vout_vs,
	input                            vout_pixel_rd_req,
	output[23:0]                     vout_pixel_ycbcr,
	input                            vout_scaler_clk,	
	input[11:0]                      vout_t_width,
	input[11:0]                      vout_t_height,
	input[15:0]                      vout_K_h,
	input[15:0]                      vout_K_v, 
	input                            mem_clk,
	output                           wr_burst_req,
	output[9:0]                      wr_burst_len,

	output[26:0]                     wr_burst_addr,
	input                            wr_burst_data_req,
	output[MEM_DATA_BITS - 1:0]      wr_burst_data,
	input                            wr_burst_finish,
	output                           rd_burst_req,
	output [9:0]                     rd_burst_len,

	output [26:0]                    rd_burst_addr,
	input                            rd_burst_data_valid,
	input[MEM_DATA_BITS - 1:0]       rd_burst_data,
	input                            rd_burst_finish,
	input[1:0]                       base_addr,
	output [1:0] frame_addr,
	input s_wr_done,
	input[1:0] s_frame_addr
);


vin_pro#
(
	.MEM_DATA_BITS(MEM_DATA_BITS),
	.INTERLACE(INTERLACE)
) vin_pro_m0(
	.rst_n(rst_n),
	.pixel_clk(vin_pixel_clk),
	.vs(vin_vs),
	.f(vin_f),
	.pixel_de(vin_pixel_de),
	.pixel_yc(vin_pixel_yc),
	.clipper_top(clipper_top),
	.clipper_left(clipper_left),
	.clipper_height(clipper_height),
	.clipper_width(clipper_width),
	.mem_clk(mem_clk),
	.wr_burst_req(wr_burst_req),
	.wr_burst_len(wr_burst_len),
	.wr_burst_addr(wr_burst_addr),
	.wr_burst_data_req(wr_burst_data_req),
	.wr_burst_data(wr_burst_data),
	.burst_finish(wr_burst_finish),
	.s_width(vin_s_width),
	.s_height(vin_s_height),
	.base_addr(base_addr),
	.frame_addr(frame_addr)
);

vout_pro#
(
	.MEM_DATA_BITS(MEM_DATA_BITS),
	.WITDH_2K(INTERLACE ? 0:1)
) vout_pro_m0(
	.rst_n(rst_n),
	.pixel_clk(vout_pixel_clk),
	.vs(vout_vs),
	.pixel_rd_req(vout_pixel_rd_req),
	.pixel_ycbcr(vout_pixel_ycbcr),
	.mem_clk(mem_clk),
	.rd_burst_req(rd_burst_req),
	.rd_burst_len(rd_burst_len),
	.rd_burst_addr(rd_burst_addr),
	.rd_burst_data_valid(rd_burst_data_valid),
	.rd_burst_data(rd_burst_data),
	.burst_finish(rd_burst_finish),
	.scaler_clk(vout_scaler_clk),
	.s_width(vin_s_width),
	.s_height(vin_s_height),
	.t_width(vout_t_width),
	.t_height(vout_t_height),
	.K_h(vout_K_h),
	.K_v(vout_K_v),
	.base_addr(base_addr),


	.wr_frame_addr(s_frame_addr),
	.s_wr_done(s_wr_done)
);
endmodule
module video_pro
#(
	parameter MEM_DATA_BITS = 64,
	parameter INTERLACE = 1
)
(
	input                            rst_n,
	input                            vin_pixel_clk,
	input                            vin_vs,
	input                            vin_f,
	input                            vin_pixel_de,
	input[15:0]                      vin_pixel_yc,
	input[11:0]                      clipper_top,
	input[11:0]                      clipper_left,
	input[11:0]                      clipper_width,
	input[11:0]                      clipper_height,
	input[11:0]                      vin_s_width,
	input[11:0]                      vin_s_height,
	input                            vout_pixel_clk,
	input                            vout_vs,
	input                            vout_pixel_rd_req,
	output[23:0]                     vout_pixel_ycbcr,
	input                            vout_scaler_clk,	
	input[11:0]                      vout_t_width,
	input[11:0]                      vout_t_height,
	input[15:0]                      vout_K_h,
	input[15:0]                      vout_K_v, 
	input                            mem_clk,
	output                           wr_burst_req,
	output[9:0]                      wr_burst_len,

	output[26:0]                     wr_burst_addr,
	input                            wr_burst_data_req,
	output[MEM_DATA_BITS - 1:0]      wr_burst_data,
	input                            wr_burst_finish,
	output                           rd_burst_req,
	output [9:0]                     rd_burst_len,

	output [26:0]                    rd_burst_addr,
	input                            rd_burst_data_valid,
	input[MEM_DATA_BITS - 1:0]       rd_burst_data,
	input                            rd_burst_finish,
	input[1:0]                       base_addr,
	output [1:0] frame_addr,
	input s_wr_done,
	input[1:0] s_frame_addr
);



vin_pro#
(
	.MEM_DATA_BITS(MEM_DATA_BITS),
	.INTERLACE(INTERLACE)
) vin_pro_m0(
	.rst_n(rst_n),
	.pixel_clk(vin_pixel_clk),
	.vs(vin_vs),
	.f(vin_f),
	.pixel_de(vin_pixel_de),
	.pixel_yc(vin_pixel_yc),
	.clipper_top(clipper_top),
	.clipper_left(clipper_left),
	.clipper_height(clipper_height),
	.clipper_width(clipper_width),
	.mem_clk(mem_clk),
	.wr_burst_req(wr_burst_req),
	.wr_burst_len(wr_burst_len),
	.wr_burst_addr(wr_burst_addr),
	.wr_burst_data_req(wr_burst_data_req),
	.wr_burst_data(wr_burst_data),
	.burst_finish(wr_burst_finish),
	.s_width(vin_s_width),
	.s_height(vin_s_height),
	.base_addr(base_addr),
	.frame_addr(frame_addr)
);

vout_pro#
(
	.MEM_DATA_BITS(MEM_DATA_BITS),
	.WITDH_2K(INTERLACE ? 0:1)
) vout_pro_m0(
	.rst_n(rst_n),
	.pixel_clk(vout_pixel_clk),
	.vs(vout_vs),
	.pixel_rd_req(vout_pixel_rd_req),
	.pixel_ycbcr(vout_pixel_ycbcr),
	.mem_clk(mem_clk),
	.rd_burst_req(rd_burst_req),
	.rd_burst_len(rd_burst_len),
	.rd_burst_addr(rd_burst_addr),
	.rd_burst_data_valid(rd_burst_data_valid),
	.rd_burst_data(rd_burst_data),
	.burst_finish(rd_burst_finish),
	.scaler_clk(vout_scaler_clk),
	.s_width(vin_s_width),
	.s_height(vin_s_height),
	.t_width(vout_t_width),
	.t_height(vout_t_height),
	.K_h(vout_K_h),
	.K_v(vout_K_v),
	.base_addr(base_addr),


	.wr_frame_addr(s_frame_addr),
	.s_wr_done(s_wr_done)
);
endmodule