1 of 12

UNIT-I : part1

Additional topics

CH JAYAPRAKASH,

ASSISTANT PROFESSOR

Dept of ECE

DIGITAL SYSTEM DESIGN Using hdl

SIR CRREDDY COLLEGE OF ENGG

Source :

DIGITAL System Design with FPGA implementation using Verilog & VHDL – CemUnsalan, BoraTar McGraw-Hill Education,2017.

2 of 12

Chapter 3οΏ½Basys3 and Arty FPGA BoardsοΏ½

Digital System Design with FPGA: Implementation using Verilog and VHDL

3 of 12

Layout Introduction

  • The Basys3 Board
    • Powering the Board
    • Input/Output
    • Configuring the FPGA
    • Advanced Connectors
    • External Memory
    • Oscillator/Clock

  • The Arty Board
    • Powering the Board
    • Input/Output
    • Configuring the FPGA
    • Advanced Connectors
    • External Memory
    • Oscillator/Clock

Digital System Design with FPGA: Implementation using Verilog and VHDL

4 of 12

Introduction

We will use two different FPGA boards as Basys3 and Arty.

Both boards have Xilinx Artix-7 FPGA on them.

Basys3 is more suitable for education purposes since it has several input/output connections.

Arty is primarily developed for soft-core microcontrollers. Moreover, it has Arduino compatible pins. Hence, shields available for Arduino can be used with Arty.

Digital System Design with FPGA: Implementation using Verilog and VHDL

5 of 12

The Basys3 Board

Label Explanation

1 Power LED

2 Three Pmod connectors

3 Analog signal Pmod connector

4 Four-digit seven-segment display

5 Sixteen slide switches

6 Sixteen LEDs

7 Five push buttons

8 FPGA programming done LED

9 FPGA configuration reset button

10 Programming mode jumper

11 USB host connector

12 VGA connector

13 Shared UART/JTAG USB port

14 External power connector

15 Power switch

16 Power source select jumper

17 Artix-7 FPGA

18 USB-UART bridge

19 Auxiliary function microcontroller

B1 SPI flash

B2 Power supply regulator

B3 Oscillator/clock

8

Digital System Design with FPGA: Implementation using Verilog and VHDL

6 of 12

The Basys3 Board

The Basys3 board can be powered either from the USB port or from an external power supply which should be connected to the external power connector. If an external power supply is used, it should be able to deliver a DC voltage between 4.5 V to 5.5 V with at least 1 A current.

Powering the Board

There are several digital input/output connections on the Basys3 board. These

can be summarized as peripheral module (Pmod) connectors, four-digit

seven-segment display, 16 slide switches, 16 LEDs, and five push buttons.

Input/Output

The Basys3 board Pmod connector pin layout.

Digital System Design with FPGA: Implementation using Verilog and VHDL

7 of 12

The Basys3 Board

  • The FPGA should be configured (programmed) in order to operate.
  • The configuration file will be generated by Vivado design suite.
  • The generated file can be fed to the FPGA in three ways.
    • The first method is using the shared UART/JTAG USB port. We will use this method while configuring the FPGA through Vivado.
    • The second method is using the SPI flash. To do so, the configuration file should have been stored in flash beforehand.
    • The third method is storing the configuration file in a USB stick and using it through the USB host connector. By the help of an auxiliary function microcontroller, programming can be done.

Configuring the FPGA

There are advanced connectors on the Basys3 board. These are the USB host connector, VGA connector, and shared UART/JTAG USB port.

Advanced Connectors

Digital System Design with FPGA: Implementation using Verilog and VHDL

8 of 12

The Basys3 Board

The Basys3 board has a 32Mbit non-volatile serial flash as external memory. This device is connected to Artix-7 FPGA through a dedicated SPI bus. FPGA configuration files can be saved in this flash memory.

External Memory

The Basys3 board has an onboard oscillator/clock circuitry working at 100 MHz. The clock signal generated by the oscillator is fed to Artix-7 FPGA through its pins. Therefore, this onboard oscillator allows user to generate a required clock (within limits) in the design.

Oscillator/Clock

Digital System Design with FPGA: Implementation using Verilog and VHDL

9 of 12

The Arty Board

Label Explanation

1 FPGA programming done LED

2 Shared UART/JTAG USB port

3 Ethernet connector

4 Power source select jumper

5 Power jack

6 Power LED

7 Eight LEDs

8 Four slide switches

9 Four push buttons

10 Arduino/chipKIT shield connectors

11 SPI header (Arduino/chipKIT compatible)

12 chipKIT processor reset jumper

13 Programmingmode jumper

14 chipKIT processor reset button

15 Four Pmod connectors

16 FPGA configuration reset button

17 SPI flash

18 Artix-7 FPGA

19 DDR3 memory

20 Power supply regulator

21 USB-UART bridge

22 Ethernet transceiver

B1 Oscillator/clock

Digital System Design with FPGA: Implementation using Verilog and VHDL

10 of 12

The Arty Board

The Arty board can be powered in three ways as using the shared UART/JTAG USB port, external power jack, and Arduino/chipKIT connectors. We will use the shared UART/JTAG USB port is used for powering the board.

Powering the Board

There are several digital input/output connections on the Arty board. These can be summarized as four Pmod connectors, Arduino/chipKIT shield connector, four tri-color LEDs, four LEDs, four slide switches, four push buttons, and chipKIT processor reset button and jumper.

Input/Output

Digital System Design with FPGA: Implementation using Verilog and VHDL

11 of 12

The Arty Board

Configuring the FPGA on the Arty board is similar to Basys3.

Configuring the FPGA

There are advanced connectors on the Arty board. These are the shared UART/JTAG USB port, ethernet connector, and Arduino/chipKIT compatible SPI header.

Advanced Connectors

  • Arty has two different external memory blocks.
    • The first one is a 128Mbit nonvolatile serial flash memory. This device is connected to Artix-7 FPGA through a dedicated SPI bus. FPGA configuration files can be saved in this flash memory.
    • The second memory block on the Arty board is a 256MB DDR3L SDRAM.

External Memory

Digital System Design with FPGA: Implementation using Verilog and VHDL

12 of 12

The Arty Board

The Arty board has an onboard oscillator/clock circuitry working at 100 MHz.

Clock signal generated by the oscillator is fed to the Artix-7 FPGA through its pins. Therefore, this onboard oscillator allows user to generate a required clock (within limits) in the design.

Oscillator/Clock

Digital System Design with FPGA: Implementation using Verilog and VHDL