data/full_repos/permissive/208741034/lcd/rtl/lcd.v
1: b"%Error: data/full_repos/permissive/208741034/lcd/rtl/lcd.v:27: Cannot find file containing module: 'pll'\npll pll_inst (\n^~~\n        ... Looked in:\n             data/full_repos/permissive/208741034/lcd/rtl,data/full_repos/permissive/208741034/pll\n             data/full_repos/permissive/208741034/lcd/rtl,data/full_repos/permissive/208741034/pll.v\n             data/full_repos/permissive/208741034/lcd/rtl,data/full_repos/permissive/208741034/pll.sv\n             pll\n             pll.v\n             pll.sv\n             obj_dir/pll\n             obj_dir/pll.v\n             obj_dir/pll.sv\n%Error: data/full_repos/permissive/208741034/lcd/rtl/lcd.v:34: Cannot find file containing module: 'lcd_driver'\nlcd_driver u_lcd_driver\n^~~~~~~~~~\n%Error: data/full_repos/permissive/208741034/lcd/rtl/lcd.v:54: Cannot find file containing module: 'lcd_disp'\nlcd_disp    u_lcd_disp(\n^~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module lcd(

   input  clk,
   input  rst_n,
   
   output  lcd_de,
   output  lcd_hs,
   output  lcd_vs,
   output  lcd_pclk,
   output  lcd_bl,
   output  lcd_rst,
   
   output [15 : 0] lcd_rgb_data
);

wire lcd_pclk_w;
wire pll_locked_w;
wire lcd_rst_w ;

wire [15 : 0] lcd_piexl_data;
wire [10 : 0] lcd_piexl_xpos;
wire [10 : 0] lcd_piexl_ypos;

assign lcd_rst_w = rst_n & pll_locked_w;


pll	pll_inst (
	.areset ( ~rst_n     ),
	.inclk0 ( clk        ),
	.c0     ( lcd_pclk_w ),
	.locked ( pll_locked_w )
	);

lcd_driver u_lcd_driver
(
   .clk    (lcd_pclk_w),
   .rst_n  (lcd_rst_w), 

   .lcd_de   (lcd_de   ),
   .lcd_hs   (lcd_hs   ),
   .lcd_vs   (lcd_vs   ),
   .lcd_pclk (lcd_pclk ),
   .lcd_bl   (lcd_bl   ),
   .lcd_rst  (lcd_rst  ),

   .lcd_rgb_data (lcd_rgb_data),

   .pixel_data   (lcd_piexl_data),
   .pixel_xpos   (lcd_piexl_xpos),
   .pixel_ypos   (lcd_piexl_ypos)

);

lcd_disp    u_lcd_disp(
   . clk   (lcd_pclk_w),
	. rst_n (lcd_rst_w),
	
   .pixel_data   (lcd_piexl_data),
   .pixel_xpos   (lcd_piexl_xpos),
   .pixel_ypos   (lcd_piexl_ypos)

);

endmodule
module lcd(

   input  clk,
   input  rst_n,
   
   output  lcd_de,
   output  lcd_hs,
   output  lcd_vs,
   output  lcd_pclk,
   output  lcd_bl,
   output  lcd_rst,
   
   output [15 : 0] lcd_rgb_data
);


wire lcd_pclk_w;
wire pll_locked_w;
wire lcd_rst_w ;

wire [15 : 0] lcd_piexl_data;
wire [10 : 0] lcd_piexl_xpos;
wire [10 : 0] lcd_piexl_ypos;

assign lcd_rst_w = rst_n & pll_locked_w;


pll	pll_inst (
	.areset ( ~rst_n     ),
	.inclk0 ( clk        ),
	.c0     ( lcd_pclk_w ),
	.locked ( pll_locked_w )
	);

lcd_driver u_lcd_driver
(
   .clk    (lcd_pclk_w),
   .rst_n  (lcd_rst_w), 

   .lcd_de   (lcd_de   ),
   .lcd_hs   (lcd_hs   ),
   .lcd_vs   (lcd_vs   ),
   .lcd_pclk (lcd_pclk ),
   .lcd_bl   (lcd_bl   ),
   .lcd_rst  (lcd_rst  ),

   .lcd_rgb_data (lcd_rgb_data),

   .pixel_data   (lcd_piexl_data),
   .pixel_xpos   (lcd_piexl_xpos),
   .pixel_ypos   (lcd_piexl_ypos)

);

lcd_disp    u_lcd_disp(
   . clk   (lcd_pclk_w),
	. rst_n (lcd_rst_w),
	
   .pixel_data   (lcd_piexl_data),
   .pixel_xpos   (lcd_piexl_xpos),
   .pixel_ypos   (lcd_piexl_ypos)

);

endmodule