verylsi
Full Member level 2
- Joined
- Mar 12, 2012
- Messages
- 123
- Helped
- 16
- Reputation
- 32
- Reaction score
- 16
- Trophy points
- 1,308
- Activity points
- 2,130
Hi,
I have been recently told not to use "=" under if condition rather use ">=" or "<=" .
for eg.
Better approach is
I want to know the reason for it, if it is correct.
what is the difference in terms of hardware realization in FPGA ?
I have been recently told not to use "=" under if condition rather use ">=" or "<=" .
for eg.
Code:
if count = 5 then
a <= b;
end if;
Better approach is
Code:
if count >= 5 then
a <= b;
end if;
I want to know the reason for it, if it is correct.
what is the difference in terms of hardware realization in FPGA ?