J
Jim Huang
Guest
Can I write the if condition like this? Assume
signal A std_logic_vector(29 downto 0);
if A = (others => '0´) then
.................
end if;
if this syntax is invalid, how should I write it? any simple way.
I do not want to put 30 zeros here.
Can I write the condition as
A = "00" & 0x0000000
Thanks
Jim
signal A std_logic_vector(29 downto 0);
if A = (others => '0´) then
.................
end if;
if this syntax is invalid, how should I write it? any simple way.
I do not want to put 30 zeros here.
Can I write the condition as
A = "00" & 0x0000000
Thanks
Jim