data/full_repos/permissive/436253691/hardware/nios_sys/nios_system/synthesis/submodules/DEMUX_1_2.v
1: b'%Warning-WIDTH: data/full_repos/permissive/436253691/hardware/nios_sys/nios_system/synthesis/submodules/DEMUX_1_2.v:39: Operator COND expects 16 bits on the Conditional True, but Conditional True\'s VARREF \'DEMUX_Data_in\' generates 8 bits.\n                                                                                                                      : ... In instance DEMUX_1_2\nassign DEMUX_out0 = DEMUX_En == 1\'b1 ? DEMUX_selector == 1\'b0 ? DEMUX_Data_in : 16\'b0 : 16\'b0;\n                                                              ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/436253691/hardware/nios_sys/nios_system/synthesis/submodules/DEMUX_1_2.v:39: Operator ASSIGNW expects 8 bits on the Assign RHS, but Assign RHS\'s COND generates 16 bits.\n                                                                                                                      : ... In instance DEMUX_1_2\nassign DEMUX_out0 = DEMUX_En == 1\'b1 ? DEMUX_selector == 1\'b0 ? DEMUX_Data_in : 16\'b0 : 16\'b0;\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/436253691/hardware/nios_sys/nios_system/synthesis/submodules/DEMUX_1_2.v:40: Operator COND expects 16 bits on the Conditional True, but Conditional True\'s VARREF \'DEMUX_Data_in\' generates 8 bits.\n                                                                                                                      : ... In instance DEMUX_1_2\nassign DEMUX_out1 = DEMUX_En == 1\'b1 ? DEMUX_selector == 1\'b1 ? DEMUX_Data_in : 16\'b0 : 16\'b0;\n                                                              ^\n%Warning-WIDTH: data/full_repos/permissive/436253691/hardware/nios_sys/nios_system/synthesis/submodules/DEMUX_1_2.v:40: Operator ASSIGNW expects 8 bits on the Assign RHS, but Assign RHS\'s COND generates 16 bits.\n                                                                                                                      : ... In instance DEMUX_1_2\nassign DEMUX_out1 = DEMUX_En == 1\'b1 ? DEMUX_selector == 1\'b1 ? DEMUX_Data_in : 16\'b0 : 16\'b0;\n                  ^\n%Error: Exiting due to 4 warning(s)\n'
module DEMUX_1_2 #(parameter INPUT_DATA_WIDTH =8)(


input [INPUT_DATA_WIDTH-1:0] DEMUX_Data_in,
input DEMUX_selector,
input DEMUX_En,


output [INPUT_DATA_WIDTH-1:0] DEMUX_out0,
output [INPUT_DATA_WIDTH-1:0] DEMUX_out1
);






assign DEMUX_out0 = DEMUX_En == 1'b1 ? DEMUX_selector == 1'b0 ? DEMUX_Data_in : 16'b0 : 16'b0;
assign DEMUX_out1 = DEMUX_En == 1'b1 ? DEMUX_selector == 1'b1 ? DEMUX_Data_in : 16'b0 : 16'b0;

endmodule
module DEMUX_1_2 #(parameter INPUT_DATA_WIDTH =8)(


input [INPUT_DATA_WIDTH-1:0] DEMUX_Data_in,
input DEMUX_selector,
input DEMUX_En,


output [INPUT_DATA_WIDTH-1:0] DEMUX_out0,
output [INPUT_DATA_WIDTH-1:0] DEMUX_out1
);







assign DEMUX_out0 = DEMUX_En == 1'b1 ? DEMUX_selector == 1'b0 ? DEMUX_Data_in : 16'b0 : 16'b0;
assign DEMUX_out1 = DEMUX_En == 1'b1 ? DEMUX_selector == 1'b1 ? DEMUX_Data_in : 16'b0 : 16'b0;

endmodule