CODING PROBLEMS

V

Vhdl Learner

I am trying to implement a divider using FSM+D modeling in VHDL. I
have used the bit_vector data type for my variables and port. It helps
me in shifting etc. But I am unable to do a bitwise substract
operation. Can anyone help me about how to do this. Thanks a lot in
advance.

waiting
 
K

Kumaran Selvaratnam

Correct me if I am wrong.

Your objective is to get bitwise subtract or
the following truth table properties??

x|y|output
0|0|0
0|1|1
1|0|1
1|1|0

This means this is effectively a bitwise xor.

check 'xor' function.

Good luck
Kumaran
 

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

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top