Query regarding VHDL "if" statement

K

Kingfischer

Hello Everyone,

I have a question about VHDL If Statement. I have shown two examples below.
Kindly comment if they are same or not ....or how they are percieved.

If( fruit = (apple or orange or mango or banana)) then

If (( fruit=apple) or (fruit = orange) or (fruit = mango) or (fruit =banana))then

Hope to get some feedback

Kingfischer.
 
E

Eric Smith

I have a question about VHDL If Statement. I have shown two examples below.
Kindly comment if they are same or not ....or how they are percieved.

If( fruit = (apple or orange or mango or banana)) then

If (( fruit=apple) or (fruit = orange) or (fruit = mango) or (fruit =banana))then

If I do your homework, will you have the school issue the diploma in my
name?

They're not the same, but the reason why is left as an exercise for the
student.
 
R

rickman

Eric said:
If I do your homework, will you have the school issue the diploma in my
name?

They're not the same, but the reason why is left as an exercise for the
student.

If someone gives me the fruit, I'll run the tests... ;)

--

Rick "rickman" Collins

(e-mail address removed)
Ignore the reply address. To email me use the above address with the XY
removed.

Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design URL http://www.arius.com
4 King Ave 301-682-7772 Voice
Frederick, MD 21701-3110 301-682-7666 FAX
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top