M
m
Guest
Forgive me for asking something very basic. I bought two books on
VHDL and they just jump in and use this terminology without explaning
what it does. Also, I come from ten years of Verilog (I come in
peace).
signal A : unsigned( 7 downto 0);
..
..
..
A <= (others => '0');
My guess is that (others => '0') simply assigns hex 00 to A.
Why can't or wouldn't one just say "A <= '0';" or something similarly
simple?
Why is "others" required?
Thank you,
-Martin
VHDL and they just jump in and use this terminology without explaning
what it does. Also, I come from ten years of Verilog (I come in
peace).
signal A : unsigned( 7 downto 0);
..
..
..
A <= (others => '0');
My guess is that (others => '0') simply assigns hex 00 to A.
Why can't or wouldn't one just say "A <= '0';" or something similarly
simple?
Why is "others" required?
Thank you,
-Martin