P
Pela
Guest
If I have a logic vector like this (4 bits):
signal s: std_logic_vector(3 downto 0);
I can assign a zero value this way:
s <= "0000";
How can I assign zero if vector size is generic? Do I need a FOR loop?
signal s: std_logic_vector(N-1 downto 0);
s <= ???
TIA
--
Pela
signal s: std_logic_vector(3 downto 0);
I can assign a zero value this way:
s <= "0000";
How can I assign zero if vector size is generic? Do I need a FOR loop?
signal s: std_logic_vector(N-1 downto 0);
s <= ???
TIA
--
Pela