data/full_repos/permissive/131712122/rtl/verilog/vga_enh_top.v
1: b"%Error: data/full_repos/permissive/131712122/rtl/verilog/vga_enh_top.v:176: Cannot find file containing module: 'vga_wb_slave'\n vga_wb_slave wbs (\n ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/131712122/rtl/verilog,data/full_repos/permissive/131712122/vga_wb_slave\n             data/full_repos/permissive/131712122/rtl/verilog,data/full_repos/permissive/131712122/vga_wb_slave.v\n             data/full_repos/permissive/131712122/rtl/verilog,data/full_repos/permissive/131712122/vga_wb_slave.sv\n             vga_wb_slave\n             vga_wb_slave.v\n             vga_wb_slave.sv\n             obj_dir/vga_wb_slave\n             obj_dir/vga_wb_slave.v\n             obj_dir/vga_wb_slave.sv\n%Error: data/full_repos/permissive/131712122/rtl/verilog/vga_enh_top.v:244: Cannot find file containing module: 'vga_wb_master'\n vga_wb_master wbm (\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/131712122/rtl/verilog/vga_enh_top.v:287: Cannot find file containing module: 'vga_csm_pb'\n vga_csm_pb #(24, 9) clut_mem(\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/131712122/rtl/verilog/vga_enh_top.v:309: Cannot find file containing module: 'vga_pgen'\n  vga_pgen #(\n  ^~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module vga_enh_top (
	wb_clk_i, wb_rst_i, rst_i, wb_inta_o,
	wbs_adr_i, wbs_dat_i, wbs_dat_o, wbs_sel_i, wbs_we_i, wbs_stb_i, wbs_cyc_i, wbs_ack_o, wbs_rty_o, wbs_err_o,
	wbm_adr_o, wbm_dat_i, wbm_cti_o, wbm_bte_o, wbm_sel_o, wbm_we_o, wbm_stb_o, wbm_cyc_o, wbm_ack_i, wbm_err_i,
	clk_p_i,
	hsync_pad_o, vsync_pad_o, csync_pad_o, blank_pad_o, r_pad_o, g_pad_o, b_pad_o
	);




	parameter ARST_LVL = 1'b0;
	parameter LINE_FIFO_AWIDTH = 7;






	input  wb_clk_i;
	input  wb_rst_i;
	input  rst_i;
	output wb_inta_o;


	input  [11:0] wbs_adr_i;
	input  [31:0] wbs_dat_i;
	output [31:0] wbs_dat_o;
	input  [ 3:0] wbs_sel_i;
	input         wbs_we_i;
	input         wbs_stb_i;
	input         wbs_cyc_i;
	output        wbs_ack_o;
	output        wbs_rty_o;
	output        wbs_err_o;


	output [31:0] wbm_adr_o;
	input  [31:0] wbm_dat_i;
	output [ 3:0] wbm_sel_o;
	output        wbm_we_o;
	output        wbm_stb_o;
	output        wbm_cyc_o;
	output [ 2:0] wbm_cti_o;
	output [ 1:0] wbm_bte_o;
	input         wbm_ack_i;
	input         wbm_err_i;


	input         clk_p_i;
	output        hsync_pad_o;
	output        vsync_pad_o;
	output        csync_pad_o;
	output        blank_pad_o;
	output [ 7:0] r_pad_o, g_pad_o, b_pad_o;






	wire arst = rst_i ^ ARST_LVL;


	wire         ctrl_bl, ctrl_csl, ctrl_vsl, ctrl_hsl, ctrl_pc, ctrl_cbsw, ctrl_vbsw, ctrl_ven;
	wire [ 1: 0] ctrl_cd, ctrl_vbl, ctrl_dvi_odf;
	wire [ 7: 0] Thsync, Thgdel, Tvsync, Tvgdel;
	wire [15: 0] Thgate, Thlen, Tvgate, Tvlen;
	wire [31: 2] VBARa, VBARb;

	wire [ 8: 0] cursor_adr;
	wire [31: 0] cursor0_xy, cursor1_xy;
	wire         cursor0_en, cursor1_en;
	wire [31:11] cursor0_ba, cursor1_ba;
	wire         cursor0_ld, cursor1_ld;
	wire         cursor0_res, cursor1_res;
	wire [15: 0] cc0_dat_o, cc1_dat_o;


	wire stat_avmp, stat_acmp, vmem_swint, clut_swint, hint, vint, sint;
	wire wbm_busy;
	reg luint;
	wire [ 3: 0] cc0_adr_i, cc1_adr_i;


	wire        fb_data_fifo_rreq, fb_data_fifo_empty;
	wire [31:0] fb_data_fifo_q;
	wire        fb_image_done;


	wire        ext_clut_req, ext_clut_ack;
	wire [23:0] ext_clut_q;
	wire        cp_clut_req, cp_clut_ack;
	wire [ 8:0] cp_clut_adr;
	wire [23:0] cp_clut_q;


	wire resync, wbm_ven;







	vga_wb_slave wbs (

		.clk_i       ( wb_clk_i        ),
		.rst_i       ( wb_rst_i        ),
		.arst_i      ( arst            ),
		.adr_i       ( wbs_adr_i[11:2] ),
		.dat_i       ( wbs_dat_i       ),
		.dat_o       ( wbs_dat_o       ),
		.sel_i       ( wbs_sel_i       ),
		.we_i        ( wbs_we_i        ),
		.stb_i       ( wbs_stb_i       ),
		.cyc_i       ( wbs_cyc_i       ),
		.ack_o       ( wbs_ack_o       ),
		.rty_o       ( wbs_rty_o       ),
		.err_o       ( wbs_err_o       ),
		.inta_o      ( wb_inta_o       ),


		.wbm_busy    ( wbm_busy     ),
		.dvi_odf     ( ctrl_dvi_odf ),
		.bl          ( ctrl_bl      ),
		.csl         ( ctrl_csl     ),
		.vsl         ( ctrl_vsl     ),
		.hsl         ( ctrl_hsl     ),
		.pc          ( ctrl_pc      ),
		.cd          ( ctrl_cd      ),
		.vbl         ( ctrl_vbl     ),
		.cbsw        ( ctrl_cbsw    ),
		.vbsw        ( ctrl_vbsw    ),
		.ven         ( ctrl_ven     ),
		.acmp        ( stat_acmp    ),
		.avmp        ( stat_avmp    ),
		.cursor0_res ( cursor0_res  ),
		.cursor0_en  ( cursor0_en   ),
		.cursor0_xy  ( cursor0_xy   ),
		.cursor0_ba  ( cursor0_ba   ),
		.cursor0_ld  ( cursor0_ld   ),
 		.cc0_adr_i   ( cc0_adr_i    ),
		.cc0_dat_o   ( cc0_dat_o    ),
		.cursor1_res ( cursor1_res  ),
		.cursor1_en  ( cursor1_en   ),
		.cursor1_xy  ( cursor1_xy   ),
		.cursor1_ba  ( cursor1_ba   ),
		.cursor1_ld  ( cursor1_ld   ),
 		.cc1_adr_i   ( cc1_adr_i    ),
		.cc1_dat_o   ( cc1_dat_o    ),
		.vbsint_in   ( vmem_swint   ),
		.cbsint_in   ( clut_swint   ),
		.hint_in     ( hint         ),
		.vint_in     ( vint         ),
		.luint_in    ( luint        ),
		.sint_in     ( sint         ),
		.Thsync      ( Thsync       ),
		.Thgdel      ( Thgdel       ),
		.Thgate      ( Thgate       ),
		.Thlen       ( Thlen        ),
		.Tvsync      ( Tvsync       ),
		.Tvgdel      ( Tvgdel       ),
		.Tvgate      ( Tvgate       ),
		.Tvlen       ( Tvlen        ),
		.VBARa       ( VBARa        ),
		.VBARb       ( VBARb        ),
		.clut_acc    ( ext_clut_req ),
		.clut_ack    ( ext_clut_ack ),
		.clut_q      ( ext_clut_q   )
	);


	vga_wb_master wbm (

		.clk_i  ( wb_clk_i  ),
		.rst_i  ( wb_rst_i  ),
		.nrst_i ( arst      ),
		.cyc_o  ( wbm_cyc_o ),
		.stb_o  ( wbm_stb_o ),
		.cti_o  ( wbm_cti_o ),
		.bte_o  ( wbm_bte_o ),
		.we_o   ( wbm_we_o  ),
		.adr_o  ( wbm_adr_o ),
		.sel_o  ( wbm_sel_o ),
		.ack_i  ( wbm_ack_i ),
		.err_i  ( wbm_err_i ),
		.dat_i  ( wbm_dat_i ),


		.sint        (sint         ),
		.ctrl_ven    (wbm_ven      ),
		.ctrl_cd     (ctrl_cd      ),
		.ctrl_vbl    (ctrl_vbl     ),
		.ctrl_vbsw   (ctrl_vbsw    ),
		.busy        (wbm_busy     ),
		.VBAa        (VBARa        ),
		.VBAb        (VBARb        ),
		.Thgate      (Thgate       ),
		.Tvgate      (Tvgate       ),
		.stat_avmp   (stat_avmp    ),
		.vmem_switch (vmem_swint   ),

		.cursor_adr  ( cursor_adr  ),
		.cursor0_ba  ( cursor0_ba  ),
		.cursor0_ld  ( cursor0_ld  ),
		.cursor1_ba  ( cursor1_ba  ),
		.cursor1_ld  ( cursor1_ld  ),

		.fb_data_fifo_rreq  ( fb_data_fifo_rreq  ),
		.fb_data_fifo_q     ( fb_data_fifo_q     ),
		.fb_data_fifo_empty ( fb_data_fifo_empty ),
                .fb_image_done_o    ( fb_image_done      )
	);


	vga_csm_pb #(24, 9) clut_mem(
		.clk_i(wb_clk_i),


		.req0_i(cp_clut_req),
		.ack0_o(cp_clut_ack),
		.adr0_i(cp_clut_adr),
		.dat0_i(24'h0),
		.dat0_o(cp_clut_q),
		.we0_i(1'b0),


		.req1_i(ext_clut_req),
		.ack1_o(ext_clut_ack),
		.adr1_i(wbs_adr_i[10:2]),
		.dat1_i(wbs_dat_i[23:0]),
		.dat1_o(ext_clut_q),
		.we1_i(wbs_we_i)
	);



  vga_pgen #(
    .LINE_FIFO_DEPTH ( 2**LINE_FIFO_AWIDTH )
  )
  pixel_generator (
    .clk_i                ( wb_clk_i           ),
    .ctrl_ven_i           ( ctrl_ven           ),
    .ctrl_cd_i            ( ctrl_cd            ),
    .ctrl_pc_i            ( ctrl_pc            ),

    .ctrl_hsyncl_i        ( ctrl_hsl           ),
    .thsync_i             ( Thsync             ),
    .thgdel_i             ( Thgdel             ),
    .thgate_i             ( Thgate             ),
    .thlen_i              ( Thlen              ),
    .ctrl_vsyncl_i        ( ctrl_vsl           ),

    .tvsync_i             ( Tvsync             ),
    .tvgdel_i             ( Tvgdel             ),
    .tvgate_i             ( Tvgate             ),
    .tvlen_i              ( Tvlen              ),
    .ctrl_csyncl_i        ( ctrl_csl           ),
    .ctrl_blankl_i        ( ctrl_bl            ),
    .eoh_o                ( hint               ),
    .eov_o                ( vint               ),
    .line_fifo_uvf_o      ( luint              ),
    .resync_o             ( resync             ),


    .fb_data_fifo_rreq_o  ( fb_data_fifo_rreq  ),
    .fb_data_fifo_q_i     ( fb_data_fifo_q     ),
    .fb_data_fifo_empty_i ( fb_data_fifo_empty ),
    .fb_image_done_i      ( fb_image_done      ),


    .stat_acmp_i          ( stat_acmp          ),
    .clut_req_o           ( cp_clut_req        ),
    .clut_ack_i           ( cp_clut_ack        ),
    .clut_adr_o           ( cp_clut_adr        ),
    .clut_q_i             ( cp_clut_q          ),
    .ctrl_cbsw_i          ( ctrl_cbsw          ),
    .clut_switch_o        ( clut_swint         ),


    .cursor_adr_i         ( cursor_adr         ),
    .cursor0_en_i         ( cursor0_en         ),
    .cursor0_res_i        ( cursor0_res        ),
    .cursor0_xy_i         ( cursor0_xy         ),
    .cc0_adr_o            ( cc0_adr_i          ),
    .cc0_dat_i            ( cc0_dat_o          ),
    .cursor1_en_i         ( cursor1_en         ),
    .cursor1_res_i        ( cursor1_res        ),
    .cursor1_xy_i         ( cursor1_xy         ),
    .cc1_adr_o            ( cc1_adr_i          ),
    .cc1_dat_i            ( cc1_dat_o          ),


    .pclk_i               ( clk_p_i            ),
    .hsync_o              ( hsync_pad_o        ),
    .vsync_o              ( vsync_pad_o        ),
    .csync_o              ( csync_pad_o        ),
    .blank_o              ( blank_pad_o        ),
    .r_o                  ( r_pad_o            ),
    .g_o                  ( g_pad_o            ),
    .b_o                  ( b_pad_o            )
  );




  assign wbm_ven = ctrl_ven & ~resync;

