V
vijay
Guest
Hi,
I am having a concurrent statement in when-else format . The concurrent
statement compares some bits and assigns it's outout to a pin say
"Error". The concurrent statement is as follows.
Error <= ( (Data(4) AND DATA(3)) OR
(Data(4) AND DATA(2)) OR
(Data(4) AND DATA(1)) OR
(Data(3) AND DATA(1)) OR
(Data(3) AND DATA(2)) OR
(Data(3) AND DATA(1))
) WHEN IP = '1' else '0';
My simulation code is working fine.
The above output "Error" is connected to an LED.
But on board when i am testing the output "Error" is not getting value.
There are no harware problems on board. The problem is purely due to
the above statement.
I also tried using with-select statement but the result is the same.
Please let me know if there are problem in the above concurrent
statement.
Thanks and Regards,
Vijay.
I am having a concurrent statement in when-else format . The concurrent
statement compares some bits and assigns it's outout to a pin say
"Error". The concurrent statement is as follows.
Error <= ( (Data(4) AND DATA(3)) OR
(Data(4) AND DATA(2)) OR
(Data(4) AND DATA(1)) OR
(Data(3) AND DATA(1)) OR
(Data(3) AND DATA(2)) OR
(Data(3) AND DATA(1))
) WHEN IP = '1' else '0';
My simulation code is working fine.
The above output "Error" is connected to an LED.
But on board when i am testing the output "Error" is not getting value.
There are no harware problems on board. The problem is purely due to
the above statement.
I also tried using with-select statement but the result is the same.
Please let me know if there are problem in the above concurrent
statement.
Thanks and Regards,
Vijay.