This is you may modify this code such that we are able to enlist how we include the multiple conditions
in any field blocks, always try to implement forest to one max to be said.
These are the four data inputs that we have for our books.
OK.
And this is having the type that's standard and the scholarship rate and the direction it's in right
now.
In this case, when we have a full input to our mucks should have a controlled bin of, say, stupid
grades.
Select should have a set of two bits of standard and logic and vector, and then we will just be adding
one down to zero.
This is how we specify the Two-Bit Select Line Right and then y will again have the same type as our
input, which is standard.
And this code logic only if it has been the direction which is out right now.
This represents the combination of system monkey, right?
So we need to include all the input in a process block.
So we have a ABCD and select as our input.
So B and Select is already included.
We just need to add C and right.
So this is how we declare the combination of process.
Now we proceed and try to write the code for it.
Greater will just be commenting this entire process.
Let it just go ahead and come in this entire process and create the new process, right?
So after begin, right?
So we start with the process.
And since this is a compilation process, we need to add all the input, right?
So A, B, C, D and select all the input should be included in the process and so do the list, then
we are to begin right?
And since we have started the process, we will just be ending a process, right?
If you want to provide the name to a process, you could also provide a grade.
So this represent our combination of the process, provide the name at a cool rate.
So this is how you give a name to or a label to the process, right?
Then we proceed like this.
So if right, so if select is equal to zero zero, so we have the multiple dwellings you need, we need
to use the double click rate.
So if it is zero zero, then.
Then in that case, why OK, way to present our output port, so we by which we are saying no value
evaluators, by utilizing the signals assignment operators, the way will be cost way else.
If rate sales will be like this rate, then we specified the condition, so select will be close to
again.
Readable Code 01.
OK.
Again, you need to add 10.
And here we will be able to be.
Rape and --.
And they've selected is equal to one zero.
OK, there.
Why will be calls to sea and in the rest of the case, right?
The last case represent, then select is one one.
We need to connect it to the right or else if right now remember we are not utilizing edge or here because
when we consider united and this cold logic, we have nine different levels, right?
So if we consider it is.
So even though if we have a value other than one one, right, so we still will be connecting way to
the end, that is what that is, not what we are expecting, right?
Or else if we will just be adding select equals to one one, OK, then in that case, we will be connected
to D..
OK.
LS ls.
Indicating all the conditions which are not mentioned over here, right?
So this will be the combination.
Other than 192 in that case, why will we simply want to see right, so single could and sit next to
this complete all the.
States that we want to including an if statement, so as soon as you finish the definition of an if
you just need to use and if rates in space, if right.
So this completes the call and you'll be finding here, we get a green indication, right, that we
correctly follow a language languished literally just go ahead and see what is the circuit that is invoke
out of this code.
So we'll just be reloading our schematic.
And one thing that you'll be recognizing is this basically need to a creation of a gene of a Marxist
state.
So remember, you already have seen this circuit right when we discuss a conditional signals achievement,
a similar kind of network is created right.
And there we have discussed that whenever you have a situation where you want to utilize the complex
expression, we prefer to go with that behavioral modeling style instead of a dataflow molding state.
And the reason being you could clearly see with any field statement, OK, we are able to achieve the
same gene of a muxes or the same logic that we could get with the conditional signal statement.
So whenever you have a situation now to implement a complex expression retreat of low modeling states,
you'll see that if you could implement it with the behavioral modeling state, proceed with behavioral
modeling exchange rate.
So this is exactly similar what we get in a previous case.
All right.
So this is how we work around with.
The.
A failed blog that we have in and behavioral morning, say now what we're going to do is we'll just
be performing a simulation just to verify whether our system is correctly operating.
Rachel will click on run simulation and we perform behavioral simulation, right?
So we'll be applying a set of a stimulus to all the input.
And as we change the value of select, we'll be observing whether we correctly receive the signal that
we have on in the input.
OK, so let me just go ahead and try to apply the clock for all the inputs right to eat right click
foods clock right?
So one two zero and then we will be adding a period as a nanosecond rate.
So leading edge will be one, trailing edge will be zero.
The period that we have to turn is 100 nanosecond rate.
So far, we will be choosing some different periods when one zero does remain common and the period
that we have chosen over is three hundred nanosecond.
For C, let it just use a different rates of food clock one to zero.
And then here, the parade will be choosing its 500 nanosecond for the first look, right, one two
zero.
And the period that we will be adding is 700 nanoseconds right now.
What we're going to do is we will be changing the value of selected religious force consumed because
select is multilayered so we cannot use food clock, right?
So we will be using foods constrained and let it just add a value of zero zero, right?
So this basically mean that we should follow.
Right.
So let's just go ahead and try to run it for thousand nanosecond.
Right.
So if you just click on one button and try to click on Souffert, right, you could see the waveform
that y is following is exactly equivalent to a right because this is expected as select values.
Now let me just try to change the select value to zero one, right?
So when we are at 20 to one.
And if you just try to.
Both form and execution of the stimulus, you could clearly see that.
And we have a value of one over here, right?
So you have a reform, which is exactly following the reform.
Right?
Similarly, if you just use the food constitution and apply the value as one zero right now, why should
policy?
Right.
And that is what is happening over here, right?
And if you apply one one.
OK, in this case, why should follow right away should follow the right.
So here you could see now we have the view form, which is exactly equal to hate.
So this is how you could verify and operation of the forest to one rate.