ALU code ???


CS_

Joined
Dec 6, 2009
Messages
3
Reaction score
0
can any one solve it ??????


Write the VHDL code for the ALU that takes two inputs A and B and performs the following operations depending on the values of the control signal C:
Each signal A and B is 16-Bit Wide.


Arithmetic Operations:
Control Signals and Operations
0000 A Plus B
0001 Increment A by 2
0010 A Minus B
0011 Decrement A by 3


Comparison Operations
Control Signals and Operations
0100 Minimum of A and B
0101 Maximum of A and B
0110 A AND B
0111 A OR B


Shift Operations
Control Signals and Operations
1000 Circular right shift of A
1001 Circular left shift of A
1010 Right shift of A with feed in 0
1011 Left shift of A with feed in 0
1100 Right shift of A with MSB replication
1101 Left shift of A with LSB replication
 
Ad

Advertisements

Joined
Jan 30, 2009
Messages
42
Reaction score
0
Alu

Yes, I can solve it, but I am not taking the course. If I gave you my solution and you turned it in as your own wouldn't that be cheating?
 
Joined
Jan 29, 2009
Messages
152
Reaction score
0
You will get help if you make explicit what you tried, where it got stuck, including (perhaps simplified) code you wrote and perhaps error output or from simulator or synthesis tool; not many people are willing to just solve your schoolwork for you
 
Joined
Dec 9, 2009
Messages
18
Reaction score
0
I can't give you my code because we are working on the same project...I know who you are and you will be reported to Dean's warning

M.F
 
Ad

Advertisements

Joined
Dec 14, 2009
Messages
4
Reaction score
0
qwerty321 said:
I can't give you my code because we are working on the same project...I know who you are and you will be reported to Dean's warning

M.F

Do what u want 8)
 

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

Similar Threads

New baby here 2
confusion about delta time 4
shift operations 6
[novice] vector signal assignment 1
Compiling error... not sure how to address the errors 5
Gray Code 2
stepper motor 0
bcd-7segment decoder 3

Top