data/full_repos/permissive/155514739/servant/servant_ecp5.v
1: b"%Error: data/full_repos/permissive/155514739/servant/servant_ecp5.v:19: Cannot find file containing module: 'servant_ecp5_clock_gen'\n   servant_ecp5_clock_gen clock_gen\n   ^~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/155514739/servant,data/full_repos/permissive/155514739/servant_ecp5_clock_gen\n             data/full_repos/permissive/155514739/servant,data/full_repos/permissive/155514739/servant_ecp5_clock_gen.v\n             data/full_repos/permissive/155514739/servant,data/full_repos/permissive/155514739/servant_ecp5_clock_gen.sv\n             servant_ecp5_clock_gen\n             servant_ecp5_clock_gen.v\n             servant_ecp5_clock_gen.sv\n             obj_dir/servant_ecp5_clock_gen\n             obj_dir/servant_ecp5_clock_gen.v\n             obj_dir/servant_ecp5_clock_gen.sv\n%Error: data/full_repos/permissive/155514739/servant/servant_ecp5.v:25: Cannot find file containing module: 'servant'\n   servant\n   ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module servant_ecp5
(
 input wire  clk,
 input wire btn0,
 output wire wifi_gpio0,
 output wire uart_txd,
 output wire q);

   parameter memfile = "zephyr_hello.hex";
   parameter memsize = 8192;

   wire      wb_clk;
   wire      wb_rst;

   assign wifi_gpio0 = btn0;
   assign uart_txd = q;

   servant_ecp5_clock_gen clock_gen
     (.i_clk (clk),
      .i_rst (!btn0),
      .o_clk (wb_clk),
      .o_rst (wb_rst));

   servant
     #(.memfile (memfile),
       .memsize (memsize))
   servant
     (.wb_clk (wb_clk),
      .wb_rst (wb_rst),
      .q      (q));

endmodule
module servant_ecp5
(
 input wire  clk,
 input wire btn0,
 output wire wifi_gpio0,
 output wire uart_txd,
 output wire q);


   parameter memfile = "zephyr_hello.hex";
   parameter memsize = 8192;

   wire      wb_clk;
   wire      wb_rst;

   assign wifi_gpio0 = btn0;
   assign uart_txd = q;

   servant_ecp5_clock_gen clock_gen
     (.i_clk (clk),
      .i_rst (!btn0),
      .o_clk (wb_clk),
      .o_rst (wb_rst));

   servant
     #(.memfile (memfile),
       .memsize (memsize))
   servant
     (.wb_clk (wb_clk),
      .wb_rst (wb_rst),
      .q      (q));

endmodule