List of Messages |
ENTITY example IS PORT ( a : IN BIT; b : IN BIT; o : OUT BIT ); END example; ARCHITECTURE a OF example IS FUNCTION exa (s,r : BIT) RETURN BIT IS BEGIN IF s = '0' THEN RETURN (s and r); END IF; END exa; BEGIN o <= exa (s=>a, r=>b); END a;
ACTION: No action is required. To remove the warning, make sure the function returns a value in all paths through the statements in the subprogram body.
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.