List of Messages |
reg [1:0] sel; reg [3:0] o; always@(sel) begin case(sel) 2'b00: o = 4'b1010; 2'b01: o = 4'b0101; 2'b10: o = 4'b1111; 3'b111: o = 4'b0000; // 3-bit case item expr larger than 2-bit case expr endcase end
ACTION: To prevent this message, revise the case item expression so that its size is smaller than or equal to the size of the case expression.
Copyright© 2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS, STRATIX, and all other brands, unless noted otherwise, and/or trademarks of Altera Corporation in the U.S. and other countries.