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)

Getting your ALU on a field-programmable gate array (FPGA) - FPGA Tutorial

From the course: Learning Verilog for FPGA Development

Start my 1-month free trial

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…

Contents