From the course: Learning Verilog for FPGA Development
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Getting your ALU on a field-programmable gate array (FPGA) - FPGA Tutorial
From the course: Learning Verilog for FPGA Development
Getting your ALU on a field-programmable gate array (FPGA)
- [Instructor] As a bonus for making it this far, let me show you the ALU working on a Basys 3 board. This board was developed by a company named Digilent and it contains an Artix-7 FPGA which is more than capable of implementing all of our designs. As you can see, this board has a lot of hardware for you to play with. For the ALU, we'll connect the inputs to switches and the outputs to LEDs. We'll do it this way. Operand a will come from the four switches labeled SW7 through SW4. Operand b comes from the four rightmost switches labeled SW3 through SW0. The operation input comes from the two leftmost switches. SW15 and SW14. And finally, the result goes to the seven rightmost LEDs. So now let me show you how easy getting a design in an FPGA can be. First, Digilent, the manufacturer of the Basys 3 board, provides a Xilinx Design Constraints master file for each of their boards. These XDC files are text files…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Arithmetic and logic operators2m 59s
-
(Locked)
Challenge: Make a 4-bit arithmetic logic unit (ALU)1m 54s
-
(Locked)
Solution: Make a 4-bit arithmetic logic unit (ALU)2m 36s
-
(Locked)
Getting your ALU on a field-programmable gate array (FPGA)4m 26s
-
(Locked)
A functional demo of the ALU1m 44s
-
(Locked)
-
-