Let us start with the first behavioral construct, right, so that is NFL Steve Mirek to the typical
format that we have for events like this.
So first process is a mandatory date without process.
We cannot use the behavioral construct, right.
So as we proceed with the process, we will be adding a begin, right?
So this is the immediate construct that you need to add after a process.
And since you have started the process, you need to end it right?
So in between, we need to add the behavioral construct, right?
So the format for a fellow treatment is like this.
So we start with Dave, right?
So if you have only two conditions, right, so if then you add a condition, then you need to add,
then right.
So this is the typical format that we have for the if else, in the VHA, right?
So if then?
So this allows us to specify a single treatment or multiple treatment between then, right?
So we could add on multiple treatment over here or the single treatment where you write to as soon as
we finish adding all the expression that you want to evaluate when the condition evaluates to true,
we could just add alt right and then specify the multiple thing or a single treatment that you want
to evaluate when this condition is not right since we have started, if we need to end, right.
So this is the format that we have for if it's right.
So whenever we have a two conditions, whenever we have a multiple condition, so we if we implement
them later.
So if the first condition, then we add a single or multiple treatment, then we add LS if right.
So this is not e l c i f right.
So it is l separate.
So this is how we add the next expression.
Then again.
OK.
So you go down like in single or multiple statement and then we have an L.
So here also we could add single or a multiple student.
And since we have started the f block, we will just be ending a grade.
So there is a space between and if right, so similar to any process, we have an end.
Right.
So this is the format that we have for if treatment with a multiple condition, right?
So what we're going to do is let's try to consider the demonstration of this with an example.
So first, let's try to implement twist one Max.
OK, so we have an idea about this and then we proceed to implement full list one mock three.
So there we could understand this more clearly, right?
So we go back to what we were doing and try to understand how we use this with a combination, as well
as sequential second rate.
So here we have already created absolute score.
OK, we are planning to work within standard and this cold logic type, so we need to include this package,
right?
ABCD right to e be representative.
Two data inputs for our two to one max, which is of size, single bit rate and the direction is input
rate.
Then we have a select right to select is the control input.
So depending on the value that we have or select OK, one of an input will be connected to output y.
So in a case when selected, zero right to select is zero.
We will be connecting a Y to E!
OK, and we will be connecting Y to the right.
And then we have an output which again have a theme size what we have for our input, right?
So we b represent our data input.
Y represent data output and select represent controlling.
But right now we proceed to to add the behavioral modeling, save the first construct that we need to
address process block.
Right now, our system is the combination of the circuit, right?
So we need to include all the input in a process.
So we start with B B and then we add select.
Right.
So here we have three input port e b and select.
We have added all of them in process block.
So this is how we implement the combination.
A circuit right off to you correctly specify the sensitivity list to start a beginning.
Right.
And since we have started, the process will just be ending a process.
So space process.
So you could also provide the name to the process block, right?
So we'll just be naming this sense of calm cross rate.
And then this is how you provide the name to a process in the case you have a multiple process in your
architecture.
Right now, we want to use it failed to implement our two to one max, right?
So we only have a two conditions.
So we've selected zero who will be connected to ALS y will be connected to be great.
So we proceed like this.
If OK, then we are the conditions they've select as equals to C2 right then.
OK, so this is the format that we have for and if so, why?
Why represent our output?
So to assign a value to it, we need to use the signal assignment operator right, the will be close
to eight eight.
So this is the only thing that we need to do when selected zero vehicle item multiple statement here
also.
So if you have multiple output, OK, then you could also add that over here, right else, OK?
Else y will be equal to be right.
Since we have started and if blocks that will just be adding a nephew, right?
So this is how we use a fence block to implement a combination of the circuit, right?
So if you just see the code and try to analyze the schematic that has been invoked with this code because
we could just go to an ideal analysis, I click on schematic right, we should be getting the to one
max.
If that is the case, we correctly able to implement our system, right?
So here you be able to invoke an ideal max right?
And the two data inputs are connected to the to input pin that we have on and max and select line is
also correctly connected, right?
So we are correctly able to implement to S2 one.