data/full_repos/permissive/162924824/test2/comun/fantasma_rebotando.v
'utf-8' codec can't decode byte 0xe1 in position 1079: invalid continuation byte
1: b"%Error: data/full_repos/permissive/162924824/test2/comun/fantasma_rebotando.v:35: Cannot find file containing module: 'videosyncs'\n  videosyncs sincronismos (\n  ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/162924824/test2/comun,data/full_repos/permissive/162924824/videosyncs\n             data/full_repos/permissive/162924824/test2/comun,data/full_repos/permissive/162924824/videosyncs.v\n             data/full_repos/permissive/162924824/test2/comun,data/full_repos/permissive/162924824/videosyncs.sv\n             videosyncs\n             videosyncs.v\n             videosyncs.sv\n             obj_dir/videosyncs\n             obj_dir/videosyncs.v\n             obj_dir/videosyncs.sv\n%Error: data/full_repos/permissive/162924824/test2/comun/fantasma_rebotando.v:44: Cannot find file containing module: 'fondo'\n  fondo los_cuadraditos (\n  ^~~~~\n%Error: data/full_repos/permissive/162924824/test2/comun/fantasma_rebotando.v:53: Cannot find file containing module: 'sprite'\n  sprite el_fantasma (\n  ^~~~~~\n%Error: data/full_repos/permissive/162924824/test2/comun/fantasma_rebotando.v:67: Cannot find file containing module: 'update'\n  update actualiza_pos_fantasma (\n  ^~~~~~\n%Error: Exiting due to 4 error(s)\n"
module fantasma_rebotando (
  input wire clk,
  output wire [7:0] r,
  output wire [7:0] g,
  output wire [7:0] b,
  output wire hsync,
  output wire vsync
  );

  wire [10:0] hc, vc;
  wire display_enable;
  wire [7:0] rfondo, gfondo, bfondo;
  wire [10:0] posx, posy;

  videosyncs sincronismos (
    .clk(clk),
    .hs(hsync),
    .vs(vsync),
    .hc(hc),
    .vc(vc),
    .display_enable(display_enable)
    );

  fondo los_cuadraditos (
    .hc(hc),
    .vc(vc),
    .display_enable(display_enable),
    .r(rfondo),
    .g(gfondo),
    .b(bfondo)
    );
    
  sprite el_fantasma (
    .clk(clk),
    .hc(hc),
    .vc(vc),
    .posx(posx),
    .posy(posy),
    .rin(rfondo),
    .gin(gfondo),
    .bin(bfondo),
    .rout(r),
    .gout(g),
    .bout(b)
    );
    
  update actualiza_pos_fantasma (
    .clk(clk),
    .vsync(vsync),
    .posx(posx),
    .posy(posy)
    );    

endmodule
module fantasma_rebotando (
  input wire clk,
  output wire [7:0] r,
  output wire [7:0] g,
  output wire [7:0] b,
  output wire hsync,
  output wire vsync
  );


  wire [10:0] hc, vc;
  wire display_enable;
  wire [7:0] rfondo, gfondo, bfondo;
  wire [10:0] posx, posy;

  videosyncs sincronismos (
    .clk(clk),
    .hs(hsync),
    .vs(vsync),
    .hc(hc),
    .vc(vc),
    .display_enable(display_enable)
    );

  fondo los_cuadraditos (
    .hc(hc),
    .vc(vc),
    .display_enable(display_enable),
    .r(rfondo),
    .g(gfondo),
    .b(bfondo)
    );
    
  sprite el_fantasma (
    .clk(clk),
    .hc(hc),
    .vc(vc),
    .posx(posx),
    .posy(posy),
    .rin(rfondo),
    .gin(gfondo),
    .bin(bfondo),
    .rout(r),
    .gout(g),
    .bout(b)
    );
    
  update actualiza_pos_fantasma (
    .clk(clk),
    .vsync(vsync),
    .posx(posx),
    .posy(posy)
    );    

endmodule