Number System. Lesson: Number System. Lesson Developer: Dr. Nirmmi Singh. College/ Department: S.G.T.B Khalsa College, University of.
|
|
- Carol Burns
- 7 years ago
- Views:
Transcription
1 Lesson: Number System Lesson Developer: Dr. Nirmmi Singh College/ Department: S.G.T.B Khalsa College, University of Delhi 1
2 NUMBER SYSTEM Table of contents Chapter 1: Number System 1.1 Learning outcomes 1.2 Introduction 1.3 Analogue and digital circuits 1.4 Number System Binary Number System Binary to decimal and decimal to binary conversion Octal System Octal to decimal and decimal to octal conversion Octal to binary and binary to octal conversion Hexadecimal System Decimal to hexadecimal and hexadecimal to decimal conversion Hexadecimal to binary and binary to hexadecimal conversion 1.5 Logic gates NOT gate OR gate AND gate 1.6 Universal Logic gates NAND gate Bubbled OR gate NAND gate as Universal gate NOR gate Bubbled AND gate NOR gate as Universal gate 1.7 Exclusive OR gate 1.8 Exclusive NOR gate 1.9 Realizing logic expressions using logic gates 1.10 Summary 1.11 Some interesting facts 1.12 Exercise 1.13 Glossary 1.14 References 2
3 1.1 Learning outcomes: Binary number system Octal number system Hexadecimal system Conversion from one number system to other Logic gates: basic and universal gates 1.2 Introduction: We usually use decimal system (0,1,2,3, ) although there are other many other number systems like binary, octal, hexadecimal etc.. These numbers are expressed with a base. For example, the base is 2 in the binary system while for octal it is 8 and for hexadecimal it is 16. But, in the digital circuits, we use the binary system only that is just two numbers 0 or 1. In other words, the output of the digital circuits is either high, 1 or low, 0. Algebra that deals with the binary system is Boolean algebra. It is used in simplifying logic circuits which are formed by interconnecting the logic gates like OR, AND gates etc. In other words, a logic gate is an electronic circuit which makes logical decisions. 1.3 Analogue and digital circuits: Electronic circuits and systems are majorly divided into two categories: analogue and digital circuits. Analogue circuits are: Designed for small signals Used in linear fashion Example: an operational amplifier with a given gain is an example of analogue circuit as the output is an amplified version of the input itself which is a linear operation. Continuous and all possible values for a given physical quantity are recorded. Digital circuits are: Used with large signals Considered to be non linear Discontinuous and represent only a finite number of discrete values. 3
4 Digital circuits involves circuits that work in two states that is the binary system having two set of values: 0 and 1 The operation of digital circuits is described in terms of two voltage levels: high level and low level. High level means H = 1 and low level means L=0. Choosing H=1 and L=0 is positive logic And L=1 and H=0 is negative logic. 1=+5 Volts dc 0=0 Volts dc 1.4 Number systems: Apart from the decimal system, we have binary system, octal system and hexadecimal systems out of which it is the binary system that holds importance in the digital world Binary Number system: Binary means two so a system having two states is what we call as binary. This system has exact two values: 0 and 1. This is the simplest number system as it uses only two digit. This has base 2. The abbreviation for binary digit is bit. If a binary digit has four bits, it is called a nibble and if a binary digit has eight bits, it is called a byte which is now the Basic unit of data in computers. Positions and weights: In a decimal system, a number is represented in units, hundreds, thousands and so on Which are the weights or value assigned to each digit. As one moves towards the left the weight of each digit is an increasing power of 10. For example: 239= which in powers of 10 is represented as 239=2x10^2 + 3x10^1 + 9x10^0 hundreds tens ones Similarly, we can assign weights to binary numbers also. The position of 0 or 1 in the binary number represents its weight within the number. Just like in the case of decimal number, the weight of each digit on the left is an increasing power of 2. For example: (180) 10 = ( ) 2 = 1x2^7 + 0x2^6 +1x2^5 +1x2^4 + 0x2^3 + 1x2^2 + 0x2^1 +0x2^0 Assigning weights makes it easier to convert a binary number into its decimal equivalent Binary to decimal and decimal to binary conversion: Binary to decimal conversion: In order to convert a binary number into its decimal equivalent, we rewrite the binary number in terms of weights. The least significant digit on the extreme right will have weight 1 that is 2^0. As one moves towards left the weights are in ascending powers of 2. For example consider the binary number This is equivalent to 1x2^3 + 1x2^2 + 1x2^1 + 0x2^0 4
5 = =14 In order to convert binary fractions into decimal equivalent, the weights towards the right of the binary fractions are given by ½,1/4,1/8,1/16 etc which in powers of 2 are as the following : 2^-1,2^-2, 2^-3 and so on. For example consider the binary fraction its decimal equivalent will be 0.111=1x2^-1 + 1x2^-2 +1x2^-3 = = For mixed numbers, the rules to be followed are the same. That is proper weights are to be assigned to 0s and 1s depending on whether the part is integer part or fractional part. For example ( )=1x2^2+1x2^1+1x2^0+0x2^-1 +0x2^-2 +1x2^-3 = = Decimal to binary conversion: The easiest method to convert a decimal number to a binary number is simply by dividing the decimal number by 2 progressively. Then the binary number is obtained by taking into account the remainder after every step or division in the reverse order that is from bottom to top (double dabble method). For example 62 Division by 2 remainder obtained After step 2) 61 2) ) ) 7 1 2) So the binary equivalent after reading the remainder in the reverse order will be For fractions, they are multiplied by 2 and a carry is recorded in integer position. Every time it is the resultant fraction multiplied by 2 again giving an integral carry that is either 0 or 1. These carries when read from top to bottom that is downwards gives the binary fraction. For example 0.65 x 2=1.3, it is written as 0.3 with a carry of x 2=0.6, 0.6 with a carry of x 2= with a carry of x 2= with a carry of x 2= with a carry of x 2= with a carry of 1 And so on. This multiplication by 2 continues until one gets the desired number of digits. So in this case, the six digit binary fraction for the above decimal fraction is this is just an approximate value as this multiplication can continue further. 5
6 For mixed decimal number, both the rules are to be followed that is for integer and for fractions. For example let us convert into its binary equivalent. Conversion of integer part: 2)65 2)32 1 2)16 0 2) 8 0 2) 4 0 2) The binary number for integral part is Conversion of fractional part: 0.725x2= with a carry of x2= with a carry of x2= with a carry of x2= with a carry of x2= with a carry of x2= with a carry of 0 and so on. So we take an approximate result up to six binary digits As a result, the binary number for (65.725) 10 is ( ) Octal system: The octal system uses the first seven digits that is from 0 to 7. The base of the system is eight and so is the name octal given to the system.8 does not come in octal system so 10 comes after 7. These digits from 0 to 7 have the same meaning as the decimal symbols. Octal Decimal (tibasicdev.wikidot.com/binadhex) Here also each digit is assigned a weight. the least significant digit or position has weight 1 or 8^0. the higher positions as we move left have weights in the increasing powers of 8 respectively. The rules for conversion from octal to decimal or binary system and vice versa are the same as that of binary to decimal conversion and vice versa with a difference that here powers of 8 are involved instead of powers of 2 and Octal to decimal and decimal to octal conversion: Octal to decimal conversion: 6
7 To convert the integral part from octal to decimal, each octal digit is multiplied by it weight and then added while for the fractional part, each octal digit is multiplied by 8^-1, 8^-2 towards the right and so on and then added. For example let us convert ( ) 8 to decimals 3x8^2+3x8^1+7x8^0+1x8^-1 +2x8^-2 +8x8^-3 = =( ) 10 Decimal to octal conversion: Here the division in the case of integral part is with 8 and also the multiplication in the fractional part is by 8. For example, let us convert ( ) 10 to an octal number Integral part : division remainder 8)555 8)69 3 8) so (555) 10 = (153) 8 Fractional part : multiplication carry or integer generated 0.212x8= x8= x8= Etc. So (0.212) 10 =(154) 8 So ( ) 10 = ( ) Octal to binary and binary to octal conversion: Octal to binary conversion: Octal to binary conversion is possible as 8 is just the third power of 2. This conversion is very simple and easy. Each octal digit is replaced by its 3 bit binary digit and the complete binary number is thus obtained. For example consider (234) 8 Now 3 bit binary equivalent for 2 is 010, for 3 is 011 and for 4 is 100. So the binary equivalent of the given number will be ( ) 2. Similar is the case for fractions also. Binary to octal conversion: In this conversion, the binary digits are divided into group of three bits. Then each group is converted into its decimal equivalent. For example, consider ( ) 2 Dividing into group of three bits by adding 0 if required we get Now 011 is 3, 101 is 5, 100 is 4 and 010 is 2. So the octal number will be (35.42) Hexadecimal system: 7
8 Hexadecimal system has base 16 and thus uses 16 symbols. They are much shorter in comparison to the binary numbers and are thus easy to write. They find use in microprocessor work. The 16 symbols are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E and F. Here, A,B,C,D,E and F represent the decimal numbers 10,11,12,13,14 and 15 respectively. In this system also each significant digit has been assigned a weight or a value. The least significant digit is assigned the value 1 that is 16^0 while as we move left the weight assigned to each digit is in the increasing powers of 16 that is 16^1, 16^2, 16^3 etc respectively Decimal to hexadecimal and hexadecimal to decimal conversion: Decimal to hexadecimal conversion: Decimal number is converted into its hexadecimal equivalent by dividing successively by 16 and considering the remainder in the reverse order. For example: consider (334) 10 its hexadecimal equivalent will be Division by 16 remainder 16)334 16)20 14 or E 1 4 So (334) 10 =(14E) 16 Hexadecimal to decimal conversion: In this case each digit is multiplied by its weight in terms of powers of 16 For example: (E9A5.23) 16 converts into it decimal equivalent as: E9A5.23 = 14x16^3+9x16^2+10x16^1+5x16^0+2x16^-1 +3x16^-2 = =( ) Hexadecimal to binary and binary to hexadecimal conversion: Its easy and simple to convert a binary number to its hexadecimal equivalent and vice versa. To convert hexadecimal number into its binary equivalent, each significant digit is replaced by its 4-bit binary equivalent and we get the resultant number For example consider (4C2) 16 4-bit binary digit for 4 is 0100, for C is 1100 and for 2 is So the binary equivalent for(4c2) 16 will be ( ) 2 To convert a binary number into hexadecimal number, the given binary number is divided into groups of four and then each group is replaced by its decimal equivalent but in terms of hexadecimal symbols. For example, consider ( ) corresponds to 15 or F, 0010 to 2, 0101 to 5 and 1100 to 12 or C. So the hexadecimal equivalent of the given binary number will be (F25C) 16 8
9 The following is a table for 4 bit binary numbers, equivalent to decimal 0 to 15 and their hexadecimal symbols. Binary Decimal Hexadecimal A B C D E F 1.5 Logic gates: A gate is just a digital circuit having one or more input signals but the output is one. These gates find importance in making combinational logic circuits that is the output signal will appear only for certain combinations of the input signal. In other words, these are the building blocks for today s integrated circuits. OR, NOT, AND, NOR and NAND gates are some commonly used gates. OR,AND and NOT gates are the basic gates which makes it possible to build the logic circuits that can perform arithmetic functions. NOR and NAND gates are the Universal gates. While gates like Exclusive OR and Exclusive NOR gates can be obtained from the basic circuits. Logic gates find applications in : (i) Building some complex devices like binary counters (ii) Calculators and computers (iii) Digital communication (iv) Digital music instruments, home appliances Positive and negative logic: In the logic circuits, 0 and 1 the two binary digits are represented by voltage levels. If the more positive voltage level (+5 Volts) represents the logic 1; that is High=1 while the more negative level (0 volts) represents the logic 0; that is LOW=0 then the logic is positive logic. But if the more positive voltage level represents the logic 0 ; that is HIGH=0, and the more negative voltage level represents the logic 1 ; that is LOW=1 then the logic is negative logic. We will make use of only the positive logic that is H=1, L=0 9
10 1.5.1 NOT GATE (inverter gate) : The NOR gate is the only gate which has got one input. It performs the function called inversion that is the output is the compliment of the input. So when a HIGH input is given then the output is LOW and vice versa. The truth table and the symbol for the NOT gate are shown in the figure 1.5.1(a) Input A Output Y=A' Figure (a) Symbol of NOT Gate A NOT gate can be realized using a transistor which is shown in figure 1.5.1(b). When the input is HIGH the transistor will be in ON state drawing maximum collector current so the output at Y becomes LOW as the whole voltage drop will be across the resistance R. But when the input is LOW, the transistor will be in the OFF state and the output Y will, therefore be HIGH that is Y = V cc as there will be no voltage drop across R now. 10
11 Figure (b) OR Gate: An OR gate has got two or more inputs while one output. The gate is called OR gate as the output voltage is HIGH if any one of the inputs or all the inputs are HIGH. While the output is LOW if both the inputs are LOW. The truth table and the symbol for a two input OR gate is shown in the fig.1.5.2(a) A B Y Fig 1.5.2(a) In Boolean Form, if A and B are the inputs while Y is the output, then the OR logic is Y=A+B The + sign only represents the logic operation OR and not the basic arithmetic addition operation. Fig 1.5.2(b) An OR gate can be realized using diodes which is shown in the fig 1.5.2(b). 11
12 Here A and B are the two inputs to the two diodes D 1 and D 2 respectively while Y is the output which is noted down across R, the load resistance. If A=0, B=0 both the diodes will be non conducting and so there will be no voltage drop across R and the output Y=0 If A=0, B=1 then the diode D 1 will not conduct but D 2 will conduct then voltage across R will be 5 volts and Y=1 If A=1, B=0 then the diode D 2 will not conduct but D 1 will conduct so Y=1 If A=1,B=1 then both the diodes will conduct and hence Y=1 The fig 1.5.2(c) shows a three input OR gate, its truth table and its realization using diodes. A B C Y Fig (c) Here A,B and C are the three inputs and Y is the single output. If all the three inputs are LOW then Y will be LOW but if any one of the inputs is high then the output will be HIGH. In Boolean form the OR logic will be Y=A+B+C While realizing the OR logic using diodes, here instead of two diodes, now three diodes are used. If all the inputs are LOW, none of the diodes will conduct and the output will also be LOW, but if one of the inputs is HIGH, then the diode corresponding to that input will conduct and hence, the output will be HIGH. Point to be remembered: 12
13 An OR gate can have more than three inputs also but the logic will remain the same. There may be any number of inputs, but if even one of the inputs is HIGH, the output will be HIGH AND Gate : The AND gate also has two or more than two inputs and one output. The gate is so called as in this gate the output will be high only if all the inputs are HIGH otherwise the output will be LOW. The truth table and the symbol for a two input AND gate is shown in the fig1.5.3(a) A B Y Fig 1.5.3(a) In Boolean form, if A and B are the inputs of AND gate and Y is its output then the AND logic will be Y=A.B Where. represents the AND logic and not the basic arithmetic multiplication. The fig 1.5.3(b) shows the symbol of a three input AND gate and its truth table A B C Y
14 Fig 1.5.3(b) Here A,B and C are the three inputs and Y is the output. Here, the output is HIGH only if all the three inputs are HIGH otherwise the output will be LOW. For this reason, AND gate is also called ALL gate. In Boolean form, three input AND logic is Y=A.B.C AND gate can also be realized using diodes which is shown in the fig (c): Fig (c) i A and B are the inputs to the two diodes D 1 and D 2 respectively and Y is the output. If A=0 and B=0 then both the diodes will be forward biased and will conduct and the whole voltage drop will be across R and the output Y=0 If A=0 and B=1 then D 1 will conduct while D 2 will not conduct and again Y=0 If A=1 and B=0 then D 2 will conduct while D 1 will not conduct and again Y=0 If A=1 and B=1 then both the diodes will be reversed biased and not conduct so Y=1 Points to be remembered: There may be any number of inputs for an AND gate, but only if all the inputs will be high, then the output will be HIGH. Even if one inputs will be high, the output will remain LOW. 1.6 Universal logic gates: NOR, NAND gates OR,AND and NOT gates that we have studied are the basic gates with the help of which we can realize any logic function. But these gates cannot be converted among themselves as for example one cannot get AND operation by any combination of wether NOT or OR gate.so 14
15 we consider such gates which we call as universal gates because each such gate individually is capable of performing a logic operation. In other words, only one such type of gate in itself can be used to make a complete logic circuit. Two such universal gates are the NAND and NOR gates NAND Gate: NAND gate is the combination of AND and NOT gates. It has also got two or three inputs with one output and it works on the logic which is compliment of AND gate that is if A and B are the inputs then the output Y=(A.B). When all the inputs are LOW, the output is HIGH; when one of the inputs is HIGH, then also the output is HIGH but when both the inputs are HIGH, the output will be LOW just opposite to that of AND gate. The symbol and truth table for a two input NAND gate is shown in the fig.1.6.1, the small circle or bubble represents the inversion operation. A B Y Fig Bubbled OR gate: A bubbled OR gate is nothing but inverters on the input of OR gate. The circuit is shown in the fig On seeing both NAND and bubbled OR gates, we notice that the output Y and the inputs A and B are identical. Thus, the two circuits are equivalent and interchangeable. In terms of Boolean algebra, Y=(A.B) for NAND gate Y=A +B for bubbled OR gate Since both the gates are equivalent so (A.B) = A + B (De Morgan s Theorem) 15
16 Fig NAND gate as universal gate: NAND gate is one of the Universal gates as it can be used to implement any of the three gates OR,NOT and AND gate or any of their combinations. NOT, AND, OR gates from NAND gate: The logic circuits for obtaining NOT, AND and OR gates from a NAND gate are shown in the figures (a), 1.6.3(b),1.6.3(c) respectively. In the case of obtaining NOT gate, both the inputs are tied so that same and single input goes to the NAND gate. If the input is 0, then both the inputs are 0 and according to NAND logic, the output will be 1. If the input is 1, then both the inputs will be 1 and the output, thus will be 0. Thus, the output is the compliment of the input and thus we get the NOT gate. Fig 1.6.3(a) In the case of AND gate, two NAND gates are used. The second NAND gate is used as a NOT gate which inverts the logic of the first NAND gate to attain the AND logic Fig 1.6.3(b) In the case of OR gate, three NAND gates are used. The inputs in each of the first two NAND gates are tied to get NOT gates and then the output from those two gates goes to the input of the third NAND gate to get OR logic. 16
17 Fig 1.6.3(c) NOR Gate: It is the combination of OR and NOT gate and works on the logic which is compliment of OR. That is if A and B are the inputs, then the output is Y=(A+B). When both the inputs are LOW only then the output is HIGH, but if one of the inputs or both the inputs is HIGH, then the output will be LOW. The truth table and the symbol for two input NOR gate is shown in the fig A B Y Fig Bubbled AND gate A bubbled AND gate is just that the inputs going to the AND gate are inverted. On looking at both the NOR and Bubbled AND gate, we notice that the inputs A and B and the output Y are identical for both the gates and hence the two gates are equivalent and can be used in place of each other. 17
18 In term of Boolean expression Y=(A+B) for NOR gate Y=A.B for the bubbled AND gate Since both the gates are equivalent so (A+B) = A.B (De Morgan s theorem) Fig NOR gate as universal gate: NOR gate is the other universal gate which can be used to obtain the basic gates that is OR, NOT and AND gates and their combinations. NOT, AND, OR gate from NOR gate The logic circuits for obtaining NOT, OR, AND gates from NOR gate are shown in the figures 1.6.6(a), 1.6.6(b) and 1.6.6(c) respectively. In order to obtain NOT gate, both the inputs to the NOR gate are tied to get one input. If the input is 0, then both the inputs to the NOR gate will be 0 and as per the logic of NOR gate, the output will be 1. If the input is 1, then both the inputs to the NOR gate will be one and the output will be0. So the output is just the compliment of the input which is the logic for NOT gate. Fig 1.6.6(a) In order to obtain OR gate, we use two NOR gates. The second NOR gate performs the function of NOT gate and inverts the logic from the first NOR gate to attain the OR gate. 18
19 Fig 1.6.6(b) In order to obtain AND gate, we use three NOR gates. The first two NOR gates act as NOT gates and their output goes as the input to the third NOR gate whose output give the logic for the AND gate. Fig 1.6.6(c) 1.7 Exclusive OR Gate: Exclusive OR gate or Ex-OR gate also has two or more than two inputs with one output. In a two input Ex-OR gate, the output will be HIGH only if exclusively either of the two inputs will be HIGH and the output is LOW if both the inputs are either HIGH or LOW simultaneously. That is why the name is given as Exclusive gate. The truth table and the logic symbol for an Ex-OR gate are given in the figure 1.7 (a): A B Y
20 Fig 1.7(a) The truth table shows that the output is HIGH, when any one inputs is HIGH. This feature makes this gate exclusive and different from OR gate. If there are more than two inputs, then the output of the Ex-OR gate will be HIGH only if the odd number of inputs is HIGH. But when the number of even inputs is HIGH then the output will be LOW. In term of Boolean form, if A and B are the inputs and Y is the output then for this gate Y=A+B=AB + A B The Ex-OR gate can be realized using AND,NOT,OR, shown in fig 1.7(b) Fig 1.7(b) 1.8 Exclusive NOR GATE: The Exclusive NOR gate is nothing but Ex-OR gate followed by an inverter that is a NOT gate. An Ex-NOR gate has got the output HIGH only when both the inputs are in same state that is either both are 0 or 1 while the output is LOW if the inputs are in different states. If the number of input is more than two, then the output of Ex-NOR gate is HIGH when the even number of inputs is 1 and the output will be LOW if the number of odd inputs will be 1 which makes it different from NOR gate. The truth table and the logic symbol for Ex-NOR gate is shown in the fig1.8 A B Y
21 1 1 1 Fig 1.8 In terms of Boolean Algebra, if A and B are the inputs while Y is the output then Y=AB+A B Y=(A+B) =(A B+A B) =(AB ).(A B) (De Morgan s Theorem) =(A +B)(A+B ) =(AB+A B ) 1.9 Realizing logic expressions using gates: We are now going to do some examples of how certain logic expressions can be realized using the logic gates. Some complicated logical expressions can be also be simplified using Boolean algebra and then realized using logic gates but that will be taken care of in the next module: Example 1: Realize the logic expression Y=B C +A C +A B using basic gates. Solution: There are three product terms which are realized using AND gates but they are complimented using NOT gates first. Then these additive expressions are realized using OR gates as following: 21
22 Example 2: Design the logic for the following Boolean expression using logic gates. Y=(A+B C) Solution: The second term is the product term to be realized with AND gate with one term complimented with the help of NOT gate and then they are ORed using OR gate 1.10 Summary: To summarize, we have studied the various numbers systems that exist. For example, binary system, octal and hexadecimal system etc. Binary systems can be converted to octal or decimal or hexadecimal etc We have also studied the different logic gates OR, NOT,AND. A gate is just a digital circuit having one or more input signals but the output is one. 22
23 These gates find importance in making combinational logic circuits that is the output signal will appear only for certain combinations of the input signal. In other words, these are the building blocks for today s integrated circuits. NAND and NOR gates are the universal gates with which we can make OR,NOT and NAND gates We also have Exclusive OR and Exclusive NOR gates used in digital circuits Some interesting facts: About the number systems: Number systems are used to describe basically the quantity of something or represent certain information. Most important is the Binary System which is useful in computer and electrical engineering. Transistors, the basic component in making circuits operate on the Binary System. 0 means no current while 1 means current is allowed to flow Computers and electronics work with bytes which are the eight digit binary numbers. Octal system uses less symbols than our conventional number system. Eight symbols are used to represent all the quantities. 8 doesnot exist so 10 comes after 7 ( About the logic gates: Logic gates can be implemented not only using diodes or transistors but also using vacuum tubes, relay logic, fluidic logic, optics etc. In modern practice most of the gates are made from Field Effect Transistors, particularly MOSFET (Metal Oxide Semiconductor Field Effect Transistor) Charles Sanders Peirce ( ) showed that NOR gates alone or NAND gates alone can produce other logic gates. But this work remained unpublished till The fist published proof was given by Henry M. Sheffer in 1913, so the NAND logical operation is sometimes called Sheffer Stroke while the logical NOR is sometimes called Peirce s arrow. 23
24 Charles s Sanders Peirce ( IC7400-IC containing NAND gates ( Three-state logic gates A tristate buffer can be thought of as a switch. If B is on, the switch is closed. If B is off, the switch is open. A three-state logic gate is a type of logic gate that can have three different outputs: high (H), low (L) and high-impedance (Z). The high-impedance state plays no role in the logic, which is strictly binary. These devices are used on buses of the CPU to allow multiple chips to send data. A group of three-states driving a line with a suitable control circuit is basically equivalent to a multiplexer, which may be physically distributed over separate devices or plug-in cards. In electronics, a high output would mean the output is sourcing current from the positive power terminal (positive voltage). A low output would mean the output is 24
25 sinking current to the negative power terminal (zero voltage). High impedance would mean that the output is effectively disconnected from the circuit. ( Exercise: Muiltiple choice questions: Q1. The digital system operates on system (i)binary, (ii) decimal, (iii) hexadecimal, (iv) octal Ans: (i) Q2. The octal system uses powers of for positional values (i) 2 (ii) 8 (iii) 10 (iv) 16 Ans: (ii) Q3. The decimal equivalent for the number (1001) 2 is (i) 2, (ii) 4 (iii) 9 (iv) 12 Ans: (iii) Q4. In positive logic, the logic state 1 corresponds to (i) positive voltage (ii) higher voltage level (iii) zero voltage (iv) lower voltage level Ans: (ii) Q4. The output of a two-input OR gate is 0 only if (i) both the inputs are 0 (ii) one of the inputs is 0 (iii) both the inputs are 1 Ans: (i) Q5. The function of a NOT gate is to (i) Stop a signal (ii) Invert a signal (iii) Recompliment a signal Ans: (ii) Q6. What is the base of a decimal system (i) 2 (ii) 8 (iii) 10 (iv) 16 Ans: (iii) Q7. A NAND gate is OFF when (i) All the inputs are high (ii) When one of the inputs is high 25
26 (iii) When both the inputs are low Ans: (iii) Q8. Is a three input NOT gate possible (i) Yes (ii) No Ans: (ii) : Subjective Type questions: Q1. Write the truth table and the logic gate for a three input XOR gate Q2. explain how NOT, OR and AND gates can be realized using diodes and transistors? Q3. Name the gates that are used as Universal gates. Why are they called so? Q4. Convert the following numbers into their octal equivalents: (i) (ii) Q5. Convert the following binary numbers to hexadecimal equivalents (i) (ii) Q6. Convert the following decimal numbers into their binary and octal equivalents: (i) 64.2 (ii) Q7. Find the Boolean equation for the output of the given logic circuit. What would be the output if A=1,B=0,C=1,D=1 Q8. What would be the expression for the output of the given logic circuit. Also find the output when A=1,B=0,C=1,D=0 26
27 Q9. Give the output equation for the following logic circuit: Q10. Write the logic functions for the following circuit and compute the result for A=0,B=1,C=0,D=1 Q11. Realize Y=(A+B)(A +C)(B+D) using basic gates Q12. Realize Y=(AB) +A+(B+C) using NAND gates only 27
28 Q13. Realize Y=A+BCD using NAND gates only Q14. Realize Y=(A+C)(A+D )(A+B+C ) using NOR gates only Q15. Draw the logic diagram of X-OR gate and discuss its operation Q16. What is an X-NOR gate. Give its truth table Q17. Construct a two input X-OR gate using NAND gates only Glossary: Number systems: Number systems are used to describe basically the quantity of something or represent certain information. For example the conventional decimal system, binary system used in digital circuits, octal and hexadecimal systems. Decimal system: It is the conventional system that we use everywhere. I has base 10 and is represented by 10 digits from 0 to 9. Binary system: It is the most simplest system used in digital logic circuits. It has base 2 and takes two values only, 0 or 1. Octal system: An octal system has base 8 and uses 8 symbols from 0 to 7. 8 does not come in this system. 10 comes after 7 here. Hexadecimal system: This system has got base 16 and uses 16 symbols. Analogue circuits: Analogue circuits are designed for small signals and are used in linear fashion. For example OP Amp. Digital circuits: Digital circuits are used with large signals, are considered to be non linear, are discontinuous and represent a finite set of discrete values. Logic gates: A gate is just a digital circuit having one or more input signals but the output is one. NOT,OR,AND,NAND and NOR are some commonly used logic gates. Positive logic: In a logic circuit,if the more positive voltage level (+5 Volts) represents the logic 1; that is High=1 while the more negative level (0 volts) represents the logic 0; that is LOW=0 then the logic is positive logic. 28
29 Negative logic: In a logic circuit, if the more positive voltage level represents the logic 0 ; that is HIGH=0, and the more negative voltage level represents the logic 1 ; that is LOW=1 then the logic is negative logic References: Digital Principles and Applications, Donald P.Leach, Albert Paul Malvino & Goutam Saha, 7 th Edition, 2011, Tata Mc Graw Hill companies Digital Electronics, S.Salivahanan & S.Arivazhagan, 2010, Vikas Publishing House Pvt. Ltd. Digital Electronics, An Introduction to Theory and Practice, W.H. Gothmann, 1982, PHI 29
1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.
File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one
More informationBasic Logic Gates Richard E. Haskell
BASIC LOGIC GATES 1 E Basic Logic Gates Richard E. Haskell All digital systems are made from a few basic digital circuits that we call logic gates. These circuits perform the basic logic functions that
More informationGates, Circuits, and Boolean Algebra
Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks
More informationGates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction
Introduction Gates & Boolean lgebra Boolean algebra: named after mathematician George Boole (85 864). 2-valued algebra. digital circuit can have one of 2 values. Signal between and volt =, between 4 and
More informationNumber Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi)
Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi) INTRODUCTION System- A number system defines a set of values to represent quantity. We talk about the number of people
More informationCOMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design
PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits
More informationDecimal Number (base 10) Binary Number (base 2)
LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be
More informationSection 1.4 Place Value Systems of Numeration in Other Bases
Section.4 Place Value Systems of Numeration in Other Bases Other Bases The Hindu-Arabic system that is used in most of the world today is a positional value system with a base of ten. The simplest reason
More informationUseful Number Systems
Useful Number Systems Decimal Base = 10 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Binary Base = 2 Digit Set = {0, 1} Octal Base = 8 = 2 3 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7} Hexadecimal Base = 16 = 2
More informationDigital circuits make up all computers and computer systems. The operation of digital circuits is based on
Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is
More informationBinary Adders: Half Adders and Full Adders
Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order
More information6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10
Lesson The Binary Number System. Why Binary? The number system that you are familiar with, that you use every day, is the decimal number system, also commonly referred to as the base- system. When you
More informationBOOLEAN ALGEBRA & LOGIC GATES
BOOLEAN ALGEBRA & LOGIC GATES Logic gates are electronic circuits that can be used to implement the most elementary logic expressions, also known as Boolean expressions. The logic gate is the most basic
More information3.Basic Gate Combinations
3.Basic Gate Combinations 3.1 TTL NAND Gate In logic circuits transistors play the role of switches. For those in the TTL gate the conducting state (on) occurs when the baseemmiter signal is high, and
More informationplc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums
plc numbers - 3. Topics: Number bases; binary, octal, decimal, hexadecimal Binary calculations; s compliments, addition, subtraction and Boolean operations Encoded values; BCD and ASCII Error detection;
More informationANALOG & DIGITAL ELECTRONICS
ANALOG & DIGITAL ELECTRONICS Course Instructor: Course No: PH-218 3-1-0-8 Dr. A.P. Vajpeyi E-mail: apvajpeyi@iitg.ernet.in Room No: #305 Department of Physics, Indian Institute of Technology Guwahati,
More informationUpon completion of unit 1.1, students will be able to
Upon completion of unit 1.1, students will be able to 1. Demonstrate safety of the individual, class, and overall environment of the classroom/laboratory, and understand that electricity, even at the nominal
More informationMULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
CHAPTER3 QUESTIONS MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. ) If one input of an AND gate is LOW while the other is a clock signal, the output
More informationContent Map For Career & Technology
Content Strand: Applied Academics CT-ET1-1 analysis of electronic A. Fractions and decimals B. Powers of 10 and engineering notation C. Formula based problem solutions D. Powers and roots E. Linear equations
More informationGates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251
Gates J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, T 77251 1. The Evolution of Electronic Digital Devices...1 2. Logical Operations and the Behavior of Gates...2
More informationDIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION Introduction The outputs from sensors and communications receivers are analogue signals that have continuously varying amplitudes. In many systems
More informationApprentice Telecommunications Technician Test (CTT) Study Guide
Apprentice Telecommunications Technician Test (CTT) Study Guide 1 05/2014 Study Guide for Pacific Gas & Electric Company Apprentice Telecommunications Technician Qualifying Test (CTT) About the Test The
More informationPROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1
UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is
More informationELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits
Objectives ELEC - EXPERIMENT Basic Digital Logic Circuits The experiments in this laboratory exercise will provide an introduction to digital electronic circuits. You will learn how to use the IDL-00 Bit
More informationThe string of digits 101101 in the binary number system represents the quantity
Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for
More informationNumbering Systems. InThisAppendix...
G InThisAppendix... Introduction Binary Numbering System Hexadecimal Numbering System Octal Numbering System Binary Coded Decimal (BCD) Numbering System Real (Floating Point) Numbering System BCD/Binary/Decimal/Hex/Octal
More informationCHAPTER 3 Boolean Algebra and Digital Logic
CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4
More informationBase Conversion written by Cathy Saxton
Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,
More informationCOMBINATIONAL CIRCUITS
COMBINATIONAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/combinational_circuits.htm Copyright tutorialspoint.com Combinational circuit is a circuit in which we combine the different
More informationTransistor Amplifiers
Physics 3330 Experiment #7 Fall 1999 Transistor Amplifiers Purpose The aim of this experiment is to develop a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must accept input
More informationEE 261 Introduction to Logic Circuits. Module #2 Number Systems
EE 261 Introduction to Logic Circuits Module #2 Number Systems Topics A. Number System Formation B. Base Conversions C. Binary Arithmetic D. Signed Numbers E. Signed Arithmetic F. Binary Codes Textbook
More informationMultiple Choice Questions(Computer)
Multiple Choice Questions(Computer) 1. Which of the following is the product of data processing a. information b. data c. software program d. system 2. The process of putting data into a location is called
More informationLecture 8: Synchronous Digital Systems
Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered
More informationUnit/Standard Number. High School Graduation Years 2010, 2011 and 2012
1 Secondary Task List 100 SAFETY 101 Demonstrate an understanding of State and School safety regulations. 102 Practice safety techniques for electronics work. 103 Demonstrate an understanding of proper
More informationCounters and Decoders
Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter
More informationDesign and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course
Session ENG 206-6 Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course Nikunja Swain, Ph.D., PE South Carolina State University swain@scsu.edu Raghu Korrapati,
More informationProgramming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
More informationBinary, Hexadecimal, Octal, and BCD Numbers
23CH_PHCalter_TMSETE_949118 23/2/2007 1:37 PM Page 1 Binary, Hexadecimal, Octal, and BCD Numbers OBJECTIVES When you have completed this chapter, you should be able to: Convert between binary and decimal
More informationUnderstanding Logic Design
Understanding Logic Design ppendix of your Textbook does not have the needed background information. This document supplements it. When you write add DD R0, R1, R2, you imagine something like this: R1
More informationFORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder
FORDHAM UNIVERSITY CISC 3593 Fordham College Lincoln Center Computer Organization Dept. of Computer and Info. Science Spring, 2011 Lab 2 The Full-Adder 1 Introduction In this lab, the student will construct
More informationBipolar Transistor Amplifiers
Physics 3330 Experiment #7 Fall 2005 Bipolar Transistor Amplifiers Purpose The aim of this experiment is to construct a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must
More informationChapter 1: Digital Systems and Binary Numbers
Chapter 1: Digital Systems and Binary Numbers Digital age and information age Digital computers general purposes many scientific, industrial and commercial applications Digital systems telephone switching
More informationOct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8
ECE Department Summer LECTURE #5: Number Systems EEL : Digital Logic and Computer Systems Based on lecture notes by Dr. Eric M. Schwartz Decimal Number System: -Our standard number system is base, also
More informationDigital Electronics Detailed Outline
Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept
More informationHaving read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.
Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage
More informationW03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören
W03 Analysis of DC Circuits Yrd. Doç. Dr. Aytaç Gören ELK 2018 - Contents W01 Basic Concepts in Electronics W02 AC to DC Conversion W03 Analysis of DC Circuits (self and condenser) W04 Transistors and
More informationNUMBER SYSTEMS. 1.1 Introduction
NUMBER SYSTEMS 1.1 Introduction There are several number systems which we normally use, such as decimal, binary, octal, hexadecimal, etc. Amongst them we are most familiar with the decimal number system.
More informationBasic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati
Basic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati Module: 2 Bipolar Junction Transistors Lecture-2 Transistor
More informationBinary Numbers. Binary Octal Hexadecimal
Binary Numbers Binary Octal Hexadecimal Binary Numbers COUNTING SYSTEMS UNLIMITED... Since you have been using the 10 different digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 all your life, you may wonder how
More informationDigital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur
Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 04 Digital Logic II May, I before starting the today s lecture
More informationLevent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 INTRODUCTION TO DIGITAL LOGIC
Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 1 Number Systems Representation Positive radix, positional number systems A number with radix r is represented by a string of digits: A n
More informationKarnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation
Karnaugh Maps Applications of Boolean logic to circuit design The basic Boolean operations are AND, OR and NOT These operations can be combined to form complex expressions, which can also be directly translated
More informationCPEN 214 - Digital Logic Design Binary Systems
CPEN 4 - Digital Logic Design Binary Systems C. Gerousis Digital Design 3 rd Ed., Mano Prentice Hall Digital vs. Analog An analog system has continuous range of values A mercury thermometer Vinyl records
More information2011, The McGraw-Hill Companies, Inc. Chapter 3
Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through
More informationChapter 19 Operational Amplifiers
Chapter 19 Operational Amplifiers The operational amplifier, or op-amp, is a basic building block of modern electronics. Op-amps date back to the early days of vacuum tubes, but they only became common
More informationENGI 241 Experiment 5 Basic Logic Gates
ENGI 24 Experiment 5 Basic Logic Gates OBJECTIVE This experiment will examine the operation of the AND, NAND, OR, and NOR logic gates and compare the expected outputs to the truth tables for these devices.
More informationLecture 11: Number Systems
Lecture 11: Number Systems Numeric Data Fixed point Integers (12, 345, 20567 etc) Real fractions (23.45, 23., 0.145 etc.) Floating point such as 23. 45 e 12 Basically an exponent representation Any number
More informationA single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc
Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc
More informationDigital Design. Assoc. Prof. Dr. Berna Örs Yalçın
Digital Design Assoc. Prof. Dr. Berna Örs Yalçın Istanbul Technical University Faculty of Electrical and Electronics Engineering Office Number: 2318 E-mail: siddika.ors@itu.edu.tr Grading 1st Midterm -
More information26 Integers: Multiplication, Division, and Order
26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue
More informationLecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots
Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Registers As you probably know (if you don t then you should consider changing your course), data processing is usually
More informationChapter 2 Logic Gates and Introduction to Computer Architecture
Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are
More informationPlaying with Numbers
PLAYING WITH NUMBERS 249 Playing with Numbers CHAPTER 16 16.1 Introduction You have studied various types of numbers such as natural numbers, whole numbers, integers and rational numbers. You have also
More informationBoolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra
2 Ver..4 George Boole was an English mathematician of XIX century can operate on logic (or Boolean) variables that can assume just 2 values: /, true/false, on/off, closed/open Usually value is associated
More informationPOWER SUPPLY MODEL XP-15. Instruction Manual ELENCO
POWER SUPPLY MODEL XP-15 Instruction Manual ELENCO Copyright 2013 by Elenco Electronics, Inc. REV-A 753020 All rights reserved. No part of this book shall be reproduced by any means; electronic, photocopying,
More informationKarnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012
Karnaugh Maps & Combinational Logic Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 4 Optimized Implementation of Logic Functions 4. Karnaugh Map 4.2 Strategy for Minimization 4.2. Terminology
More informationChapter 1. Computation theory
Chapter 1. Computation theory In this chapter we will describe computation logic for the machines. This topic is a wide interdisciplinary field, so that the students can work in an interdisciplinary context.
More informationCpE358/CS381. Switching Theory and Logical Design. Class 4
Switching Theory and Logical Design Class 4 1-122 Today Fundamental concepts of digital systems (Mano Chapter 1) Binary codes, number systems, and arithmetic (Ch 1) Boolean algebra (Ch 2) Simplification
More informationSistemas Digitais I LESI - 2º ano
Sistemas Digitais I LESI - 2º ano Lesson 6 - Combinational Design Practices Prof. João Miguel Fernandes (miguel@di.uminho.pt) Dept. Informática UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA - PLDs (1) - The
More informationDEPARTMENT OF INFORMATION TECHNLOGY
DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF INFORMATION TECHNLOGY Lab Manual for Computer Organization Lab ECS-453
More informationUnited States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1
United States Naval Academy Electrical and Computer Engineering Department EC262 Exam 29 September 2. Do a page check now. You should have pages (cover & questions). 2. Read all problems in their entirety.
More information2 Number Systems. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:
2 Number Systems 2.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Understand the concept of number systems. Distinguish
More informationSECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks
UNIVERSITY OF KERALA First Degree Programme in Computer Applications Model Question Paper Semester I Course Code- CP 1121 Introduction to Computer Science TIME : 3 hrs Maximum Mark: 80 SECTION A [Very
More informationExponents and Radicals
Exponents and Radicals (a + b) 10 Exponents are a very important part of algebra. An exponent is just a convenient way of writing repeated multiplications of the same number. Radicals involve the use of
More informationNUMBER SYSTEMS. William Stallings
NUMBER SYSTEMS William Stallings The Decimal System... The Binary System...3 Converting between Binary and Decimal...3 Integers...4 Fractions...5 Hexadecimal Notation...6 This document available at WilliamStallings.com/StudentSupport.html
More informationFigure 8-1 Four Possible Results of Adding Two Bits
CHPTER EIGHT Combinational Logic pplications Thus far, our discussion has focused on the theoretical design issues of computer systems. We have not yet addressed any of the actual hardware you might find
More informationDiodes have an arrow showing the direction of the flow.
The Big Idea Modern circuitry depends on much more than just resistors and capacitors. The circuits in your computer, cell phone, Ipod depend on circuit elements called diodes, inductors, transistors,
More informationTo convert an arbitrary power of 2 into its English equivalent, remember the rules of exponential arithmetic:
Binary Numbers In computer science we deal almost exclusively with binary numbers. it will be very helpful to memorize some binary constants and their decimal and English equivalents. By English equivalents
More informationLecture 5: Gate Logic Logic Optimization
Lecture 5: Gate Logic Logic Optimization MAH, AEN EE271 Lecture 5 1 Overview Reading McCluskey, Logic Design Principles- or any text in boolean algebra Introduction We could design at the level of irsim
More informationBINARY CODED DECIMAL: B.C.D.
BINARY CODED DECIMAL: B.C.D. ANOTHER METHOD TO REPRESENT DECIMAL NUMBERS USEFUL BECAUSE MANY DIGITAL DEVICES PROCESS + DISPLAY NUMBERS IN TENS IN BCD EACH NUMBER IS DEFINED BY A BINARY CODE OF 4 BITS.
More informationLogic Reference Guide
Logic eference Guide Advanced Micro evices INTOUCTION Throughout this data book and design guide we have assumed that you have a good working knowledge of logic. Unfortunately, there always comes a time
More informationCourse: Bachelor of Science (B. Sc.) 1 st year. Subject: Electronic Equipment Maintenance. Scheme of Examination for Semester 1 & 2
UPDATED SCHEME OF EXAMS. & SYLLABI FOR B.SC. Course: Bachelor of Science (B. Sc.) 1 st year Subject: Electronic Equipment Maintenance Scheme of Examination for Semester 1 & 2 (i) Theory: Two papers of
More informationLecture N -1- PHYS 3330. Microcontrollers
Lecture N -1- PHYS 3330 Microcontrollers If you need more than a handful of logic gates to accomplish the task at hand, you likely should use a microcontroller instead of discrete logic gates 1. Microcontrollers
More informationChapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language
Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,
More information3. Convert a number from one number system to another
3. Convert a number from one number system to another Conversion between number bases: Hexa (16) Decimal (10) Binary (2) Octal (8) More Interest Way we need conversion? We need decimal system for real
More informationProperties of Real Numbers
16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should
More informationBasic Pulse Width Modulation
EAS 199 Fall 211 Basic Pulse Width Modulation Gerald Recktenwald v: September 16, 211 gerry@me.pdx.edu 1 Basic PWM Properties Pulse Width Modulation or PWM is a technique for supplying electrical power
More informationToday s topics. Digital Computers. More on binary. Binary Digits (Bits)
Today s topics! Binary Numbers! Brookshear.-.! Slides from Prof. Marti Hearst of UC Berkeley SIMS! Upcoming! Networks Interactive Introduction to Graph Theory http://www.utm.edu/cgi-bin/caldwell/tutor/departments/math/graph/intro
More information150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
More informationApplication Note AN-940
Application Note AN-940 How P-Channel MOSFETs Can Simplify Your Circuit Table of Contents Page 1. Basic Characteristics of P-Channel HEXFET Power MOSFETs...1 2. Grounded Loads...1 3. Totem Pole Switching
More informationComputers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer
Computers CMPT 125: Lecture 1: Understanding the Computer Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 3, 2009 A computer performs 2 basic functions: 1.
More informationMEP Y9 Practice Book A
1 Base Arithmetic 1.1 Binary Numbers We normally work with numbers in base 10. In this section we consider numbers in base 2, often called binary numbers. In base 10 we use the digits 0, 1, 2, 3, 4, 5,
More informationNEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.
CHAPTER 4 THE ADDER The adder is one of the most critical components of a processor, as it is used in the Arithmetic Logic Unit (ALU), in the floating-point unit and for address generation in case of cache
More informationScaling and Biasing Analog Signals
Scaling and Biasing Analog Signals November 2007 Introduction Scaling and biasing the range and offset of analog signals is a useful skill for working with a variety of electronics. Not only can it interface
More informationWires & Connections Component Circuit Symbol Function of Component. Power Supplies Component Circuit Symbol Function of Component
Lista Dei Simboli Dei Circuiti Per i Componenti Elettronici Wires & Connections Wire Wires joined Wires not joined To pass current very easily from one part of a circuit to another. A 'blob' should be
More informationInteger Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions
Grade 7 Mathematics, Quarter 1, Unit 1.1 Integer Operations Overview Number of Instructional Days: 15 (1 day = 45 minutes) Content to Be Learned Describe situations in which opposites combine to make zero.
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More informationA Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions
A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25
More information