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
 
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
 
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
shift operations 6
Four Bit Adder Help For ALU 4
error in code / ALU / calculator 1
[novice] vector signal assignment 1
Simple ALU Implementation 0
Gray Code 2
Simple ALU Implementation 3

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top