data/full_repos/permissive/43638243/rpi_spi.v
1: b"%Error: data/full_repos/permissive/43638243/rpi_spi.v:14: Cannot find file containing module: 'spi_slave'\n spi_slave #(16, 6) spi(clk, rst, cs, mosi, miso, sck, done, in, dout);\n ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/43638243,data/full_repos/permissive/43638243/spi_slave\n             data/full_repos/permissive/43638243,data/full_repos/permissive/43638243/spi_slave.v\n             data/full_repos/permissive/43638243,data/full_repos/permissive/43638243/spi_slave.sv\n             spi_slave\n             spi_slave.v\n             spi_slave.sv\n             obj_dir/spi_slave\n             obj_dir/spi_slave.v\n             obj_dir/spi_slave.sv\n%Error: Exiting due to 1 error(s)\n"
module rpi_spi (
	input clk,
	input cs,
	input mosi,
	output miso,
	input sck,
	output done,
	input sw,
	output [15:0] dout);

	wire [15:0] in = {15'b000000000000000, sw};

	wire rst = 0;
	spi_slave #(16, 6) spi(clk, rst, cs, mosi, miso, sck, done, in, dout);


endmodule
module rpi_spi (
	input clk,
	input cs,
	input mosi,
	output miso,
	input sck,
	output done,
	input sw,
	output [15:0] dout);


	wire [15:0] in = {15'b000000000000000, sw};

	wire rst = 0;
	spi_slave #(16, 6) spi(clk, rst, cs, mosi, miso, sck, done, in, dout);


endmodule