So right now, we have designed the gate and actually we can design any gate just by changing the word
so we all support skywards in order to do a combination of logic between inputs, let's say, and or
X or ignore by just changing this end to any of the keywords I just mentioned.
You can get the logic you want.
So.
So let's say that we want to create an --.
All we need to do is change this and to order so as it is to input or you now we need to save this file
separately.
So save us.
And we're going to call this orgeat, so make sure you call it or.
OK, so this is the name.
Of my new file, it's called Moorgate.
So now if you go to here Project Navigator, you have hierarchy and you have files.
Check the files right here.
Now you have to files.
One of them is a project one, which is the end game and the other is orgeat, which is called.
Project one right now, and that's wrong.
We need to rename this as well, so this will be my OR gate.
Now, remember, the name of the entity should match the name of the file right here.
Otherwise you'll get compilation errors.
This is the first step, second step, if you have multiple files, you need to choose which file you
want to compile.
So if you're right, click on this or gate.
You need to press as a top level entity.
And by that, you are compiling the Aldgate.
If you want to compile the Engert again, you you're right to click on it and you choose set as a top
level entity.
What this does, it allows a certain file to be compiled.
That's a great now we have this or gate ready to be compiled.
So let's let us just click on Start compilation.
Yes.
Another thing that we need to change as well is the end right here, so we needed to be or Gates so
or gates here or Gates here and here as well.
We have of or.
OK, so let me recap, the name of the entity should match the name of the file, the file need to be
set as top level.
And finally, you need to make sure that your entity and an architecture have the same name.
Now we click on compile.
And the compilation is done.
So right now, let us try to simulate this, create a new file, we need a university program, BWF.
Insert notorious knot finder.
List.
And here we have the inputs, we have so little, OK?
And now all you need to do is similar the same way, so we have zero zero.
This is my 01.
Like that.
This is my one zero.
And, of course.
That's my one.
Now, go to simulation settings, restore default as usual, and just delete this line right here.
Click save.
Similarly, we need to save the file with the same name, so we going to call it or.
Kate.
We got an error.
It's OK, just go back to simulation settings, restore default, delete this like save that one more
time.
Andrew, this is my eight zero zero zero one zero is one zero, one is one and one, one is one.
That's a great.