data/full_repos/permissive/164061776/uart_loopback.v
1: b"%Error: data/full_repos/permissive/164061776/uart_loopback.v:22: Cannot find file containing module: 'uart'\n  uart #(\n  ^~~~\n        ... Looked in:\n             data/full_repos/permissive/164061776,data/full_repos/permissive/164061776/uart\n             data/full_repos/permissive/164061776,data/full_repos/permissive/164061776/uart.v\n             data/full_repos/permissive/164061776,data/full_repos/permissive/164061776/uart.sv\n             uart\n             uart.v\n             uart.sv\n             obj_dir/uart\n             obj_dir/uart.v\n             obj_dir/uart.sv\n%Error: Exiting due to 1 error(s)\n"
module uart_loopback(
  input clk,
  input rst,
  input rx,
  output tx
);




  wire [7:0] data;
  wire flag;









  uart #(
    .baud_rate(9600),
    .sys_clk_freq(50000000)
  )
  instance_name(
    .clk(clk),
    .rst(rst),
    .rx(rx),
    .tx(tx),


    .transmit(flag),
    .tx_byte(data),

    .received(flag),
    .rx_byte(data),
    .is_receiving(),
    .is_transmitting(),
    .recv_error()
  );

endmodule
module uart_loopback(
  input clk,
  input rst,
  input rx,
  output tx
);





  wire [7:0] data;
  wire flag;









  uart #(
    .baud_rate(9600),
    .sys_clk_freq(50000000)
  )
  instance_name(
    .clk(clk),
    .rst(rst),
    .rx(rx),
    .tx(tx),


    .transmit(flag),
    .tx_byte(data),

    .received(flag),
    .rx_byte(data),
    .is_receiving(),
    .is_transmitting(),
    .recv_error()
  );

endmodule