data/full_repos/permissive/211634836/chip.v
1: b'%Warning-WIDTH: data/full_repos/permissive/211634836/chip.v:13: Operator ASSIGNW expects 3 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'h7\' generates 4 bits.\n                                                              : ... In instance chip\n  assign led[3:1] = 4\'b111;\n                  ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/211634836/chip.v:24: Cannot find file containing module: \'animationclock\'\n  animationclock theanimationlock\n  ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/211634836,data/full_repos/permissive/211634836/animationclock\n             data/full_repos/permissive/211634836,data/full_repos/permissive/211634836/animationclock.v\n             data/full_repos/permissive/211634836,data/full_repos/permissive/211634836/animationclock.sv\n             animationclock\n             animationclock.v\n             animationclock.sv\n             obj_dir/animationclock\n             obj_dir/animationclock.v\n             obj_dir/animationclock.sv\n%Error: data/full_repos/permissive/211634836/chip.v:31: Cannot find file containing module: \'ledcontroller\'\n  ledcontroller thecontroller\n  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/211634836/chip.v:54: Cannot find file containing module: \'ws2811\'\n  ws2811 driver\n  ^~~~~~\n%Error: data/full_repos/permissive/211634836/chip.v:68: Cannot find file containing module: \'pll\'\n  pll u_pll(\n  ^~~\n%Error: Exiting due to 4 error(s), 1 warning(s)\n'
module chip (

    input  clk,

    output [3:0] led,

    output dout
  );

  wire clkhigh;


  assign led[3:1] = 4'b111;
  assign led[0] = stepclock[0];

  reg [7:0] red;
  reg [7:0] green;
  reg [7:0] blue;

  reg [7:0] ledindex;
  reg [7:0] animationcounter;
  reg [7:0] stepclock;

  animationclock theanimationlock
  (
    .clk(clkhigh),
    .animationcounter(animationcounter),
    .stepclock(stepclock)
  );

  ledcontroller thecontroller
  (
    .clk(clkhigh),
    .mode(8'd1),
    .colmode(8'd2),
    .blocksize(8'd12),
    .usera_red(8'd255),
    .usera_green(8'd0),
    .usera_blue(8'd0),
    .userb_red(8'd0),
    .userb_green(8'd0),
    .userb_blue(8'd255),
    .masterfader(8'd80),
    .ledindex(ledindex),
    .animationcounter(animationcounter),
    .stepclock(stepclock),
    .glitterrate(8'd245),
    .glittervolume(8'd10),
    .red(red),
    .green(green),
    .blue(blue)
  );
  
  ws2811 driver
  (
    .clk(clkhigh),
    .reset(1'b0),

    .address(ledindex),

    .red_in(red),
    .green_in(green),
    .blue_in(blue),

    .DO(dout)
  );
   
  pll u_pll(
      .clock_in(clk),
      .clock_out(clkhigh),
      .locked()
  );

endmodule
module chip (

    input  clk,

    output [3:0] led,

    output dout
  );


  wire clkhigh;


  assign led[3:1] = 4'b111;
  assign led[0] = stepclock[0];

  reg [7:0] red;
  reg [7:0] green;
  reg [7:0] blue;

  reg [7:0] ledindex;
  reg [7:0] animationcounter;
  reg [7:0] stepclock;

  animationclock theanimationlock
  (
    .clk(clkhigh),
    .animationcounter(animationcounter),
    .stepclock(stepclock)
  );

  ledcontroller thecontroller
  (
    .clk(clkhigh),
    .mode(8'd1),
    .colmode(8'd2),
    .blocksize(8'd12),
    .usera_red(8'd255),
    .usera_green(8'd0),
    .usera_blue(8'd0),
    .userb_red(8'd0),
    .userb_green(8'd0),
    .userb_blue(8'd255),
    .masterfader(8'd80),
    .ledindex(ledindex),
    .animationcounter(animationcounter),
    .stepclock(stepclock),
    .glitterrate(8'd245),
    .glittervolume(8'd10),
    .red(red),
    .green(green),
    .blue(blue)
  );
  
  ws2811 driver
  (
    .clk(clkhigh),
    .reset(1'b0),

    .address(ledindex),

    .red_in(red),
    .green_in(green),
    .blue_in(blue),

    .DO(dout)
  );
   
  pll u_pll(
      .clock_in(clk),
      .clock_out(clkhigh),
      .locked()
  );

endmodule