Binome
Full Member level 3
- Joined
- Nov 16, 2009
- Messages
- 153
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Lyon, France
- Activity points
- 2,412
Hi,
I have a variable-length (depending on a generic value) word and I'd like to test whether it's null or not.
Say I have d : std_logic_vector(g_length-1 downto 0) and q : std_logic that should be '0' when d="0...0" and '1' otherwise. How could that be written?
Thanks.
I have a variable-length (depending on a generic value) word and I'd like to test whether it's null or not.
Say I have d : std_logic_vector(g_length-1 downto 0) and q : std_logic that should be '0' when d="0...0" and '1' otherwise. How could that be written?
Thanks.