data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v
1: b'%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:21: Cannot find include file: verilog_macro_bus.vh\n`include "verilog_macro_bus.vh" \n         ^~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/128426084/src/sources_1/new,data/full_repos/permissive/128426084/verilog_macro_bus.vh\n             data/full_repos/permissive/128426084/src/sources_1/new,data/full_repos/permissive/128426084/verilog_macro_bus.vh.v\n             data/full_repos/permissive/128426084/src/sources_1/new,data/full_repos/permissive/128426084/verilog_macro_bus.vh.sv\n             verilog_macro_bus.vh\n             verilog_macro_bus.vh.v\n             verilog_macro_bus.vh.sv\n             obj_dir/verilog_macro_bus.vh\n             obj_dir/verilog_macro_bus.vh.v\n             obj_dir/verilog_macro_bus.vh.sv\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:24: Define or directive not defined: \'`MOUSE_BUS_SIZE\'\n    input [`MOUSE_BUS_SIZE-1:0] mouse_in,\n           ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:26: Define or directive not defined: \'`VGA_BUS_SIZE\'\n    input [`VGA_BUS_SIZE-1:0] vga_in,\n           ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:27: Define or directive not defined: \'`VGA_BUS_SIZE\'\n    output [`VGA_BUS_SIZE-1:0] vga_out\n            ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:30: Define or directive not defined: \'`MOUSE_SPLIT_INPUT\'\n    `MOUSE_SPLIT_INPUT(mouse_in)\n    ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:30: syntax error, unexpected \'(\'\n    `MOUSE_SPLIT_INPUT(mouse_in)\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:32: Define or directive not defined: \'`VGA_SPLIT_INPUT\'\n    `VGA_SPLIT_INPUT(vga_in)\n    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:33: Define or directive not defined: \'`VGA_OUT_WIRE\'\n    `VGA_OUT_WIRE\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/128426084/src/sources_1/new/MouseDisplayVeri.v:34: Define or directive not defined: \'`VGA_MERGE_AT_OUTPUT\'\n    `VGA_MERGE_AT_OUTPUT(vga_out)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 9 error(s)\n'
module MouseDisplayVeri(
    input [`MOUSE_BUS_SIZE-1:0] mouse_in,
    input wire pclk,
    input [`VGA_BUS_SIZE-1:0] vga_in,
    output [`VGA_BUS_SIZE-1:0] vga_out
    );
    
    `MOUSE_SPLIT_INPUT(mouse_in)
    
    `VGA_SPLIT_INPUT(vga_in)
    `VGA_OUT_WIRE
    `VGA_MERGE_AT_OUTPUT(vga_out)
    
     MouseDisplay myCoursor(
       .xpos(xpos_in),
       .ypos(ypos_in),
       .hblank(hblnk_in),
       .vblank(vblnk_in),
       .red_in(rgb_in[3:0]),
       .green_in(rgb_in[7:4]),
       .blue_in(rgb_in[11:8]),
       .red_out(rgb_out[3:0]),
       .green_out(rgb_out[7:4]),
       .blue_out(rgb_out[11:8]),
       .pixel_clk(pclk),
       .hcount(hcount_in),
       .vcount(vcount_in),
       .vsync_out(vsync_out),
       .hsync_out(hsync_out),
       .hsync_in(hsync_in),
       .vsync_in(vsync_in)
     );
    
    
    
endmodule
module MouseDisplayVeri(
    input [`MOUSE_BUS_SIZE-1:0] mouse_in,
    input wire pclk,
    input [`VGA_BUS_SIZE-1:0] vga_in,
    output [`VGA_BUS_SIZE-1:0] vga_out
    );

    
    `MOUSE_SPLIT_INPUT(mouse_in)
    
    `VGA_SPLIT_INPUT(vga_in)
    `VGA_OUT_WIRE
    `VGA_MERGE_AT_OUTPUT(vga_out)
    
     MouseDisplay myCoursor(
       .xpos(xpos_in),
       .ypos(ypos_in),
       .hblank(hblnk_in),
       .vblank(vblnk_in),
       .red_in(rgb_in[3:0]),
       .green_in(rgb_in[7:4]),
       .blue_in(rgb_in[11:8]),
       .red_out(rgb_out[3:0]),
       .green_out(rgb_out[7:4]),
       .blue_out(rgb_out[11:8]),
       .pixel_clk(pclk),
       .hcount(hcount_in),
       .vcount(vcount_in),
       .vsync_out(vsync_out),
       .hsync_out(hsync_out),
       .hsync_in(hsync_in),
       .vsync_in(vsync_in)
     );
    
    
    
endmodule