data/full_repos/permissive/215874117/src/ninjakun_adec.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/215874117/src/ninjakun_adec.v:23: Multiple top level modules\n                                                                              : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                              : ... Top module \'NINJAKUN_SADEC\'\nmodule NINJAKUN_SADEC\n       ^~~~~~~~~~~~~~\n                                                                              : ... Top module \'NINJAKUN_ADEC\'\nmodule NINJAKUN_ADEC\n       ^~~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module NINJAKUN_SADEC
(
	input [15:0] CPADR,

	output		 CS_PSG,
	output		 CS_FGV,
	output		 CS_BGV,
	output		 CS_SPA,
	output		 CS_PAL
);

assign CS_PSG = ( CPADR[15: 2] == 14'b1000_0000_0000_00 );
assign CS_FGV = ( CPADR[15:11] ==  5'b1100_0 ); 
assign CS_BGV = ( CPADR[15:11] ==  5'b1100_1 ); 
assign CS_SPA = ( CPADR[15:11] ==  5'b1101_0 ); 
assign CS_PAL = ( CPADR[15:11] ==  5'b1101_1 ); 

endmodule
module NINJAKUN_SADEC
(
	input [15:0] CPADR,

	output		 CS_PSG,
	output		 CS_FGV,
	output		 CS_BGV,
	output		 CS_SPA,
	output		 CS_PAL
);


assign CS_PSG = ( CPADR[15: 2] == 14'b1000_0000_0000_00 );
assign CS_FGV = ( CPADR[15:11] ==  5'b1100_0 ); 
assign CS_BGV = ( CPADR[15:11] ==  5'b1100_1 ); 
assign CS_SPA = ( CPADR[15:11] ==  5'b1101_0 ); 
assign CS_PAL = ( CPADR[15:11] ==  5'b1101_1 ); 

endmodule