Autosave: 2022-12-27 11:00:06
This commit is contained in:
parent
325db819a6
commit
7ef727c484
1 changed files with 9 additions and 1 deletions
|
@ -26,7 +26,15 @@ An example of a composite gate would be a three-way AND. An AND with three input
|
|||
|
||||
The gate _interface_ is an abstraction that the enables the user to think of the gate simply in terms of inputs and outputs, without being concerned with the technical details of how this is achieved. How it is achieved is the gate _implementation_.
|
||||
|
||||
We can
|
||||
We can demonstrate this with the earlier example of a three-way AND. The diagram below represents the gate as an interface:
|
||||
|
||||
// TODO: Interface diagram
|
||||
|
||||
Whereas this diagram presents the implementation of the gate: it shows the specific combination of gates which creates the enables the behaviour represented in the interface diagram.
|
||||
|
||||
// TODO: Implementation diagram
|
||||
|
||||
> Importantly, a single interface may be implemented in a variety of ways. There is a one-to-many relationship at work here. From the point of view of the user interface these differences should not be detectable. This is another example of [hardware abstraction](/Computer_Architecture/Hardware_abstraction_and_modularity.md)
|
||||
|
||||
## NOT gate
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue