0
1
00:00:01,720 --> 00:00:07,510
In this lecture, we are looking at the basic output elements and their configurations on the Basys 3 board.
1

2
00:00:07,510 --> 00:00:08,020
board.
2

3
00:00:10,870 --> 00:00:18,400
Probably the simplest way to show digital signals is using LEDs. The Basys 3 board contains 16 individual 
3

4
00:00:18,400 --> 00:00:22,080
user LEDs connected to FPGA pins through a set of resistors. 
4

5
00:00:22,810 --> 00:00:29,500
Any logical value generated inside the FPGA can be represented on these LEDs following simple design methodologies. 
5

6
00:00:33,480 --> 00:00:40,500
Basys 3 board has an Artix 7 (XC7A35T) FPGA with CPG236 packaging code and based on the pin 
6

7
00:00:40,550 --> 00:00:45,310
configuration shown in this figure; it has 238 pins under the chip. 
7

8
00:00:45,800 --> 00:00:52,460
Each pin has a name that is the concatenation of a letter and a number which defines its position in a 2D 
8

9
00:00:52,460 --> 00:00:53,640
coordinate system.
9

10
00:00:54,350 --> 00:00:57,170
For example, the name of this pin is U16.
10

11
00:01:01,810 --> 00:01:07,540
This figure shows the connections between the FPGA and the components on the Basys 3 board. It can 
11

12
00:01:07,540 --> 00:01:14,260
be found on the Board Reference Manual available on the manufacturer website. To connect to the website, 
12

13
00:01:14,410 --> 00:01:16,510
use the QR code on this slide.
13

14
00:01:17,320 --> 00:01:20,790
This picture shows the pin-name on the FPGA connected to LEDs. 
14

15
00:01:21,580 --> 00:01:28,210
Our design in the FPGA should drive these pins with proper data to turn on/off the corresponding LEDs.
15

16
00:01:28,750 --> 00:01:29,830
As can be seen, 
16

17
00:01:29,860 --> 00:01:39,340
LEDs are connected together in a common cathode configuration, and their anodes are derived by FPGA via 330-ohm 
17

18
00:01:39,340 --> 00:01:40,450
resistors, 
18

19
00:01:40,810 --> 00:01:48,010
so for turning on an LED a logic high voltage (or logic value 1) should be applied to the corresponding 
19

20
00:01:48,010 --> 00:01:48,790
FPGA pin.
20

21
00:01:51,040 --> 00:01:58,240
In the next lecture, I will explain the basic concepts behind the LED controller design in HLS and I will clarify
21

22
00:01:58,240 --> 00:02:04,990
that this design consists of two parts a functional block described in C C++ and the connections between
22

23
00:02:04,990 --> 00:02:07,010
this block and the FPGAs pins.
23

24
00:02:09,010 --> 00:02:14,620
Takeaway points from this lecture are: The name of FPGA I/O pins connected to the LEDs that
24

25
00:02:14,620 --> 00:02:18,070
we will use later. To turn on an LED, 
25

26
00:02:18,490 --> 00:02:21,760
we apply the logic value 1 to the corresponding FPGA pin. 
26

27
00:02:23,220 --> 00:02:24,570
This is the quiz for this lecture
27

28
00:02:25,120 --> 00:02:32,760
Find the pin location of the seventh LED on the Basys3 board that is denoted by LD06 in the following 
28

29
00:02:32,760 --> 00:02:33,170
picture.
