WEBVTT

00:00.150 --> 00:06.000
Let us try to understand how we use Road8 obliterate, so we have a full rooted operator routed left,

00:06.000 --> 00:06.810
rooted right.

00:07.260 --> 00:13.470
And again, who left it right, right, so this could be operated within an data, or it could also

00:13.470 --> 00:14.820
be operated with and signed it.

00:14.880 --> 00:17.460
In both the case, the operation remains seem right.

00:17.490 --> 00:20.520
The next one is the number of times we want to put it right.

00:20.520 --> 00:25.920
So this basically represent the big position we want to roll, right.

00:25.920 --> 00:27.450
So the second argument is to count.

00:27.690 --> 00:34.590
And if you pass an argument, the data in to the routed operator, if it is unsigned, then it will

00:34.590 --> 00:36.020
also written and unsigned.

00:36.240 --> 00:41.400
And if the argument is saying okay, so it will again read and say this makes sense.

00:41.400 --> 00:47.400
So there's articulating a numeric standard library, so we need to include it before we use it, we

00:47.400 --> 00:49.230
go to the right.

00:49.410 --> 00:53.580
First thing that we do is to include it in numeric standard library, right?

00:53.970 --> 00:57.530
Then we declare to signatory to one of them is unsafe, right?

00:57.540 --> 01:01.320
Because this work on an unsigned it and then other one is assigned right.

01:01.650 --> 01:06.540
Each is having a set of orbits or three down to zero and we initialize it to one zero.

01:06.900 --> 01:08.490
Let's assume one what rate.

01:09.390 --> 01:13.590
Then we declare to variable, which will be holding the result after rotation.

01:13.590 --> 01:13.830
Right.

01:13.830 --> 01:21.450
So you are left will be holding the result after we perform the rotation left by a factor of one on

01:21.450 --> 01:22.410
an unsigned data.

01:22.770 --> 01:29.520
Or we initialize this to a zero and you are right will hold the result after a rotation for an unsigned

01:29.520 --> 01:31.200
data by a factor of rate.

01:31.500 --> 01:37.530
Similarly, we declare when signed the day, right, so this we initialize to one zero one zero and

01:37.530 --> 01:43.050
we declare again to variable there should be a gain of st8 because this will be holding the result after

01:43.420 --> 01:45.090
rotation of assigned lead.

01:45.170 --> 01:46.930
Right now, the code will be very simple.

01:46.950 --> 01:51.120
Let us first operate on Unsane rotate left right.

01:51.660 --> 01:54.300
So to perform rotation in the left direction.

01:54.300 --> 01:57.030
So we just need to type rotate left right.

01:57.030 --> 01:58.290
So rotate and the school left.

01:58.830 --> 02:05.010
First argument is the source of the data so far, as Dean is the source of whether this should be on

02:05.010 --> 02:05.370
st.

02:05.730 --> 02:08.640
OK, and the factor by which we want to perform a rotation.

02:08.640 --> 02:11.520
So here we will be performing a rotation by a factor of one.

02:12.000 --> 02:14.880
Then we declare you are right.

02:14.890 --> 02:15.180
Right.

02:15.190 --> 02:20.640
So basically this mean that we are performing on st rotation in the right direction, right?

02:20.640 --> 02:23.190
So we need to use rotate underscore.

02:23.250 --> 02:23.720
Right.

02:23.850 --> 02:24.230
Right?

02:24.720 --> 02:30.450
Then first argument is the source of data, which is dean and the factor by which you want to perform

02:30.450 --> 02:30.960
a rotation.

02:30.960 --> 02:33.720
So here L2 will be performing rotation by a factor of one.

02:33.960 --> 02:42.780
Then to utilize the rotation operator with the same data, so s. rate rotation and the left rate again,

02:42.990 --> 02:48.150
the operator that we can guess is the signal operator signal assignment operator because we are working

02:48.150 --> 02:49.560
with that signal, right?

02:49.930 --> 02:52.300
Then let's just use rotate left.

