WEBVTT

00:00.060 --> 00:05.840
So let us try to understand how we use a signal, so we will be focusing again on the two areas, how

00:05.910 --> 00:12.030
we I didn't value to a variable and how you read from lady right to the first magnitude thing when you

00:12.030 --> 00:15.240
work with over evil is you need to have a process, right?

00:15.570 --> 00:18.480
So for that process, variable will be local, right?

00:18.480 --> 00:20.340
So they just need my processor speed.

00:20.680 --> 00:20.970
OK?

00:21.330 --> 00:23.200
And then we added processing.

00:23.460 --> 00:26.060
Now what process do you envisage, Dennis?

00:26.190 --> 00:31.980
For example, if you have a combination of so great, so your output will depend primarily on all the

00:31.980 --> 00:32.640
inputs rate.

00:32.850 --> 00:38.190
And when we consider the sequential circuits, so your output depends on the clock, that is, your

00:38.190 --> 00:42.480
output will be evaluated whenever we have to change in a clock each, right?

00:42.930 --> 00:48.510
So process defines when your output should be evaluated based.

00:48.510 --> 00:52.950
So then we write code like this data process.

00:53.550 --> 01:00.120
That basically mean as soon as we have a change in the value of V, so whatever expression that you

01:00.120 --> 01:03.390
specify inside the process will be evaluated.

01:03.410 --> 01:05.760
Look at and we see the changes in an outbreak.

01:06.360 --> 01:10.890
So we will be discussing more of the process as we progress to behave in more.

01:10.890 --> 01:12.810
Let's say only thing to remember is.

01:13.230 --> 01:18.150
So if you have multiple inputs present in the air, we still call.

01:18.300 --> 01:20.990
And if you circuit is combination is so great.

01:21.030 --> 01:24.900
In that case, we will be adding all the input in the process.

01:25.710 --> 01:31.050
Whenever you are working with the sequence circuit, so you will be adding the clock in the process,

01:31.050 --> 01:31.350
right?

01:31.650 --> 01:40.950
And that process basically define on what signal your expression should be evaluated that the expression

01:40.950 --> 01:42.310
that you mentioned in the process.

01:42.540 --> 01:42.840
Right.

01:43.200 --> 01:44.490
Then we have a begin, right?

01:44.490 --> 01:50.610
So we already know that between processes and begin, we have a space where we will be declaring a variable

01:50.610 --> 01:52.080
rate to proceed with.

01:52.080 --> 01:54.450
The very people will be naming the system.

01:54.470 --> 01:58.800
And now since we want to store the value of any number.

01:59.370 --> 02:05.210
So we need to again add the same data that we have for our right to standard.

02:05.480 --> 02:06.710
And let's go vector.

02:07.290 --> 02:14.930
Again, variable do not have any direction, right, similar to what we discussed with the signals,

02:14.960 --> 02:15.270
right?

02:15.600 --> 02:19.800
So standard analytical logic on Niseko Vector and then three down to zero rate.

02:19.800 --> 02:25.980
So this is exactly what the data type that we have for the pootie right, because we want this to the

02:26.310 --> 02:33.240
ordinary down to a variable rate, then we could use Kalinic was to agree to initialize this to the

02:33.240 --> 02:34.160
value that we want.

02:34.170 --> 02:35.910
So let it just try to know why.

02:35.910 --> 02:41.550
Double code, because we have multiple value vector level cooked and then food zeba.

02:41.820 --> 02:44.070
So this will initialize them to us.

02:44.340 --> 02:50.310
Then as we start the process, we know that anything we start navigation, we must integrate.

02:50.310 --> 02:56.250
So before writing a logic that it just stay in the process right now in between, we will be adding

02:56.250 --> 02:56.910
a logic, right?

02:57.180 --> 03:01.680
So let us try to assign the value of each to a template.

03:01.710 --> 03:02.490
So we start with the.

03:03.270 --> 03:06.240
Then we use a variable assignment operator.

03:06.330 --> 03:12.570
So whenever you want to assign a value to a variable, you need to use a variable assignment operator,

03:12.570 --> 03:12.760
right?

03:12.780 --> 03:15.630
So variable assignment operator, they should like this.

03:15.630 --> 03:18.030
You have a pool and equals to rate.

03:18.060 --> 03:21.840
This is not what we did in Signal, right?

03:21.850 --> 03:22.710
So far, Signal.

03:22.710 --> 03:29.750
We need to use signal assignment of data and for a very but we need to use a variable assignment operator,

