data/full_repos/permissive/141582589/src/vout_display_pro.v
1: b"%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:61: Cannot find file containing module: 'vout_display_timing'\nvout_display_timing vout_display_timing_m0(\n^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/141582589/src,data/full_repos/permissive/141582589/vout_display_timing\n             data/full_repos/permissive/141582589/src,data/full_repos/permissive/141582589/vout_display_timing.v\n             data/full_repos/permissive/141582589/src,data/full_repos/permissive/141582589/vout_display_timing.sv\n             vout_display_timing\n             vout_display_timing.v\n             vout_display_timing.sv\n             obj_dir/vout_display_timing\n             obj_dir/vout_display_timing.v\n             obj_dir/vout_display_timing.sv\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:86: Cannot find file containing module: 'timing_gen_xy'\ntiming_gen_xy timing_gen_xy_m0(\n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:107: Cannot find file containing module: 'layer_blend'\nlayer_blend layer_blend_m0(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:138: Cannot find file containing module: 'layer_blend'\nlayer_blend layer_blend_m1(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:168: Cannot find file containing module: 'layer_blend'\nlayer_blend layer_blend_m2(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:199: Cannot find file containing module: 'layer_blend'\nlayer_blend layer_blend_m3(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/141582589/src/vout_display_pro.v:232: Cannot find file containing module: 'ycbcr_to_rgb'\n ycbcr_to_rgb ycbcr_to_rgb_m0(\n ^~~~~~~~~~~~\n%Error: Exiting due to 7 error(s)\n"
module vout_display_pro(
	input rst_n,
	input dp_clk,
	input[11:0] h_fp,
	input[11:0] h_sync,
	input[11:0] h_bp,
	input[11:0] h_active,
	input[11:0] h_total,
	input[11:0] v_fp,
	input[11:0] v_sync,
	input[11:0] v_bp,
	input[11:0] v_active,
	input[11:0] v_total,
	output hs,
	output vs,
	output de,
	output[7:0] rgb_r,
	output[7:0] rgb_g,
	output[7:0] rgb_b,

	input[11:0] layer0_top,
	input[11:0] layer0_left,
	input[11:0] layer0_width,
	input[11:0] layer0_height,
	input[7:0] layer0_alpha,
	output layer0_rdreq,
	input[23:0] layer0_ycbcr,
	input[11:0] layer1_top,
	input[11:0] layer1_left,
	input[11:0] layer1_width,
	input[11:0] layer1_height,
	input[7:0] layer1_alpha,
	output layer1_rdreq,
	input[23:0] layer1_ycbcr,
	input[11:0] layer2_top,
	input[11:0] layer2_left,
	input[11:0] layer2_width,
	input[11:0] layer2_height,
	input[7:0] layer2_alpha,
	output layer2_rdreq,
	input[23:0] layer2_ycbcr,
	input[11:0] layer3_top,
	input[11:0] layer3_left,
	input[11:0] layer3_width,
	input[11:0] layer3_height,
	input[7:0] layer3_alpha,
	output layer3_rdreq,
	input[23:0] layer3_ycbcr
);
parameter BLUE_Y = 8'h10;
parameter BLUE_CB = 8'h80;
parameter BLUE_CR = 8'h80;
wire timing_gen_hs;
wire timing_gen_vs;
wire timing_gen_de;

vout_display_timing vout_display_timing_m0(
	.rst_n(rst_n),
	.dp_clk(dp_clk),
	.h_fp(h_fp),
	.h_sync(h_sync),
	.h_bp(h_bp),
	.h_active(h_active),
	.h_total(h_total),
	
	.v_fp(v_fp),
	.v_sync(v_sync),
	.v_bp(v_bp),
	.v_active(v_active),
	.v_total(v_total),
	
	.hs(timing_gen_hs),
	.vs(timing_gen_vs),
	.de(timing_gen_de)
);
wire xy_gen_hs;
wire xy_gen_vs;
wire xy_gen_de;
wire[11:0] xy_gen_x;
wire[11:0] xy_gen_y;

