data/full_repos/permissive/514313792/prj_qsys/avalon_vip/vip/vip_top_wrapper.v
1: b"%Error: data/full_repos/permissive/514313792/prj_qsys/avalon_vip/vip/vip_top_wrapper.v:39: Cannot find file containing module: 'vip_top'\n vip_top #(BITS, WIDTH, HEIGHT) vip_top_i0 (\n ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/514313792/prj_qsys/avalon_vip/vip,data/full_repos/permissive/514313792/vip_top\n             data/full_repos/permissive/514313792/prj_qsys/avalon_vip/vip,data/full_repos/permissive/514313792/vip_top.v\n             data/full_repos/permissive/514313792/prj_qsys/avalon_vip/vip,data/full_repos/permissive/514313792/vip_top.sv\n             vip_top\n             vip_top.v\n             vip_top.sv\n             obj_dir/vip_top\n             obj_dir/vip_top.v\n             obj_dir/vip_top.sv\n%Error: Exiting due to 1 error(s)\n"
module vip_top_wrapper
#(
	parameter BITS = 8,
	parameter WIDTH = 1280,
	parameter HEIGHT = 960
)
(
	input pclk,
	input rst_n,
	
	input in_href,
	input in_vsync,
	input [BITS-1:0] in_y,
	input [BITS-1:0] in_u,
	input [BITS-1:0] in_v,
	
	output out_pclk,
	output out_href,
	output out_vsync,
	output [BITS-1:0] out_r,
	output [BITS-1:0] out_g,
	output [BITS-1:0] out_b
);

	localparam EN_HIST_EQU = 1'b0;
	localparam EN_SOBEL = 1'b0;
	localparam EN_YUV2RGB = 1'b1;
	localparam EN_DSCALE = 1'b1;
	localparam DSCALE_SCALE = 4'd1;

	vip_top #(BITS, WIDTH, HEIGHT) vip_top_i0 (
			.pclk(pclk),
			.rst_n(rst_n),
			
			.in_href(in_href),
			.in_vsync(in_vsync),
			.in_y(in_y),
			.in_u(in_u),
			.in_v(in_v),
			
			.out_pclk(out_pclk),
			.out_href(out_href),
			.out_vsync(out_vsync),
			.out_r(out_r),
			.out_g(out_g),
			.out_b(out_b),

			.hist_equ_en(EN_HIST_EQU),
			.sobel_en(EN_SOBEL),
			.yuv2rgb_en(EN_YUV2RGB),
			.dscale_en(EN_DSCALE),
			.dscale_scale(DSCALE_SCALE)
		);
endmodule
module vip_top_wrapper
#(
	parameter BITS = 8,
	parameter WIDTH = 1280,
	parameter HEIGHT = 960
)
(
	input pclk,
	input rst_n,
	
	input in_href,
	input in_vsync,
	input [BITS-1:0] in_y,
	input [BITS-1:0] in_u,
	input [BITS-1:0] in_v,
	
	output out_pclk,
	output out_href,
	output out_vsync,
	output [BITS-1:0] out_r,
	output [BITS-1:0] out_g,
	output [BITS-1:0] out_b
);


	localparam EN_HIST_EQU = 1'b0;
	localparam EN_SOBEL = 1'b0;
	localparam EN_YUV2RGB = 1'b1;
	localparam EN_DSCALE = 1'b1;
	localparam DSCALE_SCALE = 4'd1;

	vip_top #(BITS, WIDTH, HEIGHT) vip_top_i0 (
			.pclk(pclk),
			.rst_n(rst_n),
			
			.in_href(in_href),
			.in_vsync(in_vsync),
			.in_y(in_y),
			.in_u(in_u),
			.in_v(in_v),
			
			.out_pclk(out_pclk),
			.out_href(out_href),
			.out_vsync(out_vsync),
			.out_r(out_r),
			.out_g(out_g),
			.out_b(out_b),

			.hist_equ_en(EN_HIST_EQU),
			.sobel_en(EN_SOBEL),
			.yuv2rgb_en(EN_YUV2RGB),
			.dscale_en(EN_DSCALE),
			.dscale_scale(DSCALE_SCALE)
		);
endmodule