Answered step by step
Verified Expert Solution
Question
1 Approved Answer
he objective of this laboratory is to implement a calculator with decimal display. Equipment and software: You can use any FPGA boards of your choice
he objective of this laboratory is to implement a calculator with decimal display.
Equipment and software: You can use any FPGA boards of your choice for this lab. If
you are going to use the Xilinx boards, you can download the Xilinx Vivado Development
Environment for free from the Xilinx now AMD website.
Specification of the calculator: This lab is going to use switches and button on the
FPGA board. You should implement the bit ISA you designed in the first lab on the board. The
bit instruction words should be mapped to the switches, and you should use one of the buttons
for clock signal.
Required instructions:
Implement the following nonbranch instructions and your calculator should be able to produce
correct results.
load
addnegate
print
Optional with extra credit:
Implement the following conditionbranch instructions. The perfect score for this optional part will
be extra points in addition to the points for the required part.
skip
compare
Remember that your ISA is required to have a display instruction. For that instruction, you should
display the content on the digit sevensegment display on the board. All numbers are displayed
in decimal format on the digit sevensegment display, even though the operands are read from
the switches or registers as binary numbers. For example, if the content to display is the
digit sevensegment display should read as emptyemptyempty
Note that you may first need to implement a button debouncer that will help your calculator
implementation, if you find the buttons on your board are particularly bouncy. The button
debouncer is not required.
A sample project is provided to show the use of sevensegment display and an implementation of
button debouncer on the Basys board. give all the code and files required to fulfill the project requiremnts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started