03:29.820 --> 03:30.090
right?

03:30.900 --> 03:32.430
Then we add an expression.

03:32.430 --> 03:35.850
So in this case, an expression is simple variable rate.

03:36.090 --> 03:38.370
So this completes the logic that we want to add.

03:38.600 --> 03:43.560
Now we want to connect the value that we have on a team to a one.

03:43.860 --> 03:49.360
So you already know that we could not use them outside the process, right?

03:49.380 --> 03:56.250
So if you are in a situation where you want to use the value of a temp, you are saying it to an output

03:56.250 --> 03:56.850
both OK.

03:56.850 --> 04:01.320
And that is, you need to specify an output inside the process, right?

04:01.560 --> 04:06.450
So here, just below it will be adding a way now for a port, a signal.

04:06.450 --> 04:10.110
We already know that the type of assignment operator that we're going to use this.

04:11.150 --> 04:17.670
Signal assimilate, so it just really signal assignment operator and then the tip.

04:17.810 --> 04:18.060
Right.

04:18.680 --> 04:25.520
So this is how you connect variable to the right to remember them is valid only in a process block.

04:25.760 --> 04:30.500
So if you want to connect them to any of the signals are appalled.

04:30.800 --> 04:32.990
So you need to utilize it in the process.

04:33.200 --> 04:34.250
So this complete call?

04:34.520 --> 04:40.550
So some of the key points that you need to remember is and must have the same tape that you have for

04:40.550 --> 04:43.070
a boot, which you want to provide, right?

04:43.070 --> 04:51.060
So if if you want to do the value of inside the tape, so it should have a scene tape that I would have

04:51.110 --> 04:57.560
right then to assign a value to an variable, we need to use our variable assignment operator right?

04:57.560 --> 05:00.530
So far, a signal line, a good signal assignment operator.

05:00.530 --> 05:04.070
We're just fine for the variable.

05:04.350 --> 05:06.840
OK, you need to use variable assignment operator now.

05:06.890 --> 05:12.440
If you just replace this with the signal assignment operator, you'll immediately see.

05:14.060 --> 05:18.470
Edit, if you try to perform an analysis, let me just see this here.

05:18.740 --> 05:22.790
You could see we do not get any real indication.

05:23.060 --> 05:23.390
OK.

05:23.510 --> 05:29.630
But if you just try to go ahead lyricism to an ideal analysis and try to open a schematic, let me just

05:29.630 --> 05:30.400
click on look.

05:31.900 --> 05:33.750
So you could see now we start to see.

05:34.230 --> 05:34.530
Right.

05:34.800 --> 05:39.830
And there it is, use who was to do a saying the lady was right.

05:39.840 --> 05:45.210
So remember this variable assignment operator you need to use if you are lucky with them?

05:45.580 --> 05:45.780
Right.

05:45.780 --> 05:50.440
So we'll just be changing this back to the variable assignment operator.

05:50.490 --> 05:53.060
We'll see what we go back to.

05:53.400 --> 05:57.300
I would like to do right now here we have our existing simulation, right?

05:57.300 --> 06:00.280
So we're going to just close an existing simulation.

06:00.300 --> 06:04.860
OK, it's a good idea could be that you close the simulation tab that you see.

06:04.890 --> 06:05.490
All right.

06:05.490 --> 06:08.220
So we'll just be closing the simulation loop.

06:08.220 --> 06:14.160
And if you want to store the window, we will form information, OK, you could just save it or else

06:14.160 --> 06:15.450
we could just discard it, right?

06:15.480 --> 06:18.390
We do not need to use the flow of information.

06:19.230 --> 06:23.250
Now we proceed for a gain performing a behavioral simulation.

06:24.590 --> 06:25.040
Now.

06:26.500 --> 06:30.520
So let me just try to assign a value to we will be right, so right click.

06:31.500 --> 06:37.590
What's continuing and will be utilizing the value in the binary format, the one zero one one click,

06:37.590 --> 06:37.980
OK.

06:38.100 --> 06:43.390
And let me just try to execute that right now you will see both our bus have a scene, right?

06:43.530 --> 06:43.770
Right.

06:43.770 --> 06:46.440
So we actually able to utilize the video.

06:46.440 --> 06:56.350
But OK, inside right now we have a duel to use to store the temporary data from what we need across

06:56.760 --> 06:57.330
the signal.

06:57.540 --> 07:03.570
Or we could prosecute the very, very signal have a global scope while the video will have the local

07:03.570 --> 07:03.810
school.
