0
1
00:00:01,400 --> 00:00:07,070
What is the HLS design overall structure of a possible logic design that sends the states of switches to 
1

2
00:00:07,080 --> 00:00:08,280
LEDs? Here
2

3
00:00:08,330 --> 00:00:10,370
I am going to explain this overall structure.
3

4
00:00:11,880 --> 00:00:18,390
The design inside an FPGA should read the switches’ states and sent them to LEDs without any processing. 
4

5
00:00:18,450 --> 00:00:21,990
Therefore, the hardware design is just a couple of simple connections. 
5

6
00:00:22,620 --> 00:00:26,160
The circuit design inside the FPGA is just a bunch of wires. 
6

7
00:00:26,970 --> 00:00:30,840
This circuit should be described by a C/C++ function in HLS. 
7

8
00:00:31,260 --> 00:00:36,870
Also, we need a set of constraints that describes the connection between the FPGA I/O pins and the design 
8

9
00:00:36,870 --> 00:00:37,410
parts.
9

10
00:00:38,990 --> 00:00:45,100
As I explained in the previous section, ports and interfaces are playing a crucial role in HLS. 
10

11
00:00:45,800 --> 00:00:51,590
Now the question is, What are suitable interfaces for the ports in our simple input/output example?
11

12
00:00:52,130 --> 00:00:57,650
In the next lecture, I will talk a little bit more about the concept of ports in HLS and the suitable 
12

13
00:00:57,650 --> 00:01:00,140
interfaces for our current design example.
13

14
00:01:01,600 --> 00:01:08,320
These are our takeaway messages: Our FPGA design has five parts 1-Switches as a peripheral that generates 
14

15
00:01:08,350 --> 00:01:15,390
data. 2-LEDs as a peripheral that consumes data.3- Connections between peripherals and the FPGA
15

16
00:01:15,970 --> 00:01:23,590
4- The design itself 5- Connections between FPGA I/O pins and the design ports. Peripherals and their connections 
16

17
00:01:23,590 --> 00:01:24,460
are on board.
17

18
00:01:25,800 --> 00:01:34,320
Design and its connection to I/Op pins are inside the FPGA
An HLS C function can describe the design functionality.
18

19
00:01:34,680 --> 00:01:40,500
A set of constraints describes the connection between design ports and FPGA I/O pins.
19

20
00:01:41,790 --> 00:01:43,420
This is the quiz question for this lecture.
20

21
00:01:43,830 --> 00:01:48,920
Can we describe a circuit design and the connection between its ports and the FPGA I/O pins in an HLS 
21

22
00:01:48,990 --> 00:01:49,710
C function?
