K
Kot
Guest
What would be a good way to say "when not all bits are 0's" ?
I tried :
if ok_count /= ( others => '0') then
....
also
if not ( ok_count = ( others => '0') then
....
but I get error message saying :
aggregate with others must be in a constrained context.
I think it's context is constrained enough -- ok_count is
std_logic_vector(11 downto 0)
I'm using Synplify. Does other tools complains in the same way?
Jihwan Song
I tried :
if ok_count /= ( others => '0') then
....
also
if not ( ok_count = ( others => '0') then
....
but I get error message saying :
aggregate with others must be in a constrained context.
I think it's context is constrained enough -- ok_count is
std_logic_vector(11 downto 0)
I'm using Synplify. Does other tools complains in the same way?
Jihwan Song