Answered step by step
Verified Expert Solution
Link Copied!

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 8 switches and 1 button on the
FPGA board. You should implement the 8-bit ISA you designed in the first lab on the board. The
8-bit instruction words should be mapped to the 8 switches, and you should use one of the buttons
for clock signal.
Required instructions:
Implement the following non-branch instructions and your calculator should be able to produce
correct results.
load
add/negate
print
Optional with extra credit:
Implement the following condition/branch instructions. The perfect score for this optional part will
be 30 extra points in addition to the 100 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 4-digit seven-segment display on the board. All numbers are displayed
in decimal format on the 4-digit seven-segment display, even though the operands are read from
the switches or registers as binary numbers. For example, if the content to display is 0101, the
4-digit seven-segment display should read as [empty][empty][empty]5.
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 seven-segment display and an implementation of
button debouncer on the Basys 3 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions