1
00:00:01,140 --> 00:00:06,840
How can we evaluate our parallel to surreal and surreal, to parallel designs and check their functionality

2
00:00:06,840 --> 00:00:11,790
and practice this lecture, we'll handle this question using what is such?

3
00:00:12,090 --> 00:00:13,440
And we want to design it.

4
00:00:16,070 --> 00:00:22,250
In order to evaluate our designs, we synthesize them separately using white Essentialists and generate

5
00:00:22,250 --> 00:00:23,150
the corresponding arc.

6
00:00:25,390 --> 00:00:29,430
Then we integrate them and Nevada project and connect them together.

7
00:00:32,050 --> 00:00:38,110
First, then you want a socialist project with the name of parallel to Sario Dash Livaditis.

8
00:00:39,110 --> 00:00:45,920
Choose parallel to serial as a design top function name to the basis three more at the Target FPGA platform.

9
00:00:51,400 --> 00:00:55,960
Make sure that if we want an IP flow target is selected as the floor targets.

10
00:01:01,870 --> 00:01:08,560
Create the design and test bench finds as viticulturist creates the fires outside the project folder

11
00:01:08,560 --> 00:01:13,140
by default, make sure to create the finds inside the project folder.

12
00:01:33,180 --> 00:01:37,450
Upon the design, Heather find and include the AP underscore that Heather.

13
00:01:38,830 --> 00:01:45,400
Then define the macro end, which is equal to it now open the design source file and include the Hanafi.

14
00:01:47,390 --> 00:01:55,100
Then the design function that accepts five arguments, two inputs and outputs.

15
00:01:56,860 --> 00:02:02,900
At the port, interfaces define a static variable called count and initialize that with that.

16
00:02:04,170 --> 00:02:09,930
Then check the input, begin, if it is one, then assign zero to count, ready to convert parallel

17
00:02:09,930 --> 00:02:17,220
data to Sario, then through a chain of, if else statements implements the functions behavior, as

18
00:02:17,220 --> 00:02:18,720
mentioned earlier in this section.

19
00:02:21,390 --> 00:02:26,910
Open the test, ban Sharafi, include the design header file and the design top function prototype.

20
00:02:29,830 --> 00:02:37,510
Could be the parallel to Sariel Dash TV that five content into the test page Sourcefire, you can find

21
00:02:37,510 --> 00:02:40,500
this file in the resources folder attached to this lecture.

22
00:02:41,260 --> 00:02:46,780
I will explain how to write a test bench file for a single cycle design flaw in a separate section.

23
00:02:47,750 --> 00:02:54,350
Let's just have a quick review over this test bench by the top function is called at line 18.

24
00:02:55,310 --> 00:02:59,210
While the design signal is zero, then the design does not do anything.

25
00:03:00,050 --> 00:03:02,120
Then the design is called eight times.

26
00:03:02,280 --> 00:03:07,460
Why are the fall line 21 notice that only through the first call.

27
00:03:07,790 --> 00:03:09,430
The begin signal is one.

28
00:03:10,130 --> 00:03:16,270
So the designer starts to convert the input parallel data into serial data and sends one data point

29
00:03:16,340 --> 00:03:22,640
out during each function called the if statement at the line twenty eight checks the design functionality.

30
00:03:29,310 --> 00:03:35,550
Now we can perform the simulation after finishing the simulation, check the outputs if it is equal

31
00:03:35,550 --> 00:03:36,860
to the input panel data.

32
00:04:06,860 --> 00:04:08,210
Now perform the synthesis.

33
00:04:11,710 --> 00:04:17,680
Have a look at the analysis perspective as it proves the single cycle article description for our analysts

34
00:04:17,680 --> 00:04:18,040
code.

35
00:04:22,050 --> 00:04:24,030
Let's look at the full synthesis report.

36
00:04:31,840 --> 00:04:39,820
Detailed design consists of 33 flipflops and 151 one lookup tables, and all ports are synthesized into

37
00:04:39,820 --> 00:04:42,670
simple wires as a design is sequential.

38
00:04:42,820 --> 00:04:45,880
The clock on reset signals are added to the final hardcore.

39
00:04:48,570 --> 00:04:53,670
Called RTL Siecle Simulation, select all option in the dumped race feature.

40
00:04:59,750 --> 00:05:07,740
After finishing the simulation, the open view icon will click on that to open the all the way from

41
00:05:07,740 --> 00:05:08,120
the.

42
00:05:47,040 --> 00:05:52,470
Sure, the design input output clock and reset signals and check their waveforms.

43
00:07:10,660 --> 00:07:12,790
Now export the corresponding yorgi.

44
00:07:18,200 --> 00:07:24,770
We should also generate the we want IP corresponding to the therriault to parallelled circuits, so

45
00:07:24,920 --> 00:07:28,860
create a new wireless such as project with the name of serial to parallel.

46
00:07:28,880 --> 00:07:33,140
That's why to such a list, choose the basis to be born as a target FPGA platform.

