w1 Flashcards

1
Q

combinatorial circuit

A

When gates are connected such that an output of one gate is never connected to one of its inputs, not even via other gates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

a circuit where outputs are connected to inputs

A

sequential circuit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

a two-way multiplexer

A

If the selector sel is 0, the output out equals in1 and if sel is 1, the output is equal to in2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

the output is 1 only if exactly one input is equal to 0. - Draw a circuit realising this function

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Implement an and gate with three inputs and a three-input or gate using only the basic and, or and not gates. Generalise to an n input and gate and n input or gate. How many basic gates are necessary? Can you give a proof?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The nand gate

A

¬(in1∧in2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The nor gate

A

¬(in1∨in2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The buffer gate and why it exists

A

Buffers are often used to enhance the input signal. If the buffer is sufficiently strong, in which case it is called an amplifier, it can even be used to drive a light or a motor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The xor gate

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The xnor gate

A

in1↔in2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

the parity function

A

the output is 1 if the number of inputs equal to 1 is odd

can be for more than 3 inputs too

could also be constructed with nand gates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

transistors

A

were first demonstrated by Bardeen, Brattain, and Shockley in 1947, although the concept was patented two decades earlier.

are constructed by covering specific parts of pure semiconductor wafers, made of e.g. silicon or germanium, with dopants, such as boron and phosphorus. Doping changes the available charge carriers of a semiconductor, thereby affecting its conductivity in very precise ways and places

if a small current flows from the base to the emitter than a big current can flow from the collector to the emitter. Otherwise isolated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

main types of transistors

A

the bipolar transistor and the FET (Field Effect Transistor)

FETs are more energy efficient and faster than bipolar transistors, so nobody uses bipolar anymore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

FET

A

has three connections, a gate G, a source S and a drain D

By putting a positive voltage on the gate relative to the source, electrons can be pushed away or be attracted to form or break an electrical connection between the source and the drain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

MOSFET

A

Metal Oxide Semiconductor FET

the gate is made of metal which is isolated using an oxide layer from the connection between the source and the drain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

nMOSFET: elements, how it works

A

If the voltage at the gate is sufficiently higher than the voltage at the source, electrons are pulled to the gate. If there are enough electrons, they can seep away to the drain, and a current can flow from the drain to the source.

If the voltage at the gate is equal to the voltage at the source, there are no free electrons to carry the current, and the connection between drain and source acts as an insulator.

17
Q

pMOSFET: structure, how it works

A

a current can flow if electrons are pushed away from the gate. If the voltage at the gate is sufficiently lower than that of the source, there are free holes for electrons to travel from the drain to the source and current can flow freely. If the voltage at the gate and the source are the same, the connection between the source and the drain behaves as an insulator.

18
Q

CMOS

A

Complementary MOS

first you had to use either pMOSFET or nMOSFET + resistors

then they started to use both types together, they complement each other and you don’t need resistors. This approach is CMOS

19
Q

how the not gate works

A

A high-voltage is a logical 1 and a low voltage is a logical 0. When a high-voltage is put on the input in, the nMOSFET is on and the pMOSFET is off. The voltage at the output out is pulled down, meaning the logical 1 is inverted to a logical 0. In contrast, when a low voltage is put on the input in, the pMOSFET is on and the nMOSFET is off. The output out is pulled up. The logical 0 is inverted in a logical 1.

20
Q

switching delays: why, influence

A

Transistors are physical objects. switching can still take several picoseconds.

influence of delays:

  1. digital circuits have a maximum speed at which they can operate
  2. glitch: a temporary change in voltage or logic level before the level settles at the intended value

The circuit on the pic should always output 0. But some time passes between the moment in switches to 1 and out1 switches to 0, and therefore out produces 1 for this time.

Solution: For a digital circuit, it is important to wait sufficiently long to be sure that all glitches have levelled out and the circuit has become stable

21
Q

Moore’s law

A

In 1965 Moore wrote a short note in which he observed that the number of transistors that could be put on a wafer was growing exponentially with time. He predicted that if the growth was sustained, wonders such as a computer in each home (“or at least a terminal to a central computer”) would take place

Until about 2014, an increase in the clock speed followed the increase in transistor counts. Because of physical limitations, this increase in clock speed stopped. Modern architectures obtain more performance by increasing the level of parallelism, for instance, by increasing the number of processor cores

22
Q

what are these?

A

these are TTL, old-fashioned transistors. These all use current, it flows through the route with arrows. They heat up. Modern computers don’t use those.

and, or, and after the break

23
Q

minterm

A

corresponds to every line in the truth table where the result is 1

the conjunction of all inputs;

the input is negated if the truth table contains 0 at that point

the minterm of the line 1 0 0 is in1 ∧ ¬in2 ∧ ¬in3

24
Q

disjunctive normal form

A

the disjunction of all minterms that represents the truth table

25
Q

how to construct a circuit from a disjunctive normal form?

A

it’s a circuit of and gates feeding into an or gate

Due to duality, it is also possible to directly construct a circuit consisting of or gates feeding into an and gate

26
Q

construct a circuit from this

A
27
Q

maxterm

A

a logical expression used for constructing circuits consisting of or gates feeding into an and gate

are constructed for each entry in the truth table where the result is 0

the disjunction of all inputs, where each input that is equal to 1 is negated

28
Q

conjunctive normal form

A

the conjunction of all maxterms

29
Q

construct the conjunctive normal form and the associated circuit

A
30
Q

tool to obtain a minimal two-layer circuit for up to five inputs

A

Karnaugh maps

write a truth table in a matrix of dimension 2 × 2, 2 × 4, 4 × 4 or even 8 × 4

To make a disjunctive circuit, clusters of neighbours of size 2k × 2l for k, l = 0,1,2,… must be selected that cover exactly all 1’s in the Karnaugh map.

By putting disjunctions between the expressions expressing clusters we obtain an expression that is exactly 1 when the truth table is also 1

this expression can immediately be transformed into a two-layer circuit, which is minimal

Dually, by covering the 0’s in a Karnaugh map, a conjunctive circuit can be created

31
Q

create a conjunctive circuit

A

find maximal clusters of neighbouring nodes that have a value of 0

write down a maxterm that equals 1 outside the cluster

There are three clusters that correspond to ¬a∨c, ¬b∨d, and b∨c. The minimal conjunctive two-layer expression corresponding to the truth table is (¬a∨c)∧(¬b∨d)∧(b∨c).

32
Q

A gate is functionally complete if …

A

any boolean function can be computed by a circuit constructed using only this gate

also universal

the nand gate and the nor gate