data/full_repos/permissive/429421342/files/renamed_pixelArray.v
1: b"%Error: data/full_repos/permissive/429421342/files/renamed_pixelArray.v:51: Cannot find file containing module: 'PIXEL_SENSOR'\n  PIXEL_SENSOR #(.dv_pixel(dv_pixel1)) ps1(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[0], sensor_wire1);\n  ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/429421342/files,data/full_repos/permissive/429421342/PIXEL_SENSOR\n             data/full_repos/permissive/429421342/files,data/full_repos/permissive/429421342/PIXEL_SENSOR.v\n             data/full_repos/permissive/429421342/files,data/full_repos/permissive/429421342/PIXEL_SENSOR.sv\n             PIXEL_SENSOR\n             PIXEL_SENSOR.v\n             PIXEL_SENSOR.sv\n             obj_dir/PIXEL_SENSOR\n             obj_dir/PIXEL_SENSOR.v\n             obj_dir/PIXEL_SENSOR.sv\n%Error: data/full_repos/permissive/429421342/files/renamed_pixelArray.v:52: Cannot find file containing module: 'PIXEL_SENSOR'\n  PIXEL_SENSOR #(.dv_pixel(dv_pixel2)) ps2(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[1], sensor_wire2);\n  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/429421342/files/renamed_pixelArray.v:53: Cannot find file containing module: 'PIXEL_SENSOR'\n  PIXEL_SENSOR #(.dv_pixel(dv_pixel3)) ps3(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[2], sensor_wire3);\n  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/429421342/files/renamed_pixelArray.v:54: Cannot find file containing module: 'PIXEL_SENSOR'\n  PIXEL_SENSOR #(.dv_pixel(dv_pixel4)) ps4(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[3], sensor_wire4);\n  ^~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module PIXEL_ARRAY(
  input logic      VBN1,
  input logic      RAMP,
  input logic      CLK,
  input logic      RESET,
  input logic      ERASE,
  input logic      EXPOSE,
  input logic      CONVERT,
  input wire [3:0] READ,
  inout wire [7:0] DATA 
  );

  parameter real    dv_pixel1 = 0.01;
  parameter real    dv_pixel2 = 0.5;
  parameter real    dv_pixel3 = 0.6;
  parameter real    dv_pixel4 = 0.01;

  wire [7:0] sensor_wire1;
  wire [7:0] sensor_wire2;
  wire [7:0] sensor_wire3;
  wire [7:0] sensor_wire4;

  m41 mux(sensor_wire1, sensor_wire2, sensor_wire3, sensor_wire4, READ[0], READ[1], READ[2], READ[3], DATA);

  assign sensor_wire1 = CONVERT ? DATA : 8'bz;
  assign sensor_wire2 = CONVERT ? DATA : 8'bz;
  assign sensor_wire3 = CONVERT ? DATA : 8'bz;
  assign sensor_wire4 = CONVERT ? DATA : 8'bz;

  PIXEL_SENSOR #(.dv_pixel(dv_pixel1)) ps1(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[0], sensor_wire1);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel2)) ps2(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[1], sensor_wire2);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel3)) ps3(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[2], sensor_wire3);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel4)) ps4(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[3], sensor_wire4);


endmodule
module PIXEL_ARRAY(
  input logic      VBN1,
  input logic      RAMP,
  input logic      CLK,
  input logic      RESET,
  input logic      ERASE,
  input logic      EXPOSE,
  input logic      CONVERT,
  input wire [3:0] READ,
  inout wire [7:0] DATA 
  );


  parameter real    dv_pixel1 = 0.01;
  parameter real    dv_pixel2 = 0.5;
  parameter real    dv_pixel3 = 0.6;
  parameter real    dv_pixel4 = 0.01;

  wire [7:0] sensor_wire1;
  wire [7:0] sensor_wire2;
  wire [7:0] sensor_wire3;
  wire [7:0] sensor_wire4;

  m41 mux(sensor_wire1, sensor_wire2, sensor_wire3, sensor_wire4, READ[0], READ[1], READ[2], READ[3], DATA);

  assign sensor_wire1 = CONVERT ? DATA : 8'bz;
  assign sensor_wire2 = CONVERT ? DATA : 8'bz;
  assign sensor_wire3 = CONVERT ? DATA : 8'bz;
  assign sensor_wire4 = CONVERT ? DATA : 8'bz;

  PIXEL_SENSOR #(.dv_pixel(dv_pixel1)) ps1(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[0], sensor_wire1);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel2)) ps2(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[1], sensor_wire2);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel3)) ps3(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[2], sensor_wire3);
  PIXEL_SENSOR #(.dv_pixel(dv_pixel4)) ps4(VBN1, RAMP, RESET, ERASE, EXPOSE, READ[3], sensor_wire4);


endmodule