Digital COPY Flashcards
What are the advantages of digital electronics over analogue ?
Low mass production costs Implementation of complex algorithms No drift or ageing problems (As it heats up and cools down over time) Good immunity to noise and signal degradation
What happens to noise when a digital and analogue signal is processed?
In digital the noise to totally removed. Analogue the noise gets worse
What is combinational logic?
Provides and output the is dependent on the input at that point in time. Like a light switch
Sequential logic
An output is determined not only by current input but also previous history. Like a pull cord switch in a bathroom.
Synchronous logic
A clock switches between 1 and 0 to ensure all the sub-systems are synchronised.
What is the most significant bit?
The left most bit
If you have n bits, how many numbers can you store?
2^n numbers. Remember to include 0
What is a byte?
A group of 8 bits
What is a word?
2 bytes
Convert 7B to denary
7*16^1 + 11*16^0 =123
C to denary
12
D to denary
13
E to denary
14
F to denary
15
How do you convert denary to hexadecimal ?
Divide by 16. The remainder is the least significant digit. Continue until you have one remainder left which is the most significant digit. If the remainder was 13 it would be D.
Why isn’t binary used in measurement of real things?
A slight miss-alignment of the sensor would cause a miss reading.
What is the nature of grey code?
Going from number to number only one digit changes
How do you convert from 3 bit binary to grey code?
The most significant bit of the grey code is the same as for the binary For all other bits if it is the same as the one before it is 0. If different it is 1
What is an ADC?
Analogue to digital converter. Takes a continuously varying input and converts to binary numbers.
What is quantisation error?
The difference between the digital and analogue signal.
How can the quantisation error be reduced?
Increase the number of bits.
How do you find the quantisation error?
voltage step = (Vmax-Vmin)/2 The error is half of this again.
How does an and gate work?
If both inputs are 1, output is 1 Otherwise output is 0. Referred to as the logical product.
What is the symbol of an and gate?
A square with the side where the output comes from is rounded off.
How does an or gate work?
If both the inputs are 0, the output is 0 Otherwise the output is 1. Sometimes referred to as the logical sum of A and B
What is the symbol for the or gate?
A shield on its side with the output coming from the pointy end.
What are the different types of or?
Inclusive or which is used by the or gate Exclusive or which only returns 1 when the two inputs are different. C=A⊕B
What is the symbol for an inverter?
A triangle pointing to the right with a circle at the point B=À
What should A+B.C be interpreted as?
A+(B.C) And has precedence over or.
How would you estimate the complexity of an equation?
Add together the total number of inversions. (little hats) The number of plus signs and the total number of letters.
What is de morgan’s law?
(A.B)=(A)+(B)
(A+B)=(A).(B) where () denote an invertion
What is a Nand gate?
And and gate with an inverter at the end c=(A.B)
What is the truth table for the RS latch?
What is the truth table to the active low RS latch?
What is the truth table for the JK flip-flop
What is the truth table for the T flip flop?
what is the truth table for the D flip flop?
How do you design a counter?
Draw these tables. Then drae K maps with Q values now on the axis for each of the T columns.
Then attach several T flip flops together, all connected directley to the clock and wire up accordingly.
What is a modulo counter?
Used when the number of inputs is not equal to 2^n.
For examle a modulo 6 counter would go through the sequency 0,1,2,3,4,5,0,1,2,3…
What is the standard symbol for the 2 bit multiplexar?
How do you tell if adder overflow has occoured in unsigned binary?
Look at the final carry output. If this is a 1 it has over flowed. This is a status flag.
What is a carry ripple adder?
A series of full adder put together. However, each adder adds a bit of a time delay.
How can the build of delays in an adder be mitigated?
All of the carry on values can be expressed in terms of all the previous A and B values. This means they can be calculated from the starts without waiting for anything else.
How does the XNOR gate work?