47
00:07:49,990 --> 00:07:55,960
Download the design and test bench files from the resources folder attached to this lecture, then add

48
00:07:55,960 --> 00:07:58,840
them to the created winter such as project.

49
00:08:17,080 --> 00:08:18,820
Investigate the design parts.

50
00:08:39,580 --> 00:08:46,660
Have a look at a test by Sourcefire to follow Bodyline 21 called the design function eight times only

51
00:08:46,660 --> 00:08:48,190
during the first call.

52
00:08:48,550 --> 00:08:52,960
The start underscores, underscore, underscore on underscore data signal is one that indicates the

53
00:08:52,960 --> 00:09:00,730
start of conversion after the eighth function call, then conversion should be one and then the output

54
00:09:00,730 --> 00:09:01,300
is valid.

55
00:09:02,850 --> 00:09:09,360
The test bench also compares the parallel data generated by design with the original data, and if they

56
00:09:09,360 --> 00:09:11,160
match, the test would be successful.

57
00:09:16,070 --> 00:09:21,650
Called the synthesis process, inspect analysis perspective and ensure that the description is a single

58
00:09:21,650 --> 00:09:22,810
cycle Ortel design.

59
00:10:14,890 --> 00:10:17,290
Now perform the artillery simulation.

60
00:10:18,100 --> 00:10:21,340
Don't forget to select the all option for dumb trace feature.

61
00:10:26,740 --> 00:10:28,530
Click on the Open Viewer IRC.

62
00:10:53,770 --> 00:10:58,930
And if you want to wave your sure, the design, input, output and clock signals, please check the

63
00:10:58,930 --> 00:11:04,930
generator parallel data at the eight o'clock cycle after the positive pulse on the surreal underscore

64
00:11:04,930 --> 00:11:05,680
start signal.

65
00:11:40,250 --> 00:11:44,120
Now, generically, we want IP by running the export archil task.

66
00:11:49,660 --> 00:11:54,670
Now, we should connect the generated IPS together and check our design on the basis rebought.

67
00:12:00,240 --> 00:12:06,030
For this purpose, created what the project with the name of parallel to Sariel to parallel Dashwood

68
00:12:06,770 --> 00:12:09,720
to the base, is to report as the underlying FPGA platform.

69
00:12:27,640 --> 00:12:33,370
Create a new black design, then add the generated IP into the Viviendo repository.

70
00:12:58,120 --> 00:13:01,120
Now, find the IPIS and add them to the design area.

71
00:13:19,710 --> 00:13:26,940
Connect IP together and make the external inputs and outputs change the external port names Ashong.

72
00:14:28,630 --> 00:14:35,800
Now we need a set of physical constraints to connect the external power to the proper FPGA pins, you

73
00:14:35,800 --> 00:14:39,580
can find the constraint fight in the resources folder attached to this lecture.

74
00:14:41,470 --> 00:14:47,710
Right, click on the concentrate folder and select add resources then in the ad resources page ensured

75
00:14:47,710 --> 00:14:50,470
that the ad or create constraints is selected.

76
00:14:51,360 --> 00:14:57,030
Then click on Create File Bottom and choose the parallel to Sariel to parallel as the filing.

77
00:14:58,020 --> 00:15:03,210
Open them to concern fines and face the constant fire content that you just download.

78
00:15:04,110 --> 00:15:06,150
Have a look at the news constraints.

79
00:15:22,290 --> 00:15:28,200
Now, right, click on the design and create the article wrapper, then run the generator out to products

80
00:15:28,200 --> 00:15:28,710
task.

81
00:15:30,690 --> 00:15:33,810
Following that, click on the generate bitstream link.

82
00:16:18,630 --> 00:16:22,980
After generating the FBI bitstream program, the board and examine the design.

83
00:16:27,610 --> 00:16:34,180
The design reads eight slide switches in power and converts them to serial data and it turns them back

84
00:16:34,180 --> 00:16:37,120
to power and shows them on eight eles.

85
00:16:41,250 --> 00:16:46,770
To start this task, you should press the push button whenever you change the switch is a status.

86
00:17:02,860 --> 00:17:07,250
This video was the last lecture explaining the design ideas in this section.

87
00:17:07,570 --> 00:17:13,410
So the next lecture will give you some exercises to master what you have learned by now.

88
00:17:16,710 --> 00:17:23,190
These are our takeaway messages, a complex sequential design can be represented by a data photograph

89
00:17:23,190 --> 00:17:27,870
in which each note can be an IP generated by the toolset.

90
00:17:29,960 --> 00:17:36,130
They've evolved ideas can easily build the dataflow of an intricate design by connecting IPIS together.

91
00:17:39,090 --> 00:17:45,600
Now, the police question connect to 16 bit parallel to surreal and surreal, two parallel ipis in Rebadow

92
00:17:45,780 --> 00:17:47,480
and generate FPGA bitstream.
