Logic gates are the basic building block of digital circuits. Background diode logic dl or diode resistor logic drl is a logic family that uses only diodes and the resistors in the implementation of the logic functions. The nor gate is a digital logic gate that implements logical nor it behaves according to the. And, or, not, nand not and, nor not or, xor, and xnor not xor later building functions. Some logic gates like not gate or inverter has only one. Basic logic gates implementation using breadboards and discrete gates introduction. Aim to study about logic gates introduction logic gates. Logic gate is mainly implemented electronically using diodes or transistors, but can also be built using the arrangement of components that utilize the properties of. Logic gates are the digital circuits with one output and one or more inputs. This experiment is designed to reinforce the students exposure to the following. They can, however, be useful for adding a gate or two to complex circuitry without adding integrated circuit chips. Or gate the truth table is a table that shows a logic gate s.
Digital logic it was then possible to make the alu count by fixing one of the inputs at 1 and adding or subtracting it to or from the other input finally an instruction was added that allowed the alu to left shift the bits on input a. Attach the input terminals of the logic converter to up to eight input points in the circuit. Introduction to digital logic with laboratory exercises. Experiment 2 basic logic gates implementation using breadboards and discrete gates introduction. To study the truth tables of various basic logic gates 2. Do out a truth table for an and gate and determine what configuration is required to get the same logical outputs. Elec 2210 experiment 1 basic digital logic circuits. Nand gate is actually a combination of two logic gates. Lab 1 part 2 identify the 7400 series ttl gates and look up their data sheets.
Basic logic gates tutorial logic gates animation with. The project may be your first insight into life in a physics research group and be a chance to see. The or gate is one of the simplest gates to understand. The purpose of this experiment is to introduce the design of 2bit magnitude. Connect the single output of the circuit to the output terminal on the logic converter icon. A gate is an electronic device which is used to compute a function on a two valued signal. We will introduce the most common logic gates in this section, including the and, or, xor, not, nor, and nand. In the past, vacuum tube and relay circuits performed logic functions.
Basic logic gates, truth tables, and functions explained. When either of the inputs is a logic 1 the output is also a logic 1. Not gate the not gate is a device which have one input and one output. Lab of experiment basic logic gates chiachun tsai classification for logic gates basic logic gates have not, and, or, nand, nor, and xor gates.
These gates are the and, or, not, nand, nor, exor and exnor gates. Xor gates can be constructed using not, and, and or gates. Nor gates are basic logic gates, and as such they are recognised in ttl and cmos ics. To avoid this from happening safeguards will usually be placed on the inputs in the form of more logic gates. For any other combination of inputs, the output is logic 0 level. The logic modules create rules for your circuit to follow, giving you more ability to create interesting and complex interactions. Logic gates worksheet truth tables cs for all teachers. Label these basic logic gates and fill in their truth tables. In this lesson, you will learn how to combine various inputs to achieve desired output results with the help of logic gates and, or, nand, nor, xor. Experiment 1 basic logic gates dalhousie university. Circuit that takes the logical decision and the process are called logic gates.
To be familiar with hardware equipments in the lab in addition to cedar logic simulator program. Theory on the introduction of logic gate logic gates or logic gate is an entity in electronics and mathematics boolean that turns one or more logic inputs to a logic output signal. Make connections on the logic gates kit as the circuit diagram and verify the truth table for each logic gate. This tutorial on basic logic gates accompanies the book digital design using digilent fpga boards vhdl activehdl edition which contains. In fact, most gates are implemented in solidstate ttl chips transistortransistor logic e. Introduction a logic gate can be defined as digital circuit which either allows a signal to pass through or stops it. The basic operations are described below with the aid of truth tables. Logic gates 4 oo software design and construction 2input logic gate hierarchy it is sensible to view each of the 2input logic gates as a specialized subtype of a generic logic gate a base type which has 2 input wires and transmits its output to a single output wire. Inputs and outputs of logic gates can occur only in two levels. After performing this experiment student will be able to learn and design the basic logic gates using universal gates nand and nor. Used to build logic functions there are seven basic logic gates. Nand gates can also have two or more than two inputs and single output, as indicated by the standard logic symbols in fig 4. The 74ls32 ttl logic chip contains these types of gates.
Logic functions can be implemented in several ways. The objective for conducting these experiments, is to see how the operation of logic gates work. The basic logic gates are the building blocks of more complex logic circuits. These rules, taken together, form the basis of boolean algebra, which you studied in depth in elec 2200 digital logic circuits. Anne bracy cs 3410 computer science cornell university the slides are the product of many rounds of teaching cs 3410 by professors weatherspoon, bala, bracy, and sirer. Pdf on jun 9, 2018, mohammed qasim taha and others published lab 1. Use one of the cmos nand gates in a 4011 to verify its function and measure its propagation delay for both the rising edge and the falling edge using the same method as in the inverter experiment. The output is logic 1 level, only when each of its inputs assumes a logic 0 level. Brief into to the 3 main logic gates not, and or showing truth tables and how to calculate their rows basic computational representation of logic gates. Below are is the physical and logic diagrams for each chip. To understand basic gate operation of following logic families. Implement a 2input and gate using nand gates only and implement a 2input and gate using nor gates only. Without logic gates, electronic world would be nearly incomplete. In this experiment, the 7400 chip used contains four separate nand gates.
And, or, not nand and nor gates objective the purpose of this laboratory is to introduce the use and features of the logic lab unit ets7000 digital analog training system and to introduce the ttl integrated circuit and,or and. Simple digital logic gates can be made by combining transistors, diodes and resistors as discrete components. Digital systems are said to be constructed by using logic gates. And every gate does its own different logic function. Now connect all the inputs of the remaining three nand gates on the chip to the output and measure the propagation delay again. Logic gate from wikipedia, the free encyclopedia a logic gate is an arrangement of controlled switches used to calculate operations using boolean logic in digital circuits. Experiment 2 basic logic gates implementation using.
If we give the input low, will be high and if the input given is high then output is low. Design of basic logic gates using nand gate there are mainly three types of logic gate named and, or and not gate. The importance of nand nand gates are considered to be the universal gate, because any other gate can be synthesized eve engels, 2006 slide 22 of 20 using nand. Basically, all logic gates have one output and two inputs. Each logic family has its own basic electronic circuit upon. They are primarily implemented electronically but can also be constructed using electromagnetic relays.
Review of binary logic logic variables logic 1 high, true, on logic 2 low, false, off binary digits a binary digit or bit binary words several bits stringed together to make up an number or code. Logic gates logic gates combine individual bits according to certain rules. To study and verify the truth table of the basic logic gates and, or, not. Logic gates are related with boolean algebra, which differ from both ordinary and binary algebra. Also show their logic symbol, use the function in an equation and show the truth table for one gate in each of the integrated circuits. Setup in the scf file the input signals as shown below and draw the output f as obtained from simulation. Also, trace the directions of all currents in this circuit.
In this the variable permitted to have only values true offalse usually written as 1 or 0. From transistorsto logic gates and logic circuits prof. Basic logic gates and, or, and not gates objectives. The truth table for the circuit appears in the logic converters display. Each gate has one or more input and only one output. In case negative logic is used the output will be reversed. Diode logic gates utilize the properties of a semiconductor diode in forward or reverse bias conditions. Describe in your lab report each of their functions. It consists of and symbol with an inverter symbol added to output. The main drawback of the diode logic family is that it is not complete. These ics are small silicon semiconductors sheets called chips, containing the electronic components for the logic gates. A basic 2input logic circuit has a high on one input and a low on the other input. For each of the above circuits an and gate, an xor gate, a half adder, a gated latch.
This manual typically contains practical lab sessions related to digital. Basic logic gates and, or, and not gates objectives find. Measure the voltage of logic 1 or h and the voltage of logic 0 or l. The concept of memory is then introduced through the construction of an sr latch and then a d flipflop.
These gates have limited use due to the obvious logic level shift when gates are connected in series. Introduction to logic gates not, and, nand, or, nor. Furthermore, in order to see how these different logic gates work, they will be used in separate circuits and have their own truth tables, so that it is easier to tell. Verilog source text files consists of the following lexical tokens. Presently logic functions are performed by tiny integrated circuits ics. Most integrated circuit ic chips contain a number of logic gates. These are usually available in both throughhole dip and soic format. A tutorial on the basics of logic gates circuit crush. Student will be able to design or realize the boolean expression using aoi logic andornot gates as well as universal gates. Experiment 4logic gates experiment 7boolean laws and demorgans theorems experiments 11adder and magnitude comparator experiments combinational logic using demultiplexers experiments 14the d latch and d flipflop experiments 16the jk flipflop. So with the help of these basic logic gates, we can get any logical functions or any boolean or else any logical expression.
The operation of nand gate is the same as the and gate except that its output is inverted. Logic gates digital circuit that either allows a signal to pass through it or not. To hold the design files for this lab, we will use a directory exp2. To implement an inverter using nand or nor gates 4. Realization of logic functions with the help of universal gatesnand gate. The reader will first see how logic gates can be constructed from transistors and then how digital logic functions are constructed using those gates. With littlebits logic modules, you can program in block form. Crude logic gates circuits may be constructed out of nothing but diodes and resistors. To study and verify the truth table of logic gates learning objective. Experiment 2 basic logic gates implementation using breadboards. And and or functions can be implemented using the diode logic very easily. A clock is created to be used in a basic state machine. In an and gate, both inputs have to be logic 1 for an output to be logic 1.
Lab02 basic logic gates chiachun tsai objectives understand a module of digital system and all the components on the module understand basic logic gates, not, and, or, nand, nor, xor, and xnor and their truth tables. Special logic gates exist for several of these functions. The following animations show the major logic gates, their inputs and outputs. In other words, the output of the logic gates can be used to interpret the numbers in binary form. The and gate is an electronic circuit that gives a high output 1 only if all its inputs are high. All components are available from the main tool bar below the file menu. The operation of logic gates is normally done by logic digital integrated circuits ics.
1244 1451 1182 439 868 1042 727 1243 10 944 877 241 1053 1228 1545 165 217 971 1519 722 899 823 864 1027 1000 1305 236 84 157 963 946 564 705 1271 1211