endmodule
module vga_enh_top (
	wb_clk_i, wb_rst_i, rst_i, wb_inta_o,
	wbs_adr_i, wbs_dat_i, wbs_dat_o, wbs_sel_i, wbs_we_i, wbs_stb_i, wbs_cyc_i, wbs_ack_o, wbs_rty_o, wbs_err_o,
	wbm_adr_o, wbm_dat_i, wbm_cti_o, wbm_bte_o, wbm_sel_o, wbm_we_o, wbm_stb_o, wbm_cyc_o, wbm_ack_i, wbm_err_i,
	clk_p_i,
	hsync_pad_o, vsync_pad_o, csync_pad_o, blank_pad_o, r_pad_o, g_pad_o, b_pad_o
	);





	parameter ARST_LVL = 1'b0;
	parameter LINE_FIFO_AWIDTH = 7;






	input  wb_clk_i;
	input  wb_rst_i;
	input  rst_i;
	output wb_inta_o;


	input  [11:0] wbs_adr_i;
	input  [31:0] wbs_dat_i;
	output [31:0] wbs_dat_o;
	input  [ 3:0] wbs_sel_i;
	input         wbs_we_i;
	input         wbs_stb_i;
	input         wbs_cyc_i;
	output        wbs_ack_o;
	output        wbs_rty_o;
	output        wbs_err_o;


	output [31:0] wbm_adr_o;
	input  [31:0] wbm_dat_i;
	output [ 3:0] wbm_sel_o;
	output        wbm_we_o;
	output        wbm_stb_o;
	output        wbm_cyc_o;
	output [ 2:0] wbm_cti_o;
	output [ 1:0] wbm_bte_o;
	input         wbm_ack_i;
	input         wbm_err_i;


	input         clk_p_i;
	output        hsync_pad_o;
	output        vsync_pad_o;
	output        csync_pad_o;
	output        blank_pad_o;
	output [ 7:0] r_pad_o, g_pad_o, b_pad_o;






	wire arst = rst_i ^ ARST_LVL;


	wire         ctrl_bl, ctrl_csl, ctrl_vsl, ctrl_hsl, ctrl_pc, ctrl_cbsw, ctrl_vbsw, ctrl_ven;
	wire [ 1: 0] ctrl_cd, ctrl_vbl, ctrl_dvi_odf;
	wire [ 7: 0] Thsync, Thgdel, Tvsync, Tvgdel;
	wire [15: 0] Thgate, Thlen, Tvgate, Tvlen;
	wire [31: 2] VBARa, VBARb;

	wire [ 8: 0] cursor_adr;
	wire [31: 0] cursor0_xy, cursor1_xy;
	wire         cursor0_en, cursor1_en;
	wire [31:11] cursor0_ba, cursor1_ba;
	wire         cursor0_ld, cursor1_ld;
	wire         cursor0_res, cursor1_res;
	wire [15: 0] cc0_dat_o, cc1_dat_o;


	wire stat_avmp, stat_acmp, vmem_swint, clut_swint, hint, vint, sint;
	wire wbm_busy;
	reg luint;
	wire [ 3: 0] cc0_adr_i, cc1_adr_i;


	wire        fb_data_fifo_rreq, fb_data_fifo_empty;
	wire [31:0] fb_data_fifo_q;
	wire        fb_image_done;


	wire        ext_clut_req, ext_clut_ack;
	wire [23:0] ext_clut_q;
	wire        cp_clut_req, cp_clut_ack;
	wire [ 8:0] cp_clut_adr;
	wire [23:0] cp_clut_q;


	wire resync, wbm_ven;







	vga_wb_slave wbs (

		.clk_i       ( wb_clk_i        ),
		.rst_i       ( wb_rst_i        ),
		.arst_i      ( arst            ),
		.adr_i       ( wbs_adr_i[11:2] ),
		.dat_i       ( wbs_dat_i       ),
		.dat_o       ( wbs_dat_o       ),
		.sel_i       ( wbs_sel_i       ),
		.we_i        ( wbs_we_i        ),
		.stb_i       ( wbs_stb_i       ),
		.cyc_i       ( wbs_cyc_i       ),
		.ack_o       ( wbs_ack_o       ),
		.rty_o       ( wbs_rty_o       ),
		.err_o       ( wbs_err_o       ),
		.inta_o      ( wb_inta_o       ),


		.wbm_busy    ( wbm_busy     ),
		.dvi_odf     ( ctrl_dvi_odf ),
		.bl          ( ctrl_bl      ),
		.csl         ( ctrl_csl     ),
		.vsl         ( ctrl_vsl     ),
		.hsl         ( ctrl_hsl     ),
		.pc          ( ctrl_pc      ),
		.cd          ( ctrl_cd      ),
		.vbl         ( ctrl_vbl     ),
		.cbsw        ( ctrl_cbsw    ),
		.vbsw        ( ctrl_vbsw    ),
		.ven         ( ctrl_ven     ),
		.acmp        ( stat_acmp    ),
		.avmp        ( stat_avmp    ),
		.cursor0_res ( cursor0_res  ),
		.cursor0_en  ( cursor0_en   ),
		.cursor0_xy  ( cursor0_xy   ),
		.cursor0_ba  ( cursor0_ba   ),
		.cursor0_ld  ( cursor0_ld   ),
 		.cc0_adr_i   ( cc0_adr_i    ),
		.cc0_dat_o   ( cc0_dat_o    ),
		.cursor1_res ( cursor1_res  ),
		.cursor1_en  ( cursor1_en   ),
		.cursor1_xy  ( cursor1_xy   ),
		.cursor1_ba  ( cursor1_ba   ),
		.cursor1_ld  ( cursor1_ld   ),
 		.cc1_adr_i   ( cc1_adr_i    ),
		.cc1_dat_o   ( cc1_dat_o    ),
		.vbsint_in   ( vmem_swint   ),
		.cbsint_in   ( clut_swint   ),
		.hint_in     ( hint         ),
		.vint_in     ( vint         ),
		.luint_in    ( luint        ),
		.sint_in     ( sint         ),
		.Thsync      ( Thsync       ),
		.Thgdel      ( Thgdel       ),
		.Thgate      ( Thgate       ),
		.Thlen       ( Thlen        ),
		.Tvsync      ( Tvsync       ),
		.Tvgdel      ( Tvgdel       ),
		.Tvgate      ( Tvgate       ),
		.Tvlen       ( Tvlen        ),
		.VBARa       ( VBARa        ),
		.VBARb       ( VBARb        ),
		.clut_acc    ( ext_clut_req ),
		.clut_ack    ( ext_clut_ack ),
		.clut_q      ( ext_clut_q   )
	);


	vga_wb_master wbm (

		.clk_i  ( wb_clk_i  ),
		.rst_i  ( wb_rst_i  ),
		.nrst_i ( arst      ),
		.cyc_o  ( wbm_cyc_o ),
		.stb_o  ( wbm_stb_o ),
		.cti_o  ( wbm_cti_o ),
		.bte_o  ( wbm_bte_o ),
		.we_o   ( wbm_we_o  ),
		.adr_o  ( wbm_adr_o ),
		.sel_o  ( wbm_sel_o ),
		.ack_i  ( wbm_ack_i ),
		.err_i  ( wbm_err_i ),
		.dat_i  ( wbm_dat_i ),


		.sint        (sint         ),
		.ctrl_ven    (wbm_ven      ),
		.ctrl_cd     (ctrl_cd      ),
		.ctrl_vbl    (ctrl_vbl     ),
		.ctrl_vbsw   (ctrl_vbsw    ),
		.busy        (wbm_busy     ),
		.VBAa        (VBARa        ),
		.VBAb        (VBARb        ),
		.Thgate      (Thgate       ),
		.Tvgate      (Tvgate       ),
		.stat_avmp   (stat_avmp    ),
		.vmem_switch (vmem_swint   ),

		.cursor_adr  ( cursor_adr  ),
		.cursor0_ba  ( cursor0_ba  ),
		.cursor0_ld  ( cursor0_ld  ),
		.cursor1_ba  ( cursor1_ba  ),
		.cursor1_ld  ( cursor1_ld  ),

		.fb_data_fifo_rreq  ( fb_data_fifo_rreq  ),
		.fb_data_fifo_q     ( fb_data_fifo_q     ),
		.fb_data_fifo_empty ( fb_data_fifo_empty ),
                .fb_image_done_o    ( fb_image_done      )
	);


	vga_csm_pb #(24, 9) clut_mem(
		.clk_i(wb_clk_i),


		.req0_i(cp_clut_req),
		.ack0_o(cp_clut_ack),
		.adr0_i(cp_clut_adr),
		.dat0_i(24'h0),
		.dat0_o(cp_clut_q),
		.we0_i(1'b0),


		.req1_i(ext_clut_req),
		.ack1_o(ext_clut_ack),
		.adr1_i(wbs_adr_i[10:2]),
		.dat1_i(wbs_dat_i[23:0]),
		.dat1_o(ext_clut_q),
		.we1_i(wbs_we_i)
	);



  vga_pgen #(
    .LINE_FIFO_DEPTH ( 2**LINE_FIFO_AWIDTH )
  )
  pixel_generator (
    .clk_i                ( wb_clk_i           ),
    .ctrl_ven_i           ( ctrl_ven           ),
    .ctrl_cd_i            ( ctrl_cd            ),
    .ctrl_pc_i            ( ctrl_pc            ),

    .ctrl_hsyncl_i        ( ctrl_hsl           ),
    .thsync_i             ( Thsync             ),
    .thgdel_i             ( Thgdel             ),
    .thgate_i             ( Thgate             ),
    .thlen_i              ( Thlen              ),
    .ctrl_vsyncl_i        ( ctrl_vsl           ),

    .tvsync_i             ( Tvsync             ),
    .tvgdel_i             ( Tvgdel             ),
    .tvgate_i             ( Tvgate             ),
    .tvlen_i              ( Tvlen              ),
    .ctrl_csyncl_i        ( ctrl_csl           ),
    .ctrl_blankl_i        ( ctrl_bl            ),
    .eoh_o                ( hint               ),
    .eov_o                ( vint               ),
    .line_fifo_uvf_o      ( luint              ),
    .resync_o             ( resync             ),


    .fb_data_fifo_rreq_o  ( fb_data_fifo_rreq  ),
    .fb_data_fifo_q_i     ( fb_data_fifo_q     ),
    .fb_data_fifo_empty_i ( fb_data_fifo_empty ),
    .fb_image_done_i      ( fb_image_done      ),


    .stat_acmp_i          ( stat_acmp          ),
    .clut_req_o           ( cp_clut_req        ),
    .clut_ack_i           ( cp_clut_ack        ),
    .clut_adr_o           ( cp_clut_adr        ),
    .clut_q_i             ( cp_clut_q          ),
    .ctrl_cbsw_i          ( ctrl_cbsw          ),
    .clut_switch_o        ( clut_swint         ),


    .cursor_adr_i         ( cursor_adr         ),
    .cursor0_en_i         ( cursor0_en         ),
    .cursor0_res_i        ( cursor0_res        ),
    .cursor0_xy_i         ( cursor0_xy         ),
    .cc0_adr_o            ( cc0_adr_i          ),
    .cc0_dat_i            ( cc0_dat_o          ),
    .cursor1_en_i         ( cursor1_en         ),
    .cursor1_res_i        ( cursor1_res        ),
    .cursor1_xy_i         ( cursor1_xy         ),
    .cc1_adr_o            ( cc1_adr_i          ),
    .cc1_dat_i            ( cc1_dat_o          ),


    .pclk_i               ( clk_p_i            ),
    .hsync_o              ( hsync_pad_o        ),
    .vsync_o              ( vsync_pad_o        ),
    .csync_o              ( csync_pad_o        ),
    .blank_o              ( blank_pad_o        ),
    .r_o                  ( r_pad_o            ),
    .g_o                  ( g_pad_o            ),
    .b_o                  ( b_pad_o            )
  );




  assign wbm_ven = ctrl_ven & ~resync;

endmodule