WEBVTT

00:00.090 --> 00:05.580
So now let us try to understand the typical format that we have for our signal, and so we already have

00:05.580 --> 00:06.750
added this old school.

00:06.960 --> 00:12.310
OK, and this is the template that we get with then we this so we have not added any food to our duty.

00:12.360 --> 00:18.990
So we just consider to the monster signal and variable so entity could be without the boats, right?

00:19.440 --> 00:24.330
And that is usually the case when you write the test, when traits of this fish do not have input and

00:24.330 --> 00:24.850
output.

00:25.360 --> 00:29.120
We could just demonstrate the concept with a cool like, that's right.

00:29.190 --> 00:35.550
So this is your re not synthesize it, but so you won't be getting any logic because you have to specify

00:35.550 --> 00:35.940
input.

00:36.450 --> 00:36.690
Right?

00:37.050 --> 00:39.590
So we start with an architecture, right?

00:39.590 --> 00:42.490
So here we have an architecture, then we can write.

00:42.490 --> 00:49.140
So this is the first space where we could declare full thing so we could add Cygnet because our company,

00:49.320 --> 00:54.190
we collect memories, or we could also add user defined Typekit.

00:54.210 --> 00:57.210
So these are the full components that we specify over here.

00:58.050 --> 00:58.410
OK.

00:58.680 --> 01:02.790
So to declare a signal, we start with the keyword signal, right?

01:03.660 --> 01:06.150
Then we provide the name to a segment.

01:06.150 --> 01:07.500
So let me just an e.

01:07.980 --> 01:11.070
Then we specify the type, right?

01:11.070 --> 01:17.010
So we add all right and then the detail that you want to have for a signal, right?

01:17.010 --> 01:18.810
So that is what you want to specify.

01:19.080 --> 01:25.380
Now, since we haven't covered much on the lead today, we will be simultaneously covering the data

01:25.380 --> 01:27.070
types that we have with the right.

01:27.090 --> 01:33.790
So as you complete a specification of today, then you use Coolen equals two without this piece, OK,

01:34.020 --> 01:37.110
who added initial value to the signal?

01:37.180 --> 01:37.440
Right.

01:37.460 --> 01:42.810
And finally, as you complete specifying an initial value, then you add a semicolon, right?

01:42.810 --> 01:45.240
So this is how you declare the signal.

01:45.540 --> 01:53.220
And if you consider a variable rate to begin, we have a process and between processes and begin, we

01:53.220 --> 01:56.450
get the space to declare variable rate.

01:56.470 --> 01:57.990
The process could have a name.

01:58.200 --> 02:03.360
So we'll just be adding this as even so, B one is the name for our process and we could have a multiple

02:03.360 --> 02:04.110
process, right?

02:04.470 --> 02:06.280
So let it just start B2 also.

02:06.300 --> 02:12.480
So as we start the process, we need to end the process before we start declaring the new process,

02:12.480 --> 02:12.680
right?

02:12.700 --> 02:14.540
So in process?

02:14.790 --> 02:15.600
This makes sense.

02:16.200 --> 02:19.890
So we declared our process even OK.

02:19.890 --> 02:25.770
And then we have a space between process and begin to declare the component that could be placed between

02:25.770 --> 02:26.100
this.

02:26.100 --> 02:31.290
And then we end up the process by calling and process to declare repeat process P2.

02:31.500 --> 02:33.690
So we start with the P2 again.

02:34.830 --> 02:38.430
Process the space to declare the component that process can have.

02:39.460 --> 02:40.000
Begin.

02:40.030 --> 02:45.170
And the last thing that we're going to do this in process and process, right?

02:46.740 --> 02:53.040
So to declare a variable for Process B one, we will start with the key word of it, then we provide

02:53.040 --> 02:57.210
the new to a variable really, just assume it to be then cool.

02:57.420 --> 03:00.060
OK, then we specify the due date again.

03:00.060 --> 03:06.030
We will not be adding ADT until we discussed it to initialize the variable.

03:06.060 --> 03:08.940
We will just be utilizing gold equals two.

03:09.280 --> 03:14.020
OK, without this piece, and then we add value to a variable.

03:14.040 --> 03:17.250
And finally, we add a semicolon, right?

03:17.250 --> 03:19.320
So this is how we declared a variable.

03:19.500 --> 03:22.710
So this variable will be local to the process.

03:23.100 --> 03:27.540
So Process B2 simply could not access this variable, right?

03:27.600 --> 03:32.120
This makes it so this is how we declare signal and the variable rate.

03:32.120 --> 03:35.940
So signal will be declared between architecture and begin.

03:36.090 --> 03:41.610
OK, remember this thing, whereas variable will be declared between ROS and Begin.

03:41.910 --> 03:45.450
This is this piece which is allocated for a declaration of what?
