Anda di halaman 1dari 1

Development project in Digital design: Calculator

Design of a hexadecimal calculator.

1.1 Purpose
This development project aims to give you insight and practise on how to design a combination
of an arithmetic unit and a control unit.
1.2 This should be the final outcome
You will design a hexadecimal calculator. If you look at the picture below, four push buttons
represent Addition, Subtraction, Multiplication and Enter. There are also eight binary switches
used to enter two operands for each calculation. The four digit hexadecimal display shows the
selected operands and the calculated result. A sequence of calculation should apply to the
following modes of operation:
1. Enter the first operand by setting the binary switches. The display must continuously show
the selected number on the two rightmost digits. The two leftmost digits are flashing EE.
2. Press button for Addition, Subtraction or Multiplication depending on the arithmetic
operation of your choice.
3. Enter the second operand by setting the binary switches. The display must continuously show
the selected number on the two rightmost digits. The two leftmost digits are flashing EE.
4. Press button Enter. All four digits will now present the hexadecimal result. The calculator
will re-enter mode 1 as soon as you change any of the binary operand input switches.

Addition
+

Subtraction Multiplication
*

Enter
=

Binary
switches for
operand input

1.3 Report
Write a report; draw a deployment diagram that shows the hierarchy of VHDL-modules and their
interfacing, describe briefly the functionality of each VHDL-module, draw a state chart of the
finite state machine that controls the calculators user interface, include VHDL-code and results
from simulations.
All problem definitions, calculations, graphs and conclusions must be included in the report. You
must be able to demonstrate with your written language that the text in the report is personally
written by yourself. A high quality technical report analyzes important results such that general
conclusions are drawn and possible alternative solutions are pointed out. You will find a
template file for the laboratory report on the course Webb. Your laboratory experiments are
evaluated according to the different grades of examination as defined by the course planning.

Anda mungkin juga menyukai