02:52.380 --> 02:55.740
OK, now here we want to add an argument at the same rate.

02:56.010 --> 03:01.650
So for us, Dean to represent the same data and de-facto by which we want to go from the rotation,

03:02.070 --> 03:06.090
similarly signed right will be equal to.

03:06.630 --> 03:08.760
OK, the rotate right.

03:08.760 --> 03:14.220
Then the same data source, which is dean two and the factor by which we want to perform a rotation

03:14.220 --> 03:14.430
rate.

03:14.760 --> 03:19.740
So this is how we utilize the rotation operator, and I will just see what what I hear you could see.

03:19.740 --> 03:24.030
We have a green indication indicating that we are correctly following the template, right?

03:24.360 --> 03:26.990
Then we just perform a simulation, right?

03:27.000 --> 03:31.310
So we'll just see our cool and allow us to perform a simulation.

03:31.790 --> 03:36.660
Right now we select all the variables and we change the radius to a binary rate.

03:36.660 --> 03:44.670
So just select all the variables right click and then you have Radix and you select the binary, right?

03:45.030 --> 03:50.250
Now we could see for an unsigned that we have, the data is one zero one one, right?

03:50.250 --> 03:51.900
So rotation in the left election.

03:51.900 --> 03:57.180
So this one that we have out and MSP will be coming at out and this week, right, and then zero one

03:57.180 --> 03:59.080
one will be shifted left right.

03:59.100 --> 04:07.160
So this gives us zero one one and then this maybe one will be at an audition rate if we consider.

04:07.360 --> 04:08.410
Right, right.

04:08.700 --> 04:13.620
So in that case, what will happen is this one that we have it analyzed.

04:13.620 --> 04:14.880
We will be coming on.

04:15.210 --> 04:16.200
It must be say great.

04:16.200 --> 04:21.990
So we have one that is coming from an V and this one zero one rate will be shifted, right?

04:22.000 --> 04:23.450
So we have one zero one right.

04:23.790 --> 04:26.880
So this is how we get the shifting result, right?

04:27.330 --> 04:33.930
Similarly, if you work on unsigned data, so we have one zero one one zero rate, the waveform left

04:33.930 --> 04:36.960
shift right, so this must be will be coming at LSP.

04:37.020 --> 04:41.910
So we have one over here and then zero one zero is shifted in the left direction, right.

04:41.910 --> 04:43.320
So we have zero one zero nine.

04:43.320 --> 04:48.750
This one from my name is B.S. and if you were bom shifting in the right direction for assigned data

04:49.290 --> 04:53.000
to whatever we have at an MSP rate will be coming at analyst LSP.

04:53.010 --> 04:59.550
So this one will be coming over here and then one zero one will be shifted to.

05:00.050 --> 05:00.470
Right.

05:00.470 --> 05:05.890
Great, so you could see both the cases, the result is matching to an expected is great.

05:05.900 --> 05:08.900
So this is how we use the rotation of data rates.

05:08.900 --> 05:14.860
Something that we need to take is this work with an unsigned and signed today, right?

05:14.870 --> 05:19.790
So whenever we have a requirement where let's assume our input and output port is of standard and the

05:20.010 --> 05:27.880
logic and vector type, then we need to perform a conversion from an unsane to a standard logical analytical

05:27.920 --> 05:28.370
vector.

05:28.760 --> 05:31.070
OK, before we are saying it to any right.

05:31.230 --> 05:38.300
And since visual is the strongly type language, we need to perform a conversion manually, Rachel.

05:38.510 --> 05:43.050
First, we'll just be covering some fundamental related to, on and timely today.

05:43.460 --> 05:43.760
Right.

05:43.760 --> 05:46.850
And what are the scenarios where we currently adopt them?

05:47.110 --> 05:52.630
We will first be covering that fundamental and then we proceed for a conversion between those data type

05:52.640 --> 05:52.880
rates.

05:52.880 --> 05:55.020
So the conversion that we frequently Q2.
