data/full_repos/permissive/196412397/ov7670_controller.v
1: b"%Error: data/full_repos/permissive/196412397/ov7670_controller.v:29: Cannot find file containing module: 'i2c_sender'\ni2c_sender i2c_sender ( \n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/196412397,data/full_repos/permissive/196412397/i2c_sender\n             data/full_repos/permissive/196412397,data/full_repos/permissive/196412397/i2c_sender.v\n             data/full_repos/permissive/196412397,data/full_repos/permissive/196412397/i2c_sender.sv\n             i2c_sender\n             i2c_sender.v\n             i2c_sender.sv\n             obj_dir/i2c_sender\n             obj_dir/i2c_sender.v\n             obj_dir/i2c_sender.sv\n%Error: data/full_repos/permissive/196412397/ov7670_controller.v:39: Cannot find file containing module: 'ov7670_registers'\nov7670_registers ov7670_registers (\n^~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module ov7670_controller  ( 
            input       clk,
            inout       ov7670_sda,
            output      ov7670_scl,    
            input       resend,
            output      config_finished,
            output      ov7670_pwdn,
            output      ov7670_reset,
            output      ov7670_mclk );


   
wire [15:0] command;
wire finished;
wire taken;


localparam CAMERA_ADDR = 8'h42;



assign ov7670_reset = 1'b1;
assign ov7670_pwdn  = 1'b0;
assign ov7670_mclk  = clk;
assign config_finished = finished;


i2c_sender i2c_sender ( 
            .clk(clk),            
            .ov7670_sda(ov7670_sda),
            .ov7670_scl(ov7670_scl),
            .taken(taken),
            .send(~finished),
            .id(CAMERA_ADDR),
            .register(command[15:8]),
            .value(command[7:0]) );

ov7670_registers ov7670_registers (
            .clk(clk),      
            .resend(resend),   
            .advance(taken),  
            .command(command), 
            .finished(finished) );
endmodule
module ov7670_controller  ( 
            input       clk,
            inout       ov7670_sda,
            output      ov7670_scl,    
            input       resend,
            output      config_finished,
            output      ov7670_pwdn,
            output      ov7670_reset,
            output      ov7670_mclk );



   
wire [15:0] command;
wire finished;
wire taken;


localparam CAMERA_ADDR = 8'h42;



assign ov7670_reset = 1'b1;
assign ov7670_pwdn  = 1'b0;
assign ov7670_mclk  = clk;
assign config_finished = finished;


i2c_sender i2c_sender ( 
            .clk(clk),            
            .ov7670_sda(ov7670_sda),
            .ov7670_scl(ov7670_scl),
            .taken(taken),
            .send(~finished),
            .id(CAMERA_ADDR),
            .register(command[15:8]),
            .value(command[7:0]) );

ov7670_registers ov7670_registers (
            .clk(clk),      
            .resend(resend),   
            .advance(taken),  
            .command(command), 
            .finished(finished) );
endmodule