Basys 3 Abacus Demo
This Abacus demonstration project implements several arithmetic operations using the Basys3's switches, LEDs, pushbuttons, and 7-segment display.
- Subtraction, multiplication, division, and modulo operations are selected with the pushbuttons.
- Results are displayed on the seven segment display.
- Operands are taken from the switches and displayed on the LEDs.
|16 user switches||X|
|16 user LEDs||X|
|5 user pushbuttons||X|
|4-digit 7-segment display||X|
|4 Pmod connectors||X|
|XADC Analog input||X|
|12-bit VGA output||X|
|Serial Flash for application data||X|
|USB HID Host with mouse||X|
|USB HID Host with keyboard||X|
- Basys3 FPGA board
- Micro-USB cable
- Vivado Design Suite 2016.X
- Newer versions can be used, but the procedure may vary slightly
Download and Launch the Basys3 Abacus Demo
Follow the Using Digilent Github Demo Projects Tutorial. This is an HDL design project, and as such does not support Vivado SDK, select the tutorial options appropriate for a Vivado-only design. All you will need to use the Abacus is your programmed Basys3, as such, you can continue to programming your board immediately when prompted to return to this page to check for additional requirements.
Using the Basys3 Abacus Demo
1. Setting Inputs
The abacus can preform 4 arithmetic functions on two 8-bit numbers. Switches 15-8 represent input A. Switches 7-0 represent input B. The abacus works by setting the slide switches to your desired operands and then selecting an operation with the buttons. The result will be displayed on the 7 segment display. On startup, the display will read 0.