timing_gen_xy timing_gen_xy_m0(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(timing_gen_hs),
	.i_vs(timing_gen_vs),
	.i_de(timing_gen_de),
	.i_data(),
	.o_hs(xy_gen_hs),
	.o_vs(xy_gen_vs),
	.o_de(xy_gen_de),
	.o_data(),
	.x(xy_gen_x),
	.y(xy_gen_y)
);
wire layer0_hs;
wire layer0_vs;
wire layer0_de;
wire[11:0] layer0_x;
wire[11:0] layer0_y;
wire[23:0] layer0_blend_ycbcr;

layer_blend layer_blend_m0(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(xy_gen_hs),
	.i_vs(xy_gen_vs),
	.i_de(xy_gen_de),
	.i_ycbcr(layer0_ycbcr),
	.i_back_ycbcr({BLUE_Y,BLUE_CB,BLUE_CR}),
	.top(layer0_top),
	.left(layer0_left),
	.width(layer0_width),
	.height(layer0_height),
	.i_alpha(layer0_alpha),
	.rdreq(layer0_rdreq),
	.o_hs(layer0_hs),
	.o_vs(layer0_vs),
	.o_de(layer0_de),
	.i_x(xy_gen_x),
	.i_y(xy_gen_y),
	.o_x(layer0_x),
	.o_y(layer0_y),
	.o_ycbcr(layer0_blend_ycbcr)
);

wire layer1_hs;
wire layer1_vs;
wire layer1_de;
wire[11:0] layer1_x;
wire[11:0] layer1_y;
wire[23:0] layer1_blend_ycbcr;

layer_blend layer_blend_m1(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer0_hs),
	.i_vs(layer0_vs),
	.i_de(layer0_de),
	.i_ycbcr(layer1_ycbcr),
	.i_back_ycbcr(layer0_blend_ycbcr),
	.top(layer1_top),
	.left(layer1_left),
	.width(layer1_width),
	.height(layer1_height),
	.i_alpha(layer1_alpha),
	.rdreq(layer1_rdreq),
	.o_hs(layer1_hs),
	.o_vs(layer1_vs),
	.o_de(layer1_de),
	.i_x(layer0_x),
	.i_y(layer0_y),
	.o_x(layer1_x),
	.o_y(layer1_y),
	.o_ycbcr(layer1_blend_ycbcr)
);
wire layer2_hs;
wire layer2_vs;
wire layer2_de;
wire[11:0] layer2_x;
wire[11:0] layer2_y;
wire[23:0] layer2_blend_ycbcr;

layer_blend layer_blend_m2(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer1_hs),
	.i_vs(layer1_vs),
	.i_de(layer1_de),
	.i_ycbcr(layer2_ycbcr),
	.i_back_ycbcr(layer1_blend_ycbcr),
	.top(layer2_top),
	.left(layer2_left),
	.width(layer2_width),
	.height(layer2_height),
	.i_alpha(layer2_alpha),
	.rdreq(layer2_rdreq),
	.o_hs(layer2_hs),
	.o_vs(layer2_vs),
	.o_de(layer2_de),
	.i_x(layer1_x),
	.i_y(layer1_y),
	.o_x(layer2_x),
	.o_y(layer2_y),
	.o_ycbcr(layer2_blend_ycbcr)
);

wire layer3_hs;
wire layer3_vs;
wire layer3_de;
wire[11:0] layer3_x;
wire[11:0] layer3_y;
wire[23:0] layer3_blend_ycbcr;

layer_blend layer_blend_m3(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer2_hs),
	.i_vs(layer2_vs),
	.i_de(layer2_de),
	.i_ycbcr(layer3_ycbcr),
	.i_back_ycbcr(layer2_blend_ycbcr),
	.top(layer3_top),
	.left(layer3_left),
	.width(layer3_width),
	.height(layer3_height),
	.i_alpha(layer3_alpha),
	.rdreq(layer3_rdreq),
	.o_hs(layer3_hs),
	.o_vs(layer3_vs),
	.o_de(layer3_de),
	.i_x(layer2_x),
	.i_y(layer2_y),
	.o_x(layer3_x),
	.o_y(layer3_y),
	.o_ycbcr(layer3_blend_ycbcr)
);

 wire[23:0] ycbcr;
 wire ycbcr_hs;
 wire ycbcr_vs;
 wire ycbcr_de;
 assign ycbcr = layer3_blend_ycbcr;
 assign ycbcr_hs = layer3_hs;
 assign ycbcr_vs = layer3_vs;
 assign ycbcr_de = layer3_de;

 ycbcr_to_rgb ycbcr_to_rgb_m0(
	.clk(dp_clk),
	.i_y_8b(ycbcr[23:16]),
	.i_cb_8b(ycbcr[15:8]),
	.i_cr_8b(ycbcr[7:0]),
	.i_h_sync(ycbcr_hs),
	.i_v_sync(ycbcr_vs),
	.i_data_en(ycbcr_de),
						
	.o_r_8b(rgb_r),
	.o_g_8b(rgb_g),
	.o_b_8b(rgb_b),
						
	.o_h_sync(hs),
	.o_v_sync(vs),                                                                                                    
	.o_data_en(de)                                                                                                   
 );
endmodule
module vout_display_pro(
	input rst_n,
	input dp_clk,
	input[11:0] h_fp,
	input[11:0] h_sync,
	input[11:0] h_bp,
	input[11:0] h_active,
	input[11:0] h_total,
	input[11:0] v_fp,
	input[11:0] v_sync,
	input[11:0] v_bp,
	input[11:0] v_active,
	input[11:0] v_total,
	output hs,
	output vs,
	output de,
	output[7:0] rgb_r,
	output[7:0] rgb_g,
	output[7:0] rgb_b,

	input[11:0] layer0_top,
	input[11:0] layer0_left,
	input[11:0] layer0_width,
	input[11:0] layer0_height,
	input[7:0] layer0_alpha,
	output layer0_rdreq,
	input[23:0] layer0_ycbcr,
	input[11:0] layer1_top,
	input[11:0] layer1_left,
	input[11:0] layer1_width,
	input[11:0] layer1_height,
	input[7:0] layer1_alpha,
	output layer1_rdreq,
	input[23:0] layer1_ycbcr,
	input[11:0] layer2_top,
	input[11:0] layer2_left,
	input[11:0] layer2_width,
	input[11:0] layer2_height,
	input[7:0] layer2_alpha,
	output layer2_rdreq,
	input[23:0] layer2_ycbcr,
	input[11:0] layer3_top,
	input[11:0] layer3_left,
	input[11:0] layer3_width,
	input[11:0] layer3_height,
	input[7:0] layer3_alpha,
	output layer3_rdreq,
	input[23:0] layer3_ycbcr
);

parameter BLUE_Y = 8'h10;
parameter BLUE_CB = 8'h80;
parameter BLUE_CR = 8'h80;
wire timing_gen_hs;
wire timing_gen_vs;
wire timing_gen_de;

vout_display_timing vout_display_timing_m0(
	.rst_n(rst_n),
	.dp_clk(dp_clk),
	.h_fp(h_fp),
	.h_sync(h_sync),
	.h_bp(h_bp),
	.h_active(h_active),
	.h_total(h_total),
	
	.v_fp(v_fp),
	.v_sync(v_sync),
	.v_bp(v_bp),
	.v_active(v_active),
	.v_total(v_total),
	
	.hs(timing_gen_hs),
	.vs(timing_gen_vs),
	.de(timing_gen_de)
);
wire xy_gen_hs;
wire xy_gen_vs;
wire xy_gen_de;
wire[11:0] xy_gen_x;
wire[11:0] xy_gen_y;

timing_gen_xy timing_gen_xy_m0(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(timing_gen_hs),
	.i_vs(timing_gen_vs),
	.i_de(timing_gen_de),
	.i_data(),
	.o_hs(xy_gen_hs),
	.o_vs(xy_gen_vs),
	.o_de(xy_gen_de),
	.o_data(),
	.x(xy_gen_x),
	.y(xy_gen_y)
);
wire layer0_hs;
wire layer0_vs;
wire layer0_de;
wire[11:0] layer0_x;
wire[11:0] layer0_y;
wire[23:0] layer0_blend_ycbcr;

layer_blend layer_blend_m0(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(xy_gen_hs),
	.i_vs(xy_gen_vs),
	.i_de(xy_gen_de),
	.i_ycbcr(layer0_ycbcr),
	.i_back_ycbcr({BLUE_Y,BLUE_CB,BLUE_CR}),
	.top(layer0_top),
	.left(layer0_left),
	.width(layer0_width),
	.height(layer0_height),
	.i_alpha(layer0_alpha),
	.rdreq(layer0_rdreq),
	.o_hs(layer0_hs),
	.o_vs(layer0_vs),
	.o_de(layer0_de),
	.i_x(xy_gen_x),
	.i_y(xy_gen_y),
	.o_x(layer0_x),
	.o_y(layer0_y),
	.o_ycbcr(layer0_blend_ycbcr)
);

wire layer1_hs;
wire layer1_vs;
wire layer1_de;
wire[11:0] layer1_x;
wire[11:0] layer1_y;
wire[23:0] layer1_blend_ycbcr;

layer_blend layer_blend_m1(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer0_hs),
	.i_vs(layer0_vs),
	.i_de(layer0_de),
	.i_ycbcr(layer1_ycbcr),
	.i_back_ycbcr(layer0_blend_ycbcr),
	.top(layer1_top),
	.left(layer1_left),
	.width(layer1_width),
	.height(layer1_height),
	.i_alpha(layer1_alpha),
	.rdreq(layer1_rdreq),
	.o_hs(layer1_hs),
	.o_vs(layer1_vs),
	.o_de(layer1_de),
	.i_x(layer0_x),
	.i_y(layer0_y),
	.o_x(layer1_x),
	.o_y(layer1_y),
	.o_ycbcr(layer1_blend_ycbcr)
);
wire layer2_hs;
wire layer2_vs;
wire layer2_de;
wire[11:0] layer2_x;
wire[11:0] layer2_y;
wire[23:0] layer2_blend_ycbcr;

layer_blend layer_blend_m2(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer1_hs),
	.i_vs(layer1_vs),
	.i_de(layer1_de),
	.i_ycbcr(layer2_ycbcr),
	.i_back_ycbcr(layer1_blend_ycbcr),
	.top(layer2_top),
	.left(layer2_left),
	.width(layer2_width),
	.height(layer2_height),
	.i_alpha(layer2_alpha),
	.rdreq(layer2_rdreq),
	.o_hs(layer2_hs),
	.o_vs(layer2_vs),
	.o_de(layer2_de),
	.i_x(layer1_x),
	.i_y(layer1_y),
	.o_x(layer2_x),
	.o_y(layer2_y),
	.o_ycbcr(layer2_blend_ycbcr)
);

wire layer3_hs;
wire layer3_vs;
wire layer3_de;
wire[11:0] layer3_x;
wire[11:0] layer3_y;
wire[23:0] layer3_blend_ycbcr;

layer_blend layer_blend_m3(
	.rst_n(rst_n),
	.clk(dp_clk),
	.i_hs(layer2_hs),
	.i_vs(layer2_vs),
	.i_de(layer2_de),
	.i_ycbcr(layer3_ycbcr),
	.i_back_ycbcr(layer2_blend_ycbcr),
	.top(layer3_top),
	.left(layer3_left),
	.width(layer3_width),
	.height(layer3_height),
	.i_alpha(layer3_alpha),
	.rdreq(layer3_rdreq),
	.o_hs(layer3_hs),
	.o_vs(layer3_vs),
	.o_de(layer3_de),
	.i_x(layer2_x),
	.i_y(layer2_y),
	.o_x(layer3_x),
	.o_y(layer3_y),
	.o_ycbcr(layer3_blend_ycbcr)
);

 wire[23:0] ycbcr;
 wire ycbcr_hs;
 wire ycbcr_vs;
 wire ycbcr_de;
 assign ycbcr = layer3_blend_ycbcr;
 assign ycbcr_hs = layer3_hs;
 assign ycbcr_vs = layer3_vs;
 assign ycbcr_de = layer3_de;

 ycbcr_to_rgb ycbcr_to_rgb_m0(
	.clk(dp_clk),
	.i_y_8b(ycbcr[23:16]),
	.i_cb_8b(ycbcr[15:8]),
	.i_cr_8b(ycbcr[7:0]),
	.i_h_sync(ycbcr_hs),
	.i_v_sync(ycbcr_vs),
	.i_data_en(ycbcr_de),
						
	.o_r_8b(rgb_r),
	.o_g_8b(rgb_g),
	.o_b_8b(rgb_b),
						
	.o_h_sync(hs),
	.o_v_sync(vs),                                                                                                    
	.o_data_en(de)                                                                                                   
 );
endmodule