So now we understand how we use signal and variable rate, so how we specifically assign a value to
a signal and then how we view the back of value from a signal.
Similarly, how we assign a value for people and then how you view the back of alright.
So this will give us a fundamental set of rules that you need to follow while utilizing signal and very
right.
So we already have created a new project.
We select the design source folder.
Click on this.
But right, so this gives us the window where we could specify the source code, right?
So we'll just be creating and just clicking on create design tools.
Click Next.
OK, we haven't created a new project yet.
OK, so source file is not available with this, so we'll just be creating a new source Typekit.
So when you click on Read By Here, we named our file desktop.
OK, and the language that we are choosing is right so that this will just finish now will assume that.
They will be having an input booth of, say, scoop it and I'll pull both sides forward.
So we will be first reading the data from an input poured into a signal and then we'll try to assign
that value to an output.
This is our agenda, so we'll be required to put one letter just as we know it is having a direction
as input.
And since it is of space format, we need to click on less and then the must be three.
And unless we see similarly, we'll be adding y which represent our output.
OK, so directions should be output again.
Click on bursts and then the besides the St. Elizabeth II to zero.
So in this case, this will automatically create a template for us in our designs.
So right now, if you explore design source, you have a file present inside that is dark.
So if you go in there.
So here we have our complete OK.
So I typically standalone this good logic.
Or let's go one one six four.
Not all is included in the source code and the reason being we are working on and standard analytical
logic on this correct.
So is our first input OK?
And that is having this hydrophobic.
So three down to zero.
And then we have a semicolon, right?
So semicolon indicate that we still have some of the food pending whose declaration is not yet been
added to a that right.
Then we declare y OK, which represent an output both.
So we specify that addiction to be output.
And then again, the size will be full bitrate.
So three down to zero.
Now remember, we is Keith's intent to do right, so it doesn't matter whether you use lowercase or
not with key state.
So both the word will mean the same thing right here you would really see is in lowercase, whereas
is in hierarchies or here, right?
But since we still is case intensive, do both mean the same thing, right?
And you won't be getting any error.
Now this represent our last two off declaration.
We haven't specified a semicolon.
This makes sense.
Then we have started an entity.
So here we completed are indeed.
So this completes the first step.
And then in an architecture, we will be hiding a logic, right?
So we already know that the logic that we are planning to implement is we will be reading the value
that we have on an input put in a signal.
OK, and then we plan to.
Saying that value on an output rate, so this is the logic that we need to add over here, right, so
that it just proceed and try to declare a signal.
Now remember, our input is of sites.
Phobic and type standard, and this logic and disconnect a signal must also have the same type because
we strongly type language, so you need to correctly work with the beta, right?
So we proceed.
First, we are to give our signal right, then we provide the name to our signal.
So you just need me to step.
OK, then Coolen, you need to specify the type that you to enable on which you want to upgrade your
signal.
Now, Signal do not have a detection rate, so it could be used at an input site or an output site.
OK, so you need not.
I had a new direction while declaring the Typekit.
So if you compare this with the pooh-poohed, you need to specify the right action that signal we do
not have any direction, right?
So they could be utilized at an input or an output stage.
So we just need to specify the Typekit so standard go logic, our Lesko vector and then three down to
zero.
This makes it sound.
Usually when we declared a signal, we initialize it to some value, depending on the specific application
that you are targeting.
Now here we will be initializing it to a zero.
So let me decide who equals two.
And then since this is my target value, double click OK, and we will be initializing it to all seed.
So this is how you declare a signal.
So you need to specify the seam detailing that you are having for the food.
OK, if you are utilizing the signal for that specific right, this is what we are doing here.
So here we are planning to store the value of Pootie in 13.
So we specify the type that is standard.
And let's go logic on this vector to the test.
Right now we proceed.
OK.
So to assign a value to a signal, the process is very simple.
So we place Timbaland and we just say, right then we utilize signal assignment operator to do saying
a value to a signal.
We have a specific operator that we refer to as a signal assignment operator.
So it is.
Less than equals.
This is how we represent the signal assignment operator, and then we specify an expression that we
want to act with.
And now here we just need to assign a value of it with them.
So we'll just be adding you in the case when you are working with the complex patients.
So you need to add the complex expression on an to say right now what we're going to do is this is how
we assign a value to the signal.
OK.
The next step is how you are saying this signal to align, right?
So now what we're going to do is since we already assign a value off to the temp right now, our agenda
will be to assign the value of with them to the output.
What right?
So the process, again, very simple.
So we started.
Why OK?
Then for our report, we again use a signal assignment operator.
OK, so Signal Assignment Operator is not valid only when you are working with the variable.
Investigate the cases, whether it is work or whether to signal, OK, you need to use signal assignment.
Right?
Remember this fact that whether it is work or whether it is signal, you need to use signal assignment
operator Oleynik S. If you have a variable, you need to use variable assignment operator.
Right.
So why?
Will be a soup day.
Right, so this complete accord, no, after you complete your food, the first step is to analyze whether
you get a green makeover here.
So once you get the green mug that basically mean you correctly follow languished.
OK, so this help us to recognize that we have a syntax error present in our right.
So once we get a green indication, we should proceed and perform a simulation, right?
So let me just see why I would go back to our viability date and in the simulation.
So if you do not Atticus Finch automatically, the design source will be added red.
So you could just go ahead and perform a simulation of it right by adding a manual stimuli.
So let's just go ahead and perform behavioral simulation.
So if you analyze we have three signals United in, they'll be forming the right, so you have an input
will be you have an output y and then you also have a signal, right?
So let me just add some random value to a variable rate.
So select the input, put right click OK.
And then you have a full sequence, right?
So just specify the value.
No, by default, the value that you specify is an hexadecimal format.
We could just click on this and then we select the binary.
Whatever value that you specify will be applied to an input.
So let me just add one zero zero one right and click, OK, right?
So once you add a value, the next step is to execute the simulation, right?
So this will basically apply the stimulus that we have added to people who are raising right so that
it just click on this run four thousand nanosecond rate.
So we just click on this button.
Now you could see, OK, right, if I zoom in a bit.
So.
So you could clearly observe whatever value that we have on and put the same value you have for the
signal and the symbol you would get on it output.
Right.
So this basically indicates that we correctly able to utilize the signal, right?
So to change that.
The process is very simple.
Just select the bus, right click and then you get an option to select, right?
So here you could just choose to work on the data and then you could get a display of full value in
the binary form, right?
So this is how we assign a value to a segment.
Remember, whether it is food or a signal you will be utilizing signal assignment operator.