Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I'm going to use AND_REDUCE() --- Quote End --- Yes, that's better. P.S.: I understood "What's the best way" is asking for a convenient way without writing too much text. VHDL is verbose enough anyway. For this simple reason, the original poster did not want to define compare strings and similar stuff. The compiler will convert any equivalent expression to anding all bits. P.P.S.: I completely agree with Tricky, that numeric quantities should use numeric types and also numeric constants.