Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
c <= a AND b;
- Altera_Forum
Honored Contributor
Yes but what about a AND between std_logic_vector??
Moreover ,AND operation is for boolean and the modelsim gives an error for std_logic. THX - Altera_Forum
Honored Contributor
did you include the std_logic_1164 package?
There are and functions for std_logic/std_ulogic and std_logic_vector/std_ulogic_vector. Not just boolean and bit. - Altera_Forum
Honored Contributor
Yes Included
- Altera_Forum
Honored Contributor
show us your code. You can AND together two std_logic_vectors. I can only assume you are doing something wrong.