H
Hannes
Hello,
I am relatively new to VHDL.
I search for a command to realize a Boolean OR operation on all bits of
a std_logic_vector in a compact way.
example:
signal a : std_logic vector (3 downto 0);
signal b : std_logic;
b <= a(0) or a(1) or a(2) or a(3);
this solution works fine with four bits, but with larger vectors it is
not very comfortable.
Do somebody have an idea?
Regards
Hannes
I am relatively new to VHDL.
I search for a command to realize a Boolean OR operation on all bits of
a std_logic_vector in a compact way.
example:
signal a : std_logic vector (3 downto 0);
signal b : std_logic;
b <= a(0) or a(1) or a(2) or a(3);
this solution works fine with four bits, but with larger vectors it is
not very comfortable.
Do somebody have an idea?
Regards
Hannes