data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v
 line:15: before: ")"
1: b"%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:15: Define or directive not defined: '`OFF'\n    register #(4, 4'd0) led_reg0(led_reg_out0, led_alu_out0[3:0], led_in0, (master[31:24] != `OFF) & (master[23:16] != `OFF), reset);\n                                                                                             ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:15: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    register #(4, 4'd0) led_reg0(led_reg_out0, led_alu_out0[3:0], led_in0, (master[31:24] != `OFF) & (master[23:16] != `OFF), reset);\n                                                                                                 ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:15: Define or directive not defined: '`OFF'\n    register #(4, 4'd0) led_reg0(led_reg_out0, led_alu_out0[3:0], led_in0, (master[31:24] != `OFF) & (master[23:16] != `OFF), reset);\n                                                                                                                       ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:16: Define or directive not defined: '`ALU_ADD'\n    alu32 led_add0(led_alu_out0, , , , {28'd0, led_reg_out0}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:18: Define or directive not defined: '`OFF'\n    decoder8 led_decoder0(led_out[15:8], led_mux_out0, mode & (master[31:24] != `OFF) & (master[23:16] != `OFF));\n                                                                                ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:18: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder8 led_decoder0(led_out[15:8], led_mux_out0, mode & (master[31:24] != `OFF) & (master[23:16] != `OFF));\n                                                                                    ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:18: Define or directive not defined: '`OFF'\n    decoder8 led_decoder0(led_out[15:8], led_mux_out0, mode & (master[31:24] != `OFF) & (master[23:16] != `OFF));\n                                                                                                          ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:21: Define or directive not defined: '`OFF'\n    register #(4, 4'd0) led_reg1(led_reg_out1, led_alu_out1[3:0], led_in1, (master[15:8] != `OFF) & (master[7:0] != `OFF), reset);\n                                                                                            ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:21: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    register #(4, 4'd0) led_reg1(led_reg_out1, led_alu_out1[3:0], led_in1, (master[15:8] != `OFF) & (master[7:0] != `OFF), reset);\n                                                                                                ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:21: Define or directive not defined: '`OFF'\n    register #(4, 4'd0) led_reg1(led_reg_out1, led_alu_out1[3:0], led_in1, (master[15:8] != `OFF) & (master[7:0] != `OFF), reset);\n                                                                                                                    ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:22: Define or directive not defined: '`ALU_ADD'\n    alu32 led_add1(led_alu_out1, , , , {28'd0, led_reg_out1}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:24: Define or directive not defined: '`OFF'\n    decoder8 led_decoder1(led_out[7:0], led_mux_out1, mode & (master[15:8] != `OFF) & (master[7:0] != `OFF));\n                                                                              ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:24: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder8 led_decoder1(led_out[7:0], led_mux_out1, mode & (master[15:8] != `OFF) & (master[7:0] != `OFF));\n                                                                                  ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:24: Define or directive not defined: '`OFF'\n    decoder8 led_decoder1(led_out[7:0], led_mux_out1, mode & (master[15:8] != `OFF) & (master[7:0] != `OFF));\n                                                                                                      ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:44: Define or directive not defined: '`ALU_ADD'\n    alu32 led_alu0(led_alu_out0, , , , {29'd0, led_reg_out0}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:46: Define or directive not defined: '`OFF'\n    decoder4 led_decoder0(led_out[15:12], led_mux_out0, mode & (keys[13:1] != 13'b0) & (master[31:24] != `OFF & master[23:16] != `OFF));\n                                                                                                         ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:46: Define or directive not defined: '`OFF'\n    decoder4 led_decoder0(led_out[15:12], led_mux_out0, mode & (keys[13:1] != 13'b0) & (master[31:24] != `OFF & master[23:16] != `OFF));\n                                                                                                                                 ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:46: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder4 led_decoder0(led_out[15:12], led_mux_out0, mode & (keys[13:1] != 13'b0) & (master[31:24] != `OFF & master[23:16] != `OFF));\n                                                                                                                                     ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:50: Define or directive not defined: '`ALU_ADD'\n    alu32 led_alu1(led_alu_out1, , , , {29'd0, led_reg_out1}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:52: Define or directive not defined: '`OFF'\n    decoder4 led_decoder1(led_out[11:8], led_mux_out1, mode & (keys[13:1] != 13'b0) & (master[63:56] != `OFF & master[55:48] != `OFF));\n                                                                                                        ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:52: Define or directive not defined: '`OFF'\n    decoder4 led_decoder1(led_out[11:8], led_mux_out1, mode & (keys[13:1] != 13'b0) & (master[63:56] != `OFF & master[55:48] != `OFF));\n                                                                                                                                ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:52: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder4 led_decoder1(led_out[11:8], led_mux_out1, mode & (keys[13:1] != 13'b0) & (master[63:56] != `OFF & master[55:48] != `OFF));\n                                                                                                                                    ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:56: Define or directive not defined: '`ALU_ADD'\n    alu32 led_alu2(led_alu_out2, , , , {29'd0, led_reg_out2}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:58: Define or directive not defined: '`OFF'\n    decoder4 led_decoder2(led_out[7:4], led_mux_out2, mode & (keys[13:1] != 13'b0) & (master[15:8] != `OFF & master[7:0] != `OFF));\n                                                                                                      ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:58: Define or directive not defined: '`OFF'\n    decoder4 led_decoder2(led_out[7:4], led_mux_out2, mode & (keys[13:1] != 13'b0) & (master[15:8] != `OFF & master[7:0] != `OFF));\n                                                                                                                            ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:58: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder4 led_decoder2(led_out[7:4], led_mux_out2, mode & (keys[13:1] != 13'b0) & (master[15:8] != `OFF & master[7:0] != `OFF));\n                                                                                                                                ^\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:62: Define or directive not defined: '`ALU_ADD'\n    alu32 led_alu3(led_alu_out3, , , , {29'd0, led_reg_out3}, 32'd1, `ALU_ADD);\n                                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:64: Define or directive not defined: '`OFF'\n    decoder4 led_decoder3(led_out[3:0], led_mux_out3, mode & (keys[13:1] != 13'b0) & (master[47:40] != `OFF & master[39:32] != `OFF));\n                                                                                                       ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:64: Define or directive not defined: '`OFF'\n    decoder4 led_decoder3(led_out[3:0], led_mux_out3, mode & (keys[13:1] != 13'b0) & (master[47:40] != `OFF & master[39:32] != `OFF));\n                                                                                                                               ^~~~\n%Error: data/full_repos/permissive/202473002/Stereo.srcs/sources_1/imports/FPGA/scanner.v:64: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n    decoder4 led_decoder3(led_out[3:0], led_mux_out3, mode & (keys[13:1] != 13'b0) & (master[47:40] != `OFF & master[39:32] != `OFF));\n                                                                                                                                   ^\n%Error: Exiting due to 30 error(s)\n"
module scanner2(led_out, sounds, mode, master, reset);
    
    output [15:0] led_out;
    input [1:0] sounds;
    input mode;
    input [31:0] master;
    input reset;
    
    wire [31:0] led_alu_out0, led_alu_out1;
    wire [3:0] led_reg_out0, led_reg_out1;
    wire [2:0] led_mux_out0, led_mux_out1;
    wire led_in0, led_in1;
    
    clock_divider_org #(2) c0(led_in0, sounds[1]);
    register #(4, 4'd0) led_reg0(led_reg_out0, led_alu_out0[3:0], led_in0, (master[31:24] != `OFF) & (master[23:16] != `OFF), reset);
    alu32 led_add0(led_alu_out0, , , , {28'd0, led_reg_out0}, 32'd1, `ALU_ADD);
    mux2v #(3) muxer0(led_mux_out0, led_reg_out0[2:0], {!led_reg_out0[2], !led_reg_out0[1], !led_reg_out0[0]}, led_reg_out0[3]);
    decoder8 led_decoder0(led_out[15:8], led_mux_out0, mode & (master[31:24] != `OFF) & (master[23:16] != `OFF));
    
    clock_divider_org #(2) c1(led_in1, sounds[0]);
    register #(4, 4'd0) led_reg1(led_reg_out1, led_alu_out1[3:0], led_in1, (master[15:8] != `OFF) & (master[7:0] != `OFF), reset);
    alu32 led_add1(led_alu_out1, , , , {28'd0, led_reg_out1}, 32'd1, `ALU_ADD);
    mux2v #(3) muxer1(led_mux_out1, led_reg_out1[2:0], {!led_reg_out1[2], !led_reg_out1[1], !led_reg_out1[0]}, led_reg_out1[3]);
    decoder8 led_decoder1(led_out[7:0], led_mux_out1, mode & (master[15:8] != `OFF) & (master[7:0] != `OFF));
    
endmodule
module scanner2(led_out, sounds, mode, master, reset);

    
    output [15:0] led_out;
    input [1:0] sounds;
    input mode;
    input [31:0] master;
    input reset;
    
    wire [31:0] led_alu_out0, led_alu_out1;
    wire [3:0] led_reg_out0, led_reg_out1;
    wire [2:0] led_mux_out0, led_mux_out1;
    wire led_in0, led_in1;
    
    clock_divider_org #(2) c0(led_in0, sounds[1]);
    register #(4, 4'd0) led_reg0(led_reg_out0, led_alu_out0[3:0], led_in0, (master[31:24] != `OFF) & (master[23:16] != `OFF), reset);
    alu32 led_add0(led_alu_out0, , , , {28'd0, led_reg_out0}, 32'd1, `ALU_ADD);
    mux2v #(3) muxer0(led_mux_out0, led_reg_out0[2:0], {!led_reg_out0[2], !led_reg_out0[1], !led_reg_out0[0]}, led_reg_out0[3]);
    decoder8 led_decoder0(led_out[15:8], led_mux_out0, mode & (master[31:24] != `OFF) & (master[23:16] != `OFF));
    
    clock_divider_org #(2) c1(led_in1, sounds[0]);
    register #(4, 4'd0) led_reg1(led_reg_out1, led_alu_out1[3:0], led_in1, (master[15:8] != `OFF) & (master[7:0] != `OFF), reset);
    alu32 led_add1(led_alu_out1, , , , {28'd0, led_reg_out1}, 32'd1, `ALU_ADD);
    mux2v #(3) muxer1(led_mux_out1, led_reg_out1[2:0], {!led_reg_out1[2], !led_reg_out1[1], !led_reg_out1[0]}, led_reg_out1[3]);
    decoder8 led_decoder1(led_out[7:0], led_mux_out1, mode & (master[15:8] != `OFF) & (master[7:0] != `OFF));
    
endmodule