data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v
None: at end of input
1: b'%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:78: Cannot find include file: HIDDEF.i\n`include "HIDDEF.i" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/219228794/src,data/full_repos/permissive/219228794/HIDDEF.i\n             data/full_repos/permissive/219228794/src,data/full_repos/permissive/219228794/HIDDEF.i.v\n             data/full_repos/permissive/219228794/src,data/full_repos/permissive/219228794/HIDDEF.i.sv\n             HIDDEF.i\n             HIDDEF.i.v\n             HIDDEF.i.sv\n             obj_dir/HIDDEF.i\n             obj_dir/HIDDEF.i.v\n             obj_dir/HIDDEF.i.sv\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                    ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                         ^\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                          ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`P2ST\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                      ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`P1ST\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                            ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                                  ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                                        ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:79: Define or directive not defined: \'`COIN\'\nwire [7:0] ISYS = ~{`none,`none,`none,`P2ST,`P1ST,`none,`none,`COIN};\n                                                              ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                    ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                         ^\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                          ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1TB\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1TA\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                      ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1DW\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                            ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1UP\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                                  ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1RG\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                                        ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:80: Define or directive not defined: \'`P1LF\'\nwire [7:0] IP01 = ~{`none,`none,`P1TB,`P1TA,`P1DW,`P1UP,`P1RG,`P1LF};\n                                                              ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                    ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                         ^\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`none\'\n                                                                     : ... Suggested alternative: \'`inline\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                          ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2TB\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2TA\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                      ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2DW\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                            ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2UP\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                                  ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2RG\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                                        ^~~~~\n%Error: data/full_repos/permissive/219228794/src/GreenBeret_MAIN.v:81: Define or directive not defined: \'`P2LF\'\nwire [7:0] IP02 = ~{`none,`none,`P2TB,`P2TA,`P2DW,`P2UP,`P2RG,`P2LF};\n                                                              ^~~~~\n%Error: Exiting due to 28 error(s)\n'
module DIPSWs
(
	input					CL,
	input	[1:0]			AD,
	output reg [7:0]	DT,

	input					MODE
);

`define GB_DSW1	8'hFF
`define GB_DSW2	8'h4A
`define GB_DSW3	8'h0F


`define MG_DSW1	8'hFF
`define MG_DSW2	8'h5A
`define MG_DSW3	8'h0F

always @( posedge CL ) begin
	case (AD)
		2'd3: DT <= MODE ? `MG_DSW1 : `GB_DSW1;
		2'd1: DT <= MODE ? `MG_DSW2 : `GB_DSW2;
		2'd2: DT <= MODE ? `MG_DSW3 : `GB_DSW3;
		default: DT <= 8'hxx;
	endcase
end
endmodule
module DIPSWs
(
	input					CL,
	input	[1:0]			AD,
	output reg [7:0]	DT,

	input					MODE
);


`define GB_DSW1	8'hFF
`define GB_DSW2	8'h4A
`define GB_DSW3	8'h0F


`define MG_DSW1	8'hFF
`define MG_DSW2	8'h5A
`define MG_DSW3	8'h0F

always @( posedge CL ) begin
	case (AD)
		2'd3: DT <= MODE ? `MG_DSW1 : `GB_DSW1;
		2'd1: DT <= MODE ? `MG_DSW2 : `GB_DSW2;
		2'd2: DT <= MODE ? `MG_DSW3 : `GB_DSW3;
		default: DT <= 8'hxx;
	endcase
end
endmodule