0% found this document useful (0 votes)
34 views

ECE-223, Assignment #5: Operation Control Input Output

This document outlines 5 VHDL coding assignments for an ECE-223 course: 1) Write a dataflow VHDL code for a full-adder, 2) Write a behavioural VHDL code for a 2-to-4 binary decoder, 3) Write a behavioural VHDL code for a 2-to-1 multiplexer using if-then-else, 4) Write a behavioural VHDL code for a 2-to-1 multiplexer using case statement, and 5) Write a behavioural VHDL code for a 3-bit ALU with control input determining output based on operations in a provided truth table.

Uploaded by

RUBIO
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

ECE-223, Assignment #5: Operation Control Input Output

This document outlines 5 VHDL coding assignments for an ECE-223 course: 1) Write a dataflow VHDL code for a full-adder, 2) Write a behavioural VHDL code for a 2-to-4 binary decoder, 3) Write a behavioural VHDL code for a 2-to-1 multiplexer using if-then-else, 4) Write a behavioural VHDL code for a 2-to-1 multiplexer using case statement, and 5) Write a behavioural VHDL code for a 3-bit ALU with control input determining output based on operations in a provided truth table.

Uploaded by

RUBIO
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ECE-223, Assignment #5

1. Write a dataflow VHDL code for the full-adder.

2. Write a behavioural VHDL code for a 2-to-4 binary decoder. 309

3. Write a behavioural VHDL code for a 2-to1 multiplexer using if-then-else


statement.

4. Write a behavioural VHDL code for a 2-to1 multiplexer case statement.

5. Write a behavioural VHDL code for a 3-bit ALU. Functionality of the ALU is
shown in Table-1 also A and B are data inputs.

Operation Control Output


Input
Clear 000 0000
B-A 001 B-A
A-B 010 A-B
ADD 011 A+B
XOR 100 A XOR B
OR 101 A OR B
AND 110 A AND B
Preset 111 1111

A Output
ALU
B ALU

You might also like