Let's say I have a single bit std_vector called x, and 4 bit std_vector y. I want to AND all of the bits of y with x separately in a process. I know that I can do it in multiple lines like this:
output(3) <= y(3) and x;
output(2) <= y(2) and x;
output(1) <= y(1) and x;
output(0) <= y(0) and x;
But I want to do that in single line. How can I achieve it? Thanks.