Let us try to understand how we use Road8 obliterate, so we have a full rooted operator routed left,
rooted right.
And again, who left it right, right, so this could be operated within an data, or it could also
be operated with and signed it.
In both the case, the operation remains seem right.
The next one is the number of times we want to put it right.
So this basically represent the big position we want to roll, right.
So the second argument is to count.
And if you pass an argument, the data in to the routed operator, if it is unsigned, then it will
also written and unsigned.
And if the argument is saying okay, so it will again read and say this makes sense.
So there's articulating a numeric standard library, so we need to include it before we use it, we
go to the right.
First thing that we do is to include it in numeric standard library, right?
Then we declare to signatory to one of them is unsafe, right?
Because this work on an unsigned it and then other one is assigned right.
Each is having a set of orbits or three down to zero and we initialize it to one zero.
Let's assume one what rate.
Then we declare to variable, which will be holding the result after rotation.
Right.
So you are left will be holding the result after we perform the rotation left by a factor of one on
an unsigned data.
Or we initialize this to a zero and you are right will hold the result after a rotation for an unsigned
data by a factor of rate.
Similarly, we declare when signed the day, right, so this we initialize to one zero one zero and
we declare again to variable there should be a gain of st8 because this will be holding the result after
rotation of assigned lead.
Right now, the code will be very simple.
Let us first operate on Unsane rotate left right.
So to perform rotation in the left direction.
So we just need to type rotate left right.
So rotate and the school left.
First argument is the source of the data so far, as Dean is the source of whether this should be on
st.
OK, and the factor by which we want to perform a rotation.
So here we will be performing a rotation by a factor of one.
Then we declare you are right.
Right.
So basically this mean that we are performing on st rotation in the right direction, right?
So we need to use rotate underscore.
Right.
Right?
Then first argument is the source of data, which is dean and the factor by which you want to perform
a rotation.
So here L2 will be performing rotation by a factor of one.
Then to utilize the rotation operator with the same data, so s. rate rotation and the left rate again,
the operator that we can guess is the signal operator signal assignment operator because we are working
with that signal, right?
Then let's just use rotate left.
OK, now here we want to add an argument at the same rate.
So for us, Dean to represent the same data and de-facto by which we want to go from the rotation,
similarly signed right will be equal to.
OK, the rotate right.
Then the same data source, which is dean two and the factor by which we want to perform a rotation
rate.
So this is how we utilize the rotation operator, and I will just see what what I hear you could see.
We have a green indication indicating that we are correctly following the template, right?
Then we just perform a simulation, right?
So we'll just see our cool and allow us to perform a simulation.
Right now we select all the variables and we change the radius to a binary rate.
So just select all the variables right click and then you have Radix and you select the binary, right?
Now we could see for an unsigned that we have, the data is one zero one one, right?
So rotation in the left election.
So this one that we have out and MSP will be coming at out and this week, right, and then zero one
one will be shifted left right.
So this gives us zero one one and then this maybe one will be at an audition rate if we consider.
Right, right.
So in that case, what will happen is this one that we have it analyzed.
We will be coming on.
It must be say great.
So we have one that is coming from an V and this one zero one rate will be shifted, right?
So we have one zero one right.
So this is how we get the shifting result, right?
Similarly, if you work on unsigned data, so we have one zero one one zero rate, the waveform left
shift right, so this must be will be coming at LSP.
So we have one over here and then zero one zero is shifted in the left direction, right.
So we have zero one zero nine.
This one from my name is B.S. and if you were bom shifting in the right direction for assigned data
to whatever we have at an MSP rate will be coming at analyst LSP.
So this one will be coming over here and then one zero one will be shifted to.
Right.
Great, so you could see both the cases, the result is matching to an expected is great.
So this is how we use the rotation of data rates.
Something that we need to take is this work with an unsigned and signed today, right?
So whenever we have a requirement where let's assume our input and output port is of standard and the
logic and vector type, then we need to perform a conversion from an unsane to a standard logical analytical
vector.
OK, before we are saying it to any right.
And since visual is the strongly type language, we need to perform a conversion manually, Rachel.
First, we'll just be covering some fundamental related to, on and timely today.
Right.
And what are the scenarios where we currently adopt them?
We will first be covering that fundamental and then we proceed for a conversion between those data type
rates.
So the conversion that we frequently Q2.