1. The document discusses combinational logic circuits and describes various types including half adders, full adders, decoders, encoders, multiplexers, and comparators.
2. It provides truth tables and logic expressions to define the functions of these circuits. Diagrams of logic gate implementations are also shown.
3. Examples of specific combinational circuits are analyzed in detail like a 4-bit magnitude comparator, priority encoders, decoders, and a BCD to decimal decoder. Their applications in digital systems are also mentioned.
Foremost, I would like to express my sincere gratitude to my advisor prof. Nisha Dhiman(Roorkee College of Engineering) for the continuous support of my Project Orientation Program, for her patience, motivation, enthusiasm, and immense knowledge. Her guidance helped me in all the time of research and writing of this thesis. I could not have imagined having a better advisor and mentor for my POP.
Computer Organization And Architecture lab manualNitesh Dubey
The document discusses the implementation of various logic gates and flip-flops. It describes half adders and full adders can be implemented using XOR and AND gates. Binary to gray code and gray to binary code conversions are also explained. Circuit diagrams for 3-8 line decoder, 4x1 and 8x1 multiplexer are provided along with their truth tables. Finally, the working of common flip-flops like SR, JK, D and T are explained through their excitation tables.
This document discusses digital logic gates. It begins by defining a gate as a digital circuit with one or more inputs and one output. The three basic gates are described as the NOT, OR, and AND gates. Additional universal gates, the NAND and NOR gates, are introduced. Truth tables are provided to explain the output of each gate for all possible input combinations. The document also discusses how to derive different gate functions using NAND and NOR gates alone through De Morgan's theorems.
This document describes two electronic devices: a digital voltmeter and a controlled voltage power supply. The digital voltmeter uses a PIC microcontroller, resistors, diodes, and seven-segment displays to measure input voltages between 0-5V. The controlled voltage power supply uses a PIC, DAC, op-amp, and push buttons to output a controlled voltage between 0-10V. It sends signals from the PIC to the DAC to the op-amp to produce the desired output voltage when the buttons are pressed. Biasing from a power supply is needed to operate the various components.
This document discusses different logic families including Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor-Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It provides circuit diagrams and explanations of the working principles for each logic family. Key characteristics like fan-in, fan-out, propagation delay, noise immunity, and power dissipation are compared for each logic family.
Digital logic gates are the basic building blocks of digital circuits. The three main types of logic gates are AND gates, OR gates, and NOT gates. Logic gates have one or more inputs and one output, and the output depends on the combinations of inputs according to truth tables. Common logic gates include AND, OR, NAND, NOR, XOR, and XNOR gates. Logic gates can be combined to perform more complex logical operations and form the basis of digital electronics in computers and other devices.
This document discusses analog to digital conversion and pulse width modulation.
It explains that analog signals from peripherals must be converted to digital signals the microcontroller can understand using an analog to digital converter (ADC). It also describes how pulse width modulation varies the duty cycle of a signal to control motor speed or other analog systems. Common applications like temperature measurement and motor control are provided as examples.
1. The document discusses combinational logic circuits and describes various types including half adders, full adders, decoders, encoders, multiplexers, and comparators.
2. It provides truth tables and logic expressions to define the functions of these circuits. Diagrams of logic gate implementations are also shown.
3. Examples of specific combinational circuits are analyzed in detail like a 4-bit magnitude comparator, priority encoders, decoders, and a BCD to decimal decoder. Their applications in digital systems are also mentioned.
Foremost, I would like to express my sincere gratitude to my advisor prof. Nisha Dhiman(Roorkee College of Engineering) for the continuous support of my Project Orientation Program, for her patience, motivation, enthusiasm, and immense knowledge. Her guidance helped me in all the time of research and writing of this thesis. I could not have imagined having a better advisor and mentor for my POP.
Computer Organization And Architecture lab manualNitesh Dubey
The document discusses the implementation of various logic gates and flip-flops. It describes half adders and full adders can be implemented using XOR and AND gates. Binary to gray code and gray to binary code conversions are also explained. Circuit diagrams for 3-8 line decoder, 4x1 and 8x1 multiplexer are provided along with their truth tables. Finally, the working of common flip-flops like SR, JK, D and T are explained through their excitation tables.
This document discusses digital logic gates. It begins by defining a gate as a digital circuit with one or more inputs and one output. The three basic gates are described as the NOT, OR, and AND gates. Additional universal gates, the NAND and NOR gates, are introduced. Truth tables are provided to explain the output of each gate for all possible input combinations. The document also discusses how to derive different gate functions using NAND and NOR gates alone through De Morgan's theorems.
This document describes two electronic devices: a digital voltmeter and a controlled voltage power supply. The digital voltmeter uses a PIC microcontroller, resistors, diodes, and seven-segment displays to measure input voltages between 0-5V. The controlled voltage power supply uses a PIC, DAC, op-amp, and push buttons to output a controlled voltage between 0-10V. It sends signals from the PIC to the DAC to the op-amp to produce the desired output voltage when the buttons are pressed. Biasing from a power supply is needed to operate the various components.
This document discusses different logic families including Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor-Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It provides circuit diagrams and explanations of the working principles for each logic family. Key characteristics like fan-in, fan-out, propagation delay, noise immunity, and power dissipation are compared for each logic family.
Digital logic gates are the basic building blocks of digital circuits. The three main types of logic gates are AND gates, OR gates, and NOT gates. Logic gates have one or more inputs and one output, and the output depends on the combinations of inputs according to truth tables. Common logic gates include AND, OR, NAND, NOR, XOR, and XNOR gates. Logic gates can be combined to perform more complex logical operations and form the basis of digital electronics in computers and other devices.
This document discusses analog to digital conversion and pulse width modulation.
It explains that analog signals from peripherals must be converted to digital signals the microcontroller can understand using an analog to digital converter (ADC). It also describes how pulse width modulation varies the duty cycle of a signal to control motor speed or other analog systems. Common applications like temperature measurement and motor control are provided as examples.
This document provides information about Dr. Krishnanaik Vankdoth and his background and qualifications. It then discusses digital logic design topics like digital circuits, combinational logic, sequential circuits, logic gates, truth tables, adders, decoders, encoders, multiplexers and demultiplexers. Example circuits are provided and the functions of components like full adders, parallel adders, magnitude comparators are explained through diagrams and logic equations.
The document discusses digital circuits including combinational and sequential circuits. It describes various combinational logic circuits such as half adders, full adders, comparators, multiplexers, encoders, decoders. It also discusses sequential circuits and how they employ memory elements. Arithmetic circuits, binary adders, subtractors, and BCD to 7-segment decoders are explained in detail through diagrams and examples.
This document contains information about homework help resources and the syllabus for an electronics lab course. The syllabus lists 10 experiments involving digital and analog integrated circuits, including studying logic gates, op-amps, timers, counters, and analog-to-digital converters. Key details are provided on the operation and design of inverting/non-inverting amplifiers, differentiators, integrators, and astable/monostable multivibrators using a 555 timer chip. Circuit diagrams and design procedures are provided for several of the experiments.
The document discusses different types of transistors including MOSFETs and BJTs. It then covers the basic construction and operation of MOSFETs and CMOS logic gates like inverters, NOR gates, and NAND gates. Decoder circuits are also summarized. The remainder discusses static hazards, output characteristics testing, and common logic interface levels.
Combinational circuits are digital circuits whose outputs depend only on the current inputs. They do not have internal memory and include common components like multiplexers, decoders, and adders. A combinational circuit with n inputs can have up to 2^n possible output combinations. Common combinational circuits discussed in the document include half adders, full adders, decoders, and multiplexers along with their truth tables and applications. Sequential circuits differ in that their outputs depend on both current and previous inputs due to internal memory elements like latches and flip-flops.
Combinational logic circuits produce outputs solely based on current inputs. They are made up of basic logic gates like NAND, NOR, and NOT connected together. A half adder adds two binary digits and produces a sum and carry output. A full adder adds three binary digits and produces a two-bit sum and carry output. A half subtractor subtracts one bit from another and produces a difference and borrow output, while a full subtractor subtracts three bits. Parallel adders use cascaded full adders to add multiple bits simultaneously, while serial adders add bits sequentially with the carry from the previous addition. BCD to 7-segment decoders take a 4-bit BCD number and output the correct segments to display
Design and Implementation of Schmitt Trigger using Operational AmplifierIJERA Editor
This document describes the design and implementation of a Schmitt trigger circuit using an operational amplifier. A Schmitt trigger is a comparator that detects when a voltage crosses a reference level and has two stable output states. It is useful for conditioning signals. The circuit was designed using an op-amp IC μA-741 to generate a rectangular output waveform from a sinusoidal input. Simulation and experimental results matched and showed the output transitioning at upper and lower threshold points with hysteresis. The Schmitt trigger provides noise immunity and converts analog signals to digital waveforms needed for digital circuits.
In the case of class A amplifier, we have observed that the transistor conducts for
the full cycle of the input signal i.e. the conduction angle is 180◦. Although
the transistor conducts for the full cycle of the input signal, the power conversion
efficiency is poor in class A amplifier. In addition to that, a great deal of
distortion is introduced by the nonlinearity in the dynamic transfer characteristic
of the transistor. The power conversion efficiency can be improved by biasing
the transistor at cut off point on VCE axis and a great deal of the distortion
due to nonlinearity in dynamic transfer characteristic may be eliminated by
the push-pull configuration of the transistor as discussed in next section
The document discusses digital principles and computer organization topics such as Karnaugh maps, universal gates, don't care conditions, NOR and decoder operations, combinational circuits, priority and binary encoders, modeling techniques in HDL, half and full adders/subtractors, carry propagation delay, ring counters, propagation delay, T and JK flip-flop operations, state assignment, shift register applications, differences between synchronous and asynchronous circuits, and classifications of sequential circuits. Key concepts covered include limitations of K-maps, universal properties of NAND and NOR gates, don't care conditions in logic circuits, truth tables for NOR operation, definitions of combinational circuits and encoders/decoders, modeling approaches in HDL, definitions and differences of
This document summarizes key concepts about combinational logic circuits. It defines combinational logic as circuits whose outputs depend only on the current inputs, in contrast to sequential logic which also depends on prior inputs. Common combinational circuits are described like half and full adders used for arithmetic, as well as decoders. The design process for combinational circuits is outlined involving specification, formulation, optimization and technology mapping. Implementation of functions using NAND and NOR gates is also discussed.
This document provides an overview of combinational logic circuits including half adders, full adders, half subtractors, full subtractors, multiplexers, demultiplexers, encoders, decoders, binary coded decimal adders, arithmetic logic units, and the differences between serial adders and parallel adders. Combinational logic circuits have outputs that are a function of the present inputs only. Common combinational logic elements and their applications are described.
This document provides an overview of four different logic families: Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It describes the basic circuit, truth table, and working principle for each logic family. RTL was the first non-monolithic logic family and uses resistors and transistors. DTL uses diodes and transistors in its NAND gate configuration. TTL became widely popular and uses additional transistors in a totem-pole output stage. ECL is a non-saturated logic family that provides OR and NOR functions using differential input amplifiers and emitter followers.
1. Digital electronics deals with data and codes represented in a digital format using two conditions: 0 and 1.
2. Digital circuits are made from logic gates, which perform operations on binary inputs to produce binary outputs according to truth tables.
3. Common logic gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR gates, which can be combined to perform more complex operations.
This document discusses different types of digital logic families. It describes Transistor-Transistor Logic (TTL) circuits, including TTL NAND gates which use a totem pole configuration to provide high speed and low output impedance. Metal-oxide-semiconductor (MOS) and complementary MOS (CMOS) circuits are also covered, with CMOS NAND gates using both N-channel and P-channel MOSFETs for low power dissipation. Emitter-coupled logic (ECL) is described as the fastest logic family using current-mode switching, though it has higher power dissipation. Key specifications for digital ICs like propagation delay, power, noise immunity, and fan-in
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docxmariuse18nolet
Introduction to Bipolar Junction Transistors (BJTs)
Mugisha Omary
Introduction to Bipolar Junction Transistors (BJTs)
Laboratory Report for EENG 3306
College of Engineering and Computer Science
Department of Electrical Engineering
University of Texas at Tyler
Houston, TX
December 8, 2014
Mugisha Omary
Group Members
Hamza Ahmad
Shamir Mohammed
I. Project description
The purpose of this lab is to take measurement of the common-emitter characteristics (collector current IC vs collector-to-emitter voltage VCE of small-signal NPN and PNP bipolar transistors and also simulate IC vs VCE characteristics of 2N4401 and 2N3906 transistors.
A BJT is a semiconductor device that uses a small current to control a larger current. This property makes it essentially a current amplifier. In this lab the student will build a simple test circuit to evaluate a transistor’s current and voltage relationships and then use this data to determine the transistors DC value and plot the collector characteristic curve.
II. Theoretical background
A BJT is a three terminal two – junction semiconductor device in which the
conduction is due to both the charge carrier. Hence it is a bipolar device and it
amplifier the sine waveform as they are transferred from input to output. BJT is
classified into two types – NPN or PNP. A NPN transistor consists of two N
types in between which a layer of P is sandwiched. The transistor consists of
three terminal emitter, collector and base. The emitter layer is the source of the
charge carriers and it is heartily doped with a moderate cross sectional area.
The collector collects the charge carries and hence moderate doping and large
cross sectional area. The base region acts a path for the movement of the
charge carriers. In order to reduce the recombination of holes and electrons the
base region is lightly doped and is of hollow cross sectional area. Normally the
transistor operates with the EB junction forward biased. In transistor, the current is same in both junctions, which indicates that there is a transfer of resistance between the two junctions. One to this fact the transistor is known as transfer resistance of transistor.
The symbol of an NPN BJT. The symbol is "not pointing in."
The symbol of a PNP BJT. The symbol "points inproudly."
When a transistor’s base current (IB) is set to a certain value and left unchanged while the collector current is swept through a range of values and IC and VCE are recorded and then graphed, a collector characteristic curve is produced for that particular IB. If IB is now changed, and again the collector current is swept through a range of values, and IC and VCE are plotted, another collector characteristic curve for this different IB value is produced. Repeating this process for several IB values results in a family of curves referred to as the transistors collector characteristic curves. Figure 2 shows the characteristics for a notional transistor.
Figure 1. Transistor.
This document discusses sequential logic circuits and timing considerations in digital logic design. It defines sequential circuits as circuits whose output depends on both the input and previous state, allowing them to store memory. The basic memory element, an S-R latch, is described as being bistable, having two stable output states, and its operation is demonstrated. Timing issues like hazards and glitches that can occur in combinational circuits are explained. Various types of latches and flip-flops are introduced to avoid these timing problems, including the clocked D latch and the master-slave D flip-flop, which can only change state on the falling edge of the clock signal.
Machine learning and its applications were presented. Machine learning is defined as algorithms that improve performance on tasks through experience. There are supervised and unsupervised learning methods. Supervised learning uses labeled training data, while unsupervised learning finds patterns in unlabeled data. Deep learning uses neural networks with many layers to perform complex feature identification and processing. Deep learning has achieved state-of-the-art results in areas like image recognition, speech recognition, and autonomous vehicles.
This document provides an overview of deep learning methods. It defines machine learning and deep learning. Deep learning involves using neural networks with multiple layers between input and output to perform feature identification and processing similar to the human brain. Deep learning architectures include recurrent neural networks, convolutional neural networks, and generative adversarial networks. Deep learning is generally better than other methods for image, speech and certain data types because multiple layers allow for complex feature extraction. The document discusses applications of deep learning in various domains like healthcare and concludes that deep learning is growing exponentially with improved accuracy and relevance across many areas.
More Related Content
Similar to Basic_Digital_Circuits_Implementation_using_Virtuoso.pdf
This document provides information about Dr. Krishnanaik Vankdoth and his background and qualifications. It then discusses digital logic design topics like digital circuits, combinational logic, sequential circuits, logic gates, truth tables, adders, decoders, encoders, multiplexers and demultiplexers. Example circuits are provided and the functions of components like full adders, parallel adders, magnitude comparators are explained through diagrams and logic equations.
The document discusses digital circuits including combinational and sequential circuits. It describes various combinational logic circuits such as half adders, full adders, comparators, multiplexers, encoders, decoders. It also discusses sequential circuits and how they employ memory elements. Arithmetic circuits, binary adders, subtractors, and BCD to 7-segment decoders are explained in detail through diagrams and examples.
This document contains information about homework help resources and the syllabus for an electronics lab course. The syllabus lists 10 experiments involving digital and analog integrated circuits, including studying logic gates, op-amps, timers, counters, and analog-to-digital converters. Key details are provided on the operation and design of inverting/non-inverting amplifiers, differentiators, integrators, and astable/monostable multivibrators using a 555 timer chip. Circuit diagrams and design procedures are provided for several of the experiments.
The document discusses different types of transistors including MOSFETs and BJTs. It then covers the basic construction and operation of MOSFETs and CMOS logic gates like inverters, NOR gates, and NAND gates. Decoder circuits are also summarized. The remainder discusses static hazards, output characteristics testing, and common logic interface levels.
Combinational circuits are digital circuits whose outputs depend only on the current inputs. They do not have internal memory and include common components like multiplexers, decoders, and adders. A combinational circuit with n inputs can have up to 2^n possible output combinations. Common combinational circuits discussed in the document include half adders, full adders, decoders, and multiplexers along with their truth tables and applications. Sequential circuits differ in that their outputs depend on both current and previous inputs due to internal memory elements like latches and flip-flops.
Combinational logic circuits produce outputs solely based on current inputs. They are made up of basic logic gates like NAND, NOR, and NOT connected together. A half adder adds two binary digits and produces a sum and carry output. A full adder adds three binary digits and produces a two-bit sum and carry output. A half subtractor subtracts one bit from another and produces a difference and borrow output, while a full subtractor subtracts three bits. Parallel adders use cascaded full adders to add multiple bits simultaneously, while serial adders add bits sequentially with the carry from the previous addition. BCD to 7-segment decoders take a 4-bit BCD number and output the correct segments to display
Design and Implementation of Schmitt Trigger using Operational AmplifierIJERA Editor
This document describes the design and implementation of a Schmitt trigger circuit using an operational amplifier. A Schmitt trigger is a comparator that detects when a voltage crosses a reference level and has two stable output states. It is useful for conditioning signals. The circuit was designed using an op-amp IC μA-741 to generate a rectangular output waveform from a sinusoidal input. Simulation and experimental results matched and showed the output transitioning at upper and lower threshold points with hysteresis. The Schmitt trigger provides noise immunity and converts analog signals to digital waveforms needed for digital circuits.
In the case of class A amplifier, we have observed that the transistor conducts for
the full cycle of the input signal i.e. the conduction angle is 180◦. Although
the transistor conducts for the full cycle of the input signal, the power conversion
efficiency is poor in class A amplifier. In addition to that, a great deal of
distortion is introduced by the nonlinearity in the dynamic transfer characteristic
of the transistor. The power conversion efficiency can be improved by biasing
the transistor at cut off point on VCE axis and a great deal of the distortion
due to nonlinearity in dynamic transfer characteristic may be eliminated by
the push-pull configuration of the transistor as discussed in next section
The document discusses digital principles and computer organization topics such as Karnaugh maps, universal gates, don't care conditions, NOR and decoder operations, combinational circuits, priority and binary encoders, modeling techniques in HDL, half and full adders/subtractors, carry propagation delay, ring counters, propagation delay, T and JK flip-flop operations, state assignment, shift register applications, differences between synchronous and asynchronous circuits, and classifications of sequential circuits. Key concepts covered include limitations of K-maps, universal properties of NAND and NOR gates, don't care conditions in logic circuits, truth tables for NOR operation, definitions of combinational circuits and encoders/decoders, modeling approaches in HDL, definitions and differences of
This document summarizes key concepts about combinational logic circuits. It defines combinational logic as circuits whose outputs depend only on the current inputs, in contrast to sequential logic which also depends on prior inputs. Common combinational circuits are described like half and full adders used for arithmetic, as well as decoders. The design process for combinational circuits is outlined involving specification, formulation, optimization and technology mapping. Implementation of functions using NAND and NOR gates is also discussed.
This document provides an overview of combinational logic circuits including half adders, full adders, half subtractors, full subtractors, multiplexers, demultiplexers, encoders, decoders, binary coded decimal adders, arithmetic logic units, and the differences between serial adders and parallel adders. Combinational logic circuits have outputs that are a function of the present inputs only. Common combinational logic elements and their applications are described.
This document provides an overview of four different logic families: Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It describes the basic circuit, truth table, and working principle for each logic family. RTL was the first non-monolithic logic family and uses resistors and transistors. DTL uses diodes and transistors in its NAND gate configuration. TTL became widely popular and uses additional transistors in a totem-pole output stage. ECL is a non-saturated logic family that provides OR and NOR functions using differential input amplifiers and emitter followers.
1. Digital electronics deals with data and codes represented in a digital format using two conditions: 0 and 1.
2. Digital circuits are made from logic gates, which perform operations on binary inputs to produce binary outputs according to truth tables.
3. Common logic gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR gates, which can be combined to perform more complex operations.
This document discusses different types of digital logic families. It describes Transistor-Transistor Logic (TTL) circuits, including TTL NAND gates which use a totem pole configuration to provide high speed and low output impedance. Metal-oxide-semiconductor (MOS) and complementary MOS (CMOS) circuits are also covered, with CMOS NAND gates using both N-channel and P-channel MOSFETs for low power dissipation. Emitter-coupled logic (ECL) is described as the fastest logic family using current-mode switching, though it has higher power dissipation. Key specifications for digital ICs like propagation delay, power, noise immunity, and fan-in
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docxmariuse18nolet
Introduction to Bipolar Junction Transistors (BJTs)
Mugisha Omary
Introduction to Bipolar Junction Transistors (BJTs)
Laboratory Report for EENG 3306
College of Engineering and Computer Science
Department of Electrical Engineering
University of Texas at Tyler
Houston, TX
December 8, 2014
Mugisha Omary
Group Members
Hamza Ahmad
Shamir Mohammed
I. Project description
The purpose of this lab is to take measurement of the common-emitter characteristics (collector current IC vs collector-to-emitter voltage VCE of small-signal NPN and PNP bipolar transistors and also simulate IC vs VCE characteristics of 2N4401 and 2N3906 transistors.
A BJT is a semiconductor device that uses a small current to control a larger current. This property makes it essentially a current amplifier. In this lab the student will build a simple test circuit to evaluate a transistor’s current and voltage relationships and then use this data to determine the transistors DC value and plot the collector characteristic curve.
II. Theoretical background
A BJT is a three terminal two – junction semiconductor device in which the
conduction is due to both the charge carrier. Hence it is a bipolar device and it
amplifier the sine waveform as they are transferred from input to output. BJT is
classified into two types – NPN or PNP. A NPN transistor consists of two N
types in between which a layer of P is sandwiched. The transistor consists of
three terminal emitter, collector and base. The emitter layer is the source of the
charge carriers and it is heartily doped with a moderate cross sectional area.
The collector collects the charge carries and hence moderate doping and large
cross sectional area. The base region acts a path for the movement of the
charge carriers. In order to reduce the recombination of holes and electrons the
base region is lightly doped and is of hollow cross sectional area. Normally the
transistor operates with the EB junction forward biased. In transistor, the current is same in both junctions, which indicates that there is a transfer of resistance between the two junctions. One to this fact the transistor is known as transfer resistance of transistor.
The symbol of an NPN BJT. The symbol is "not pointing in."
The symbol of a PNP BJT. The symbol "points inproudly."
When a transistor’s base current (IB) is set to a certain value and left unchanged while the collector current is swept through a range of values and IC and VCE are recorded and then graphed, a collector characteristic curve is produced for that particular IB. If IB is now changed, and again the collector current is swept through a range of values, and IC and VCE are plotted, another collector characteristic curve for this different IB value is produced. Repeating this process for several IB values results in a family of curves referred to as the transistors collector characteristic curves. Figure 2 shows the characteristics for a notional transistor.
Figure 1. Transistor.
This document discusses sequential logic circuits and timing considerations in digital logic design. It defines sequential circuits as circuits whose output depends on both the input and previous state, allowing them to store memory. The basic memory element, an S-R latch, is described as being bistable, having two stable output states, and its operation is demonstrated. Timing issues like hazards and glitches that can occur in combinational circuits are explained. Various types of latches and flip-flops are introduced to avoid these timing problems, including the clocked D latch and the master-slave D flip-flop, which can only change state on the falling edge of the clock signal.
Machine learning and its applications were presented. Machine learning is defined as algorithms that improve performance on tasks through experience. There are supervised and unsupervised learning methods. Supervised learning uses labeled training data, while unsupervised learning finds patterns in unlabeled data. Deep learning uses neural networks with many layers to perform complex feature identification and processing. Deep learning has achieved state-of-the-art results in areas like image recognition, speech recognition, and autonomous vehicles.
This document provides an overview of deep learning methods. It defines machine learning and deep learning. Deep learning involves using neural networks with multiple layers between input and output to perform feature identification and processing similar to the human brain. Deep learning architectures include recurrent neural networks, convolutional neural networks, and generative adversarial networks. Deep learning is generally better than other methods for image, speech and certain data types because multiple layers allow for complex feature extraction. The document discusses applications of deep learning in various domains like healthcare and concludes that deep learning is growing exponentially with improved accuracy and relevance across many areas.
This document discusses big data analytics and its impact on e-commerce. It begins with background on how data analysis motivates human actions and helps businesses understand customer expectations. It then defines big data as the collection of traditional and digital data used to discover insights. The document outlines how e-commerce businesses can apply big data analytics to identify customer segments, make recommendations, optimize operations, and contact customers at the right time. It also discusses the impact of big data on increasing sales and margins. Finally, it covers methods used in data analysis, benefits of big data for e-commerce, challenges faced in the author's experience with e-commerce projects, and future challenges around privacy and costs.
Study of various Data Compression Techniques used in Lossless Compression of ...Ankita Tiwari
This document summarizes and analyzes various lossless data compression techniques used for EEG signal compression. It describes the AZTEC, turning point, DCT with Huffman coding, and EMD techniques. For each technique, it explains the basic methodology and provides analysis of compression ratio and percent root mean square difference values based on testing with EEG data from the BCI website database. Overall, it finds that EMD achieved the highest compression ratio of 22.85:1 while maintaining relatively low percent root mean square difference of 2.0730, indicating better performance than the other techniques studied.
PIC Introduction and explained in detailedAnkita Tiwari
The document provides an introduction to the PIC microcontroller. It discusses what a microcontroller is, compares microcontrollers to general purpose microprocessors, and briefly outlines the history of the PIC microcontroller. It then describes features of the PIC16F84 microcontroller including its clock generator, reset function, ports, central processing unit, and memory organization including flash memory, RAM, and ROM. It also covers the timer and prescalar functions.
It is an international non- profit, professional organisation or the advancement of technology related to electricity. It is the largest professional organization in the world with more than 3,60,000 members in around 175 countries.
To implement Water level control using LabVIEW and analog input signals from ...Ankita Tiwari
1) The document describes an experiment to control water level using LabVIEW and sensors by interfacing an Arduino board with a relay switch.
2) LabVIEW is a graphical programming environment used to develop the water level control program. It uses a dataflow model instead of text-based code.
3) A relay is an electrically operated switch that uses an electromagnet to mechanically operate the switch contacts. Relays are used to control circuits using low-power signals or to control multiple circuits with one signal.
To count number of external events using LabVIEWAnkita Tiwari
The objective of the experiment was to count external events using LabVIEW. An Arduino board and seven segment display were used along with the LABVIEW setup. LabVIEW is a graphical programming language that uses a visual layout resembling thought processes to more easily solve problems compared to text-based coding. The seven segment display is used for displaying decimal numerals in devices like clocks and calculators. LabVIEW was interfaced with the Arduino through hardware to control the seven segment display and count a sequence of displayed numbers.
To control the dc motor speed using PWM from LabVIEWAnkita Tiwari
The document describes an experiment to control the speed of a DC motor using pulse width modulation (PWM) from LabVIEW. It discusses interfacing an Arduino board with a DC motor and LabVIEW. The LabVIEW program sends new speed values to the Arduino, which converts them to integer bytes representing delay intervals to control the motor speed - higher delays mean lower speeds. The result is studying how to control the speed of a DC motor using LabVIEW.
To measure the intensity of light using LDR sensor by calibrating voltage wit...Ankita Tiwari
The document describes an experiment to measure light intensity using an LDR sensor calibrated with LabVIEW. An Arduino board reads the voltage across the LDR and LabVIEW converts it to lux using equations relating resistance, voltage and light intensity. LabVIEW establishes a front panel and block diagram to communicate with the Arduino, send new delay interval values to control motor speed, and clear registers to avoid data overflow. The experiment successfully measured light intensity by calibrating LDR voltage to lux in LabVIEW.
To interface temperature sensor with microcontroller and perform closed loop ...Ankita Tiwari
The document describes an experiment to interface a temperature sensor with a microcontroller and perform closed-loop temperature control using LabVIEW. The experiment uses an Arduino board with a thermistor temperature sensor connected. LabVIEW graphical programming is used to send control signals to the Arduino, which reads the thermistor resistance and calculates the temperature using the Steinhart-Hart equation. The Arduino then sends motor control signals back to LabVIEW to dynamically control the temperature in a closed feedback loop. The result was successful reading and closed-loop control of temperature variations using the Arduino and LabVIEW interface.
Interface stepper motor through Arduino using LABVIEW.Ankita Tiwari
The document describes an experiment to interface a stepper motor with Arduino using LabVIEW. It involves establishing a front panel and block diagram in LabVIEW to start communication with Arduino and send new control values or a stop signal. The Arduino code checks for new values from LabVIEW, uses the value as the delay interval between motor steps to control speed, and sends the calculated motor speed to another serial port to confirm it is working. The result is the stepper motor is successfully run by interfacing Arduino with LabVIEW.
To study the relay operation from digital control signal using LabVIEW.Ankita Tiwari
The document describes an experiment to control a relay using LabVIEW and an Arduino board. The apparatus used includes an Arduino board, a relay, and the LabVIEW software environment. It then provides background on LabVIEW and how it can be used for graphical programming and interfacing with hardware. It also describes how the ULN2803 relay driver IC works to interface low-voltage logic signals from the Arduino with the higher voltages needed for relay control. The experiment checks for new values from LabVIEW and uses those to calculate and set the motor speed, sending the results to another serial port to confirm the code is working properly.
Linux operating systems and Bootable PendriveAnkita Tiwari
Brief discription of linux OS and how to make your pendrive Bootable with the help of USBInstaller or Yumi Softwares
Attention: This presentation contains animations, so to have an exact picture you need to download it.
Design the implementation of Robotic Simulator: Goalkeeper.Ankita Tiwari
The document describes an experiment using LabVIEW to simulate a robotic goalkeeper. LabVIEW is a visual programming language that uses graphical blocks and wires to connect functions. The experiment uses LabVIEW to create VIs (virtual instruments) that model a goalkeeper reading data from a simulated LIDAR sensor to track the position of a ball and move the goalkeeper robot accordingly. The main VI calls sub-VIs that check for obstacles, determine the robot and ball positions, and move the robot toward the ball. The results show the goalkeeper simulation tracks and guards the goal in response to a kicked ball.
Design the implementation of Forward Dynamic for PUMA560.Ankita Tiwari
The document describes an experiment to study and implement forward dynamics for a PUMA560 robot arm using LabVIEW. It provides details on the hardware and software used, including LabVIEW and the robot arm. It explains key aspects of LabVIEW programming including virtual instruments (VIs), block diagrams, and front panels. The procedures describe creating main and sub-VIs to control the robot arm and implement functions like kinematics, initialization, updating plots, and forward dynamics. It also explains structures like flat sequences and wait functions used in the programming.
Design the implementation of Anytime D Star on an Occupancy GridAnkita Tiwari
This experiment aims to study and design the implementation of Anytime D Star path planning on an occupancy grid. The experiment uses LabVIEW to create a main VI that uses the Anytime D* search algorithm to calculate a suboptimal path quickly and then update the path in subsequent executions until an optimal path is found. Sub-VIs are used to generate random obstacles, check valid cells, convert paths to the grid, and reveal portions of the world. The results show that the VI can plan paths efficiently using information from previous iterations to handle changes in the robot's environment or goal.
Design the implementation of CDEx Robust DC Motor.Ankita Tiwari
This document describes an experiment using LabVIEW to design and implement a robust DC motor controller. It discusses:
1. The apparatus used, including the LabVIEW software and computer specifications.
2. An overview of LabVIEW, describing it as a visual programming language where programs are created by connecting functional nodes with wires to control data flow.
3. The procedure for the experiment, which involves modeling the DC motor and controller, discretizing the controller, and performing time and frequency response simulations to analyze robustness.
Design the implementation of CDEx PID with ConstraintsAnkita Tiwari
This document describes an experiment using LabVIEW to study and design the implementation of CDEx PID with constraints. It discusses the apparatus used, which is a Windows PC with Intel processor and RAM. It then provides details on the theory behind LabVIEW as a visual programming platform, how virtual instruments are executed and composed of blocks, fronts and connectors. The document outlines the procedure, including execution of main and sub-VIs. It concludes with results showing transfer function and PID models, and examples of state-space, feedback and limit specification VIs.
Design the implementation of CDEx flexible jointsAnkita Tiwari
The document describes an experiment using LabVIEW to study and design the implementation of flexible joints (CDEx). It discusses using LabVIEW, a visual programming platform, to create a virtual instrument (VI) with a block diagram and front panel to control a rotary flexible joint model. The VI uses state feedback control to move the joint from one setpoint to another by changing weights in an LQR matrix to generate a desired dynamic response. Results show the flexible joint model being controlled by the servo motor voltage VI to vary parameters like deflection angle and moment of inertia. Precautions are given to avoid locking the user interface.
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMHODECEDSIET
Time Division Multiplexing (TDM) is a method of transmitting multiple signals over a single communication channel by dividing the signal into many segments, each having a very short duration of time. These time slots are then allocated to different data streams, allowing multiple signals to share the same transmission medium efficiently. TDM is widely used in telecommunications and data communication systems.
### How TDM Works
1. **Time Slots Allocation**: The core principle of TDM is to assign distinct time slots to each signal. During each time slot, the respective signal is transmitted, and then the process repeats cyclically. For example, if there are four signals to be transmitted, the TDM cycle will divide time into four slots, each assigned to one signal.
2. **Synchronization**: Synchronization is crucial in TDM systems to ensure that the signals are correctly aligned with their respective time slots. Both the transmitter and receiver must be synchronized to avoid any overlap or loss of data. This synchronization is typically maintained by a clock signal that ensures time slots are accurately aligned.
3. **Frame Structure**: TDM data is organized into frames, where each frame consists of a set of time slots. Each frame is repeated at regular intervals, ensuring continuous transmission of data streams. The frame structure helps in managing the data streams and maintaining the synchronization between the transmitter and receiver.
4. **Multiplexer and Demultiplexer**: At the transmitting end, a multiplexer combines multiple input signals into a single composite signal by assigning each signal to a specific time slot. At the receiving end, a demultiplexer separates the composite signal back into individual signals based on their respective time slots.
### Types of TDM
1. **Synchronous TDM**: In synchronous TDM, time slots are pre-assigned to each signal, regardless of whether the signal has data to transmit or not. This can lead to inefficiencies if some time slots remain empty due to the absence of data.
2. **Asynchronous TDM (or Statistical TDM)**: Asynchronous TDM addresses the inefficiencies of synchronous TDM by allocating time slots dynamically based on the presence of data. Time slots are assigned only when there is data to transmit, which optimizes the use of the communication channel.
### Applications of TDM
- **Telecommunications**: TDM is extensively used in telecommunication systems, such as in T1 and E1 lines, where multiple telephone calls are transmitted over a single line by assigning each call to a specific time slot.
- **Digital Audio and Video Broadcasting**: TDM is used in broadcasting systems to transmit multiple audio or video streams over a single channel, ensuring efficient use of bandwidth.
- **Computer Networks**: TDM is used in network protocols and systems to manage the transmission of data from multiple sources over a single network medium.
### Advantages of TDM
- **Efficient Use of Bandwidth**: TDM all
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...IJECEIAES
Medical image analysis has witnessed significant advancements with deep learning techniques. In the domain of brain tumor segmentation, the ability to
precisely delineate tumor boundaries from magnetic resonance imaging (MRI)
scans holds profound implications for diagnosis. This study presents an ensemble convolutional neural network (CNN) with transfer learning, integrating
the state-of-the-art Deeplabv3+ architecture with the ResNet18 backbone. The
model is rigorously trained and evaluated, exhibiting remarkable performance
metrics, including an impressive global accuracy of 99.286%, a high-class accuracy of 82.191%, a mean intersection over union (IoU) of 79.900%, a weighted
IoU of 98.620%, and a Boundary F1 (BF) score of 83.303%. Notably, a detailed comparative analysis with existing methods showcases the superiority of
our proposed model. These findings underscore the model’s competence in precise brain tumor localization, underscoring its potential to revolutionize medical
image analysis and enhance healthcare outcomes. This research paves the way
for future exploration and optimization of advanced CNN models in medical
imaging, emphasizing addressing false positives and resource efficiency.
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...University of Maribor
Slides from talk presenting:
Aleš Zamuda: Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapter and Networking.
Presentation at IcETRAN 2024 session:
"Inter-Society Networking Panel GRSS/MTT-S/CIS
Panel Session: Promoting Connection and Cooperation"
IEEE Slovenia GRSS
IEEE Serbia and Montenegro MTT-S
IEEE Slovenia CIS
11TH INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONIC AND COMPUTING ENGINEERING
3-6 June 2024, Niš, Serbia
International Conference on NLP, Artificial Intelligence, Machine Learning an...gerogepatton
International Conference on NLP, Artificial Intelligence, Machine Learning and Applications (NLAIM 2024) offers a premier global platform for exchanging insights and findings in the theory, methodology, and applications of NLP, Artificial Intelligence, Machine Learning, and their applications. The conference seeks substantial contributions across all key domains of NLP, Artificial Intelligence, Machine Learning, and their practical applications, aiming to foster both theoretical advancements and real-world implementations. With a focus on facilitating collaboration between researchers and practitioners from academia and industry, the conference serves as a nexus for sharing the latest developments in the field.
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSIJNSA Journal
The smart irrigation system represents an innovative approach to optimize water usage in agricultural and landscaping practices. The integration of cutting-edge technologies, including sensors, actuators, and data analysis, empowers this system to provide accurate monitoring and control of irrigation processes by leveraging real-time environmental conditions. The main objective of a smart irrigation system is to optimize water efficiency, minimize expenses, and foster the adoption of sustainable water management methods. This paper conducts a systematic risk assessment by exploring the key components/assets and their functionalities in the smart irrigation system. The crucial role of sensors in gathering data on soil moisture, weather patterns, and plant well-being is emphasized in this system. These sensors enable intelligent decision-making in irrigation scheduling and water distribution, leading to enhanced water efficiency and sustainable water management practices. Actuators enable automated control of irrigation devices, ensuring precise and targeted water delivery to plants. Additionally, the paper addresses the potential threat and vulnerabilities associated with smart irrigation systems. It discusses limitations of the system, such as power constraints and computational capabilities, and calculates the potential security risks. The paper suggests possible risk treatment methods for effective secure system operation. In conclusion, the paper emphasizes the significant benefits of implementing smart irrigation systems, including improved water conservation, increased crop yield, and reduced environmental impact. Additionally, based on the security analysis conducted, the paper recommends the implementation of countermeasures and security approaches to address vulnerabilities and ensure the integrity and reliability of the system. By incorporating these measures, smart irrigation technology can revolutionize water management practices in agriculture, promoting sustainability, resource efficiency, and safeguarding against potential security threats.
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...IJECEIAES
Climate change's impact on the planet forced the United Nations and governments to promote green energies and electric transportation. The deployments of photovoltaic (PV) and electric vehicle (EV) systems gained stronger momentum due to their numerous advantages over fossil fuel types. The advantages go beyond sustainability to reach financial support and stability. The work in this paper introduces the hybrid system between PV and EV to support industrial and commercial plants. This paper covers the theoretical framework of the proposed hybrid system including the required equation to complete the cost analysis when PV and EV are present. In addition, the proposed design diagram which sets the priorities and requirements of the system is presented. The proposed approach allows setup to advance their power stability, especially during power outages. The presented information supports researchers and plant owners to complete the necessary analysis while promoting the deployment of clean energy. The result of a case study that represents a dairy milk farmer supports the theoretical works and highlights its advanced benefits to existing plants. The short return on investment of the proposed approach supports the paper's novelty approach for the sustainable electrical system. In addition, the proposed system allows for an isolated power setup without the need for a transmission line which enhances the safety of the electrical network
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsVictor Morales
K8sGPT is a tool that analyzes and diagnoses Kubernetes clusters. This presentation was used to share the requirements and dependencies to deploy K8sGPT in a local environment.
Comparative analysis between traditional aquaponics and reconstructed aquapon...bijceesjournal
The aquaponic system of planting is a method that does not require soil usage. It is a method that only needs water, fish, lava rocks (a substitute for soil), and plants. Aquaponic systems are sustainable and environmentally friendly. Its use not only helps to plant in small spaces but also helps reduce artificial chemical use and minimizes excess water use, as aquaponics consumes 90% less water than soil-based gardening. The study applied a descriptive and experimental design to assess and compare conventional and reconstructed aquaponic methods for reproducing tomatoes. The researchers created an observation checklist to determine the significant factors of the study. The study aims to determine the significant difference between traditional aquaponics and reconstructed aquaponics systems propagating tomatoes in terms of height, weight, girth, and number of fruits. The reconstructed aquaponics system’s higher growth yield results in a much more nourished crop than the traditional aquaponics system. It is superior in its number of fruits, height, weight, and girth measurement. Moreover, the reconstructed aquaponics system is proven to eliminate all the hindrances present in the traditional aquaponics system, which are overcrowding of fish, algae growth, pest problems, contaminated water, and dead fish.
1. IITG Internship Program Report
Designing digital logic circuits using Cadence virtuoso
Electronics & Electrical Engineering
Ankita Tiwari
2. Index
0. Studying basic theory about MOSFET
1. Inverter circuits using MOSFET, layout of inverter
2. Universal gates (NOR, NAND gate)
3. Basic gates (OR,AND,XOR gate)
4. Adder (half adder, full adder, ripple carry adder)
5. MUX
6. 3bit-Multiplier
7. Flip-Flop (D, SR)
8. Understanding of PP-KSA (Parallel Prefix Kogge Stone Adder) with PTL (pass transistor logic)
3. 0. Studying basic theory about MOSFET (date: 20~26/1/23)
Referenced book: Design of Analog CMOS integrated circuits.(by Behzad Razavi) – chapter
1&2(Basic MOS Device Physics)
Referenced video : Razavi Electronics 1- Lec 29(intro of MOSFET)~35(common source stage)
What I learned
-Definition of two types of doping and semiconductor(p,n), diode, forward and reverse bias
and rectifying.
-Basic structure of MOSFET and phenomena that vary with the change of gate voltage.
- How drain current(Id) flows in each region(triode, saturation) decided by the voltage
difference between drain and source and its equation and plot.
- How MOSFET works when appropriate VGS and VDS is applied.
- Concept of transconductance and its equation.
- MOSFETs connected in series.
- large & small signal models.
- How to make amplifier using MOSFET
- Difference between PMOS and NMOS
4. 1. Inverter circuits using MOSFET, layout of inverter (date: 27/01/23)
<circuit of inverter>
How it works:
If we input high signal, then PMOS is turned off and only NMOS turned on and signal flows
from Vdd to the ground. Eventually there is no signal at output pin.
If we input low signal, then only PMOS is turned on, works as a switch and current flows
from Vdd to output pin. Eventually we can get high signal at output terminal.
Body of the each MOSFET is both connected to source because there should be no current
flowing from body to doped area and vice verse. So we apply low voltage to body of p-
substrate and high voltage to body of n-substrate to use trait of reverse bias.
5. Result
<Plot of pulse input signal>
<Plot of output signal of inverter>
: When the signal is high, output of inverter is low and vice versa. So I can observe it works
well, as I expected.
6. Layout of inverter
: The above figure is layout of NOT gate. I should have added the result of DRC, but there
was a program error, so it was unable to check the rule. PMOS and NMOS are located at
the top and bottom respectively. Vdd is applied to the source of PMOS which is inside the
n-well.
7. 2. Universal gates
2-1) NAND gate (date: 30/01/23)
<Circuit of NAND gate>
Input signal: v1, v2 output signal: out pin
How it works:
If we input two high inputs(V1=1, V2=1), no current flows at PMOS. Current only flows
through NMOS so the output of signal output.
Output of all other cases(one is high and the other is low or both are low) are equal to 1,
since ground is connected to output pin when v1 and v2 are both high signal.
At first, I thought I can make NAND gate by using inverter and AND gate. So I tried to
make AND gate by connecting two NMOS in series since MOSFET works as a switch, but
the total circuit was totally different from mine. After I tried AND gate, I learned NAND
gate is more basic level in digital logic.
Result
8. <Plot of input, output signal of NAND gate>
: Input signal are both pulse, and the result of output is same as the truth table of NAND
gate.
2-2) NOR gate (date: 02/02/23)
<Circuit of NOR gate>
Input signal: A, B output signal: out_NOR pin
How it works:
Unlike NAND gate, 2 PMOS are connected in series and 2 NMOS are connected in parallel.
9. As a result, we can get high output only when we input both low signal.
Result
<Plot of input, output signal of NOR gate>
: Input signal are both pulse, and the result of output is same as the truth table of NOR
gate. For example, when the time is 30ns, A=1, B=1 and output = 0.
10. 3. Basic gates
3-1) AND gate (date: 31/01/23)
<Circuit of AND gate>
Input signal: v1, v2 output signal: out pin
How it works:
AND gate is addition of NAND gate(left side of the above figure) and inverter(right side),
so we can get complementary output of NAND gate. Output of NAND gate is always 1
except when both inputs are high. Therefore the result of complementary of NAND gate is
always 0 except when both inputs are high.
Result
11. <Plot of input, output signal of AND gate>
Output is 0 when one of the two input is 0 or both are 0 as we expected. For example,
when time is 20ns, v1=1, v2=0 and output = 0
3-2) OR gate (date: 02/02/23)
<Circuit of OR gate>
Input signal: A, B output signal: out_OR pin
How it works:
OR gate is addition of NOR gate and inverter, so we can get complementary output of
NOR gate. Output of NOR gate is always 0 except when both signal is low. Therefore,
complementary of NOR is always 1 except when both signal is low.
Result
12. <Plot of input, output signal of OR gate>
: Output is 0 when both two inputs are 0 as we expected. For example, when time is 15ns,
A=0, B=0 and output = 0
3-3) XOR gate (date: 31/01/23)
<Circuit of XOR gate>
Input signal: A, B output signal: out_XOR
13. How it works
: The results of XOR are 1 (when two input signal is different) or 0( when two input signal
is same). Let’s say two input signal A,B are both high signal. Then Only PMOS with inverter
connected and NMOS without inverter connected operate. Therefore current will flow from Vdd to
ground connected to inverter.
If A,B are both low signal, Only NMOS with inverter connected and PMOS without inverter connected
operate. The current will also flow from Vdd to ground connected to inverter.
If A is low signal and B is high signal(or vice versa), current from Vdd can’t pass the 2 consecutive
series Because one of the two is connected to the inverter unconditionally. Therefore the output
always becomes zero.
Result
<Plot of input, output signal of XOR gate>
:The result shows that when A=B, output is 0.
For example when t=10ns, A=B=1 and out_XOR =0. When t=20ns, A=0, B=1 and out_XOR
=1.
14. 4. Adder(half adder, full adder, ripple carry adder)
4-1) Half adder (date: 02/02/23)
<Circuit of Half adder>
Input signal: A, B output signal: sum, carry_out
How it works:
If the two input signal are both 1, by the binary addition the result should be 10(2)
Carry is made when two inputs are both 1 which means AND gate. Sum is 1 when two inputs are
different which means XOR gate. Therefore by using AND and XOR gate we can calculate 1bit binary
addition.
Result
15. <Plot of input, output signal of Half adder >
: We can see the result of addition by arranging carry_out bit and sum bit in order.
4-2) Full adder (date: 03/02/23)
<Circuit of Full adder>
Input signal: A, B, Cin output signal: sum, carry
How it works
: Full_adder can be made by using 2 half adders and 1 OR gate. First, if we input 2 signals,
A and B, to first half adder we can get carry_out and sum of half adder. After the calculation,
if we input sum result of first half adder and Cin(initial value) to second half adder, we can
get total sum of A,B and Cin. Also if we input carry_out of first and second half adder to
OR gate, we can get total Carry_out bit.
Result
16. <Plot of input, output signal of Full adder >
: When t=5ns, A=1, B=1, Cin =1. we know the sum of 3 input is 11(2) by calculating
manually. The simulation results of sum bit and carry bit are both 1 which means 11(2)
<symbol of Full adder>
17. 4-3) Ripple carry adder (date: 05/02/23)
<Circuit of 4-bit Ripple carry adder>
Input signal: A0~A3, B0~B3 output signal: carry_out, sum1~sum3
How it works
: Ripple carry adder is a series of full adders(hereinafter FA).
If we enter the first two bits(A0, B0 in the figure) and Carry-in(cin in the figure) to first FA,
it produces first carry and sum(sum0 in the figure). Then first carry and second two
bits(A1,B1) are connected to second FA and produces second carry and sum(sum1) and so
on. After all sum bits(sum0~sum3) and carry_out were derived, writing them backward(from
carry_out to sum0) becomes the answer.
Result
18. <Plot of input, output signal of Ripple carry adder>
: Above plots when t=0 to t=10ns are result of addition if we input two 4bit numbers,
(A=1101(2), B=1001(2), cin=1(2)). If we manually add to binary number A and B, the result is
11101(2). The same result can be obtained by arranging the values of sum0~sum3 and
carry_out bit in reverse.
19. 5. Multiplexer (date: 03~05/02/23)
<Circuit of 2X1 MUX>
Input signal: V1,V2,S0 output signal: out pin
How it works
:Output of AND gate is always zero if one of two inputs is zero. MUX uses this
characteristic to select which which of the input data to output. By connecting first AND
gate with standard signal and one of two input signal, we can get one input signal
when standard signal is enough high. By connecting second AND gate with
complementary signal of standard signal and the other input signal, we can get the
other input signal as a result when standard signal is not high enough.
Each time we add one more standard signal, we can choose one signal as a result from
two times more input signals.
20. Result
<Plot of input, output signal of MUX>
: If we observe around t = 10ns(when s0=1, v1=1, v2=0), we can see output is same to v1.
Also if we observe around t = 25ns (when s0=0, v1=1, v2=0), output is same to v2.
6. 2bit signed-Multiplier
<First circuit of 2bit signed-Multiplier >
21. How it works
: 2bit binary number needs one more bit to express negative number. Therefore we
need total 3bits and result of multiplication should also be 3bits to avoid overflow.
However if we multiply two 3bit numbers we can get 6 bits as a result. To avoid overflow
I left out some of parts that express fourth~sixth bits from circuits.
Result
<Plot of input, output signal of first model of multiplier>
: when t = 10ns, input signals are A=111(2), B=110(2). Multiplication result of A and B is
101010(2). Since we can express only first 3bits from the circuits, the answer we can get
is 010(2).
We can also check the answer by calculating manually two numbers. A = -1, B = -2 in
decimal. Result of multiplication is obviously 2(10) and it is 010(2) in binary.
We can conclude it is not perfect circuit but it works well if we want to get 3bit answers.
22. <Second circuit of 2bit signed-Multiplier>
Input signal:A0~A2, B0~B2, Cin output signal: sum0~sum4, carry_out
How it works
: The idea of this circuit is using the characteristic that multiplied by zero results in zero.
For example, let’s say two input numbers are A= a2a1a0, B=b2b1b0. If we input 0 and A0
to MUX and set b0 as a standard signal, we can get 0 when b0 is zero and a0 when b0 is
1. Since a0b0 is same to a0 when b0 is zero, we can get first bit of total number.
Second bit of total number can be produced by calculating a1b0 + a0b1. Addition can be
expressed by FA. a1b0 and a0b1 can be obtained by using MUX. So we can get second bit
of total number.
Other bits can also be obtained through similar procedure.
However I failed to obtain accurate results from simulation. I guess the reason why I failed
is that the signal of b0 is not exactly 1, but that there is a decimal point. In theory, it seems
to be the right idea, but it was different from the reality.
23. 7. Flip-Flop(D,SR)
7-1) D-Flip/Flop (date: 11~13/02/23)
<Circuit of D-Flip/Flop >
Input signal: clk, D output signal: Q, Q’
How it works
:Flip-Flop(hereinafter F/F) works when the value of clock called edge changes. Above D
F/F circuit was designed to work at positive edge. Output of D-F/F is always same to
input signal when clock is positive edge and remember the previous value when clock
is level or negative edge.
In the figure of circuit, we input two signals, clock and D. When clock is 0, output of
both AND gate becomes 0. Output of both AND gates are connected to OR gate each
and the output of OR gates is depend on the other input value. It means previous
output value decides the present output and we can say D-F/F remembers the results.
24. Result
<Plot of input, output signal of D-Flip/Flop >
:When t=20ns, clock is at positive edge and D is high input, so Q is also high signal.
It can be also seen that Q changes together as the D value changes when t=20~30ns
which means high level.
When t =30ns, clock is at negative edge and D is high input, but Q is low signal since
D-F/F remembers the previous value 0.
7-2) SR-Flip/Flop (date: 13/02/23)
25. <Circuit of SR-Flip/Flop >
Input signal: S, R output signal: Q, Q’
How it works
: Above SR-F/F circuit was designed to work when clock is positive edge.Output Q, Q’
is controlled by input signal S and R. When S=1 and R=0, Q is set to 1. When S=0, R=1
Q is reset to 1. We prohibit both S and R from giving high inputs.
In the figure of circuit, if we give (S=1, R=0, clock=1), the AND gates connected to S
and R have a result of 1 and 0, respectively. Then output of OR gate connected to S is
always 1, therefore Q’ becomes 0. Since Q’ is 0, all input value of OR gate connected
to R is 0 and output of the OR gate is also 0. This 0 is reversed by inverter and the
final output Q becomes 1.
By a similar process Q becomes 0 when (S=0, R=1, clock=1).
Lastly, when (S=R=0) or (clock=0), both AND gate output becomes 0. Therefore the
final output is depend on the previous output by the same logic as D-F/F.
Result
<Plot of input, output signal of SR-Flip/Flop >
: From t=0 to t= 10ns (when S=1,R=0, clk=1), value of Q is 1 and Q’ is 0.
Around t =10ns S falls to 0 and R rises to 1. Therefore Q falls to 0.
26. Since clk is 0 after t=10ns, value of Q is retained as 0 even when S and R are both high
signal.
8. Understanding of PP-KSA(Parallel Prefix Kogge Stone Adder)
with PTL(pass transistor logic) (date: 13~17/02/23)
8-1) understanding of basic pp-ksa
Parallel Prefix Kogge Stone Adder is one of various adders which has strong point in
reducing delays. Unlike ripple carry adder, it calculates generation and propagations almost
at the same time without waiting carry from previous stage.
<circuit of basic PP-KSA>
How I made
: When I made a circuit, I basically followed the research paper and compared it with my
own calculation. As a result there were some points that I think errors, so I modified the
circuit myself partially. From the paper there was an open terminal which is useless if it
wasn’t connected to next input terminal. Also some input signals were connected
incorrectly. Above figure is my modified circuit.
27. <plot of basic PP-KSA>
When t= 23ns : A = 0011, B = 1100, Cin = 0001 then, sum0~3 = 0, c0~3 = 1, carry_out = 1
If I write in backwards from carry_out to sum0, the result is 10000(2) It's the same as when we calculate
by hand.
When t= 45ns : A = 1011, B = 1100, Cin = 0000 then, sum0~2 = 1, sum3 =0, c0~3 = 0, carry_out = 1
If I also write in backwards from carry_out to sum0, the result is 10111(2) It's the same as when we
calculate by hand.
28. 8-2) Improvements of weak point
The only weak point of this adder is the size of area it occupies when we use it.
To improve area efficiency, pass transistor logic was suggested from the paper. PTL reduces
the number of PMOS used in OR gate.
< OR gate with PTL> <original OR gate>
OR gate with PTL uses 1 inverter and 2 NMOS. On the other hand original original OR
gate uses 1 inverter, 2NMOS and 2PMOS. Therefore OR gate with PTL has advantages in
both area efficiency and speed.
However when we simulate the OR gate with PTL, the plot is not clear as accurate as
original one because of characteristics of MOSFET.
<plot of OR gate with PTL>
: Logical result of OR gate with PTL is same to original one but the plot above slightly
increases as time passes and has some stretching point. I think the reason of this
phenomenon is related to source connection in MOSFET. So far, source of NMOS was
29. connected to the ground but when using PTL, source is connected to the input signal
which various with time.