DLD Lab Project2
DLD Lab Project2
Objective :
For this project, the students are required to design a Basic arithmetic logic unit (ALU) that
has two operations : Substraction, and Addition.
Equipement required :
Software simulation : Thinkercad, Logisim
Background :
ALU is the part of CPU that does calculations and conditions testing. It performs all the
arithmetic and logical operations required from the processor. For example, the ALU is the
responsible for adding two numbers, substracting and comparing.
In this project, it’s required to build a simple new combinational module that acts as a basic
ALU. The input is two 4 bits inputs (A and B) and it performs two arithmetic operations :
either addition or substraction, according to input mode M0. The output F should be a 4 bit
number. Assume that the output never exceed 9 and ignore the generation of a carry or
borrow.
To display F, a 7 segment LED display and BCD to 7-segment decoder are used.
3. Include pictures of the simulation in your lab report showing all the above-mentioned outputs.
Project Report
1. Prepare your report on an MS Word file. Do not forget to write your Name and student
number.
2. Change the layout orientation of your Word File to ‘Landscape’ so that large sized pictures
could be inserted in the file.
3. Include the theoritical part (circuit design, equations)
4. While simulating, take screenshots of the whole screen.
a) The screenshot must cover the whole screen and it should include the simulator
window, along with the time and date shown by Windows at the bottom of the screen.
b) Include as many screenshots as necessary to show the working of your simulation.