nesta
Junior Member level 2
Hi VhdlExperts,
Is there a way to check if the vector is uninitialsed 'U' or unknown 'X' as i have a scenario where i need to check for only valid data.
Basically I want to latch only valid data.
----
if(clk ='1' and clk'event) then
if(input = 'U' or input = 'X') then
-- just ignore;
else
-- latch the data;
end if;
end if;
Any suggestion plz,
Thanks in advance.
Nesta
Is there a way to check if the vector is uninitialsed 'U' or unknown 'X' as i have a scenario where i need to check for only valid data.
Basically I want to latch only valid data.
----
if(clk ='1' and clk'event) then
if(input = 'U' or input = 'X') then
-- just ignore;
else
-- latch the data;
end if;
end if;
Any suggestion plz,
Thanks in advance.
Nesta