Implementation of Boolean Functions through Multiplexers with the Help of Shannon Expansion Theorem

Similar documents
Implementation of Deutsch's Algorithm Using Mathcad

Multiplication Algorithms for Radix-2 RN-Codings and Two s Complement Numbers

The OC Curve of Attribute Acceptance Plans

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits

Luby s Alg. for Maximal Independent Sets using Pairwise Independence

v a 1 b 1 i, a 2 b 2 i,..., a n b n i.

Vision Mouse. Saurabh Sarkar a* University of Cincinnati, Cincinnati, USA ABSTRACT 1. INTRODUCTION

Section C2: BJT Structure and Operational Modes

VRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) , info@teltonika.

1 Example 1: Axis-aligned rectangles

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic

BERNSTEIN POLYNOMIALS

NON-CONSTANT SUM RED-AND-BLACK GAMES WITH BET-DEPENDENT WIN PROBABILITY FUNCTION LAURA PONTIGGIA, University of the Sciences in Philadelphia

Single and multiple stage classifiers implementing logistic discrimination

What is Candidate Sampling

Correlated Noise Modeling - An Implementation into HICUM

Lecture 2: Single Layer Perceptrons Kevin Swingler

A Crossplatform ECG Compression Library for Mobile HealthCare Services

Series Solutions of ODEs 2 the Frobenius method. The basic idea of the Frobenius method is to look for solutions of the form 3

GRAVITY DATA VALIDATION AND OUTLIER DETECTION USING L 1 -NORM

Hosted Voice Self Service Installation Guide

RSA Cryptography using Designed Processor and MicroBlaze Soft Processor in FPGAs

Boolean Algebra. ECE 152A Winter 2012

Simple Interest Loans (Section 5.1) :

1. Measuring association using correlation and regression

Research on Transformation Engineering BOM into Manufacturing BOM Based on BOP

The circuit shown on Figure 1 is called the common emitter amplifier circuit. The important subsystems of this circuit are:

8 Algorithm for Binary Searching in Trees

A Probabilistic Theory of Coherence

This circuit than can be reduced to a planar circuit

Laddered Multilevel DC/AC Inverters used in Solar Panel Energy Systems

Statistical Approach for Offline Handwritten Signature Verification

Extending Probabilistic Dynamic Epistemic Logic

A Multi-Camera System on PC-Cluster for Real-time 3-D Tracking

The Greedy Method. Introduction. 0/1 Knapsack Problem

Multiple stage amplifiers

Production. 2. Y is closed A set is closed if it contains its boundary. We need this for the solution existence in the profit maximization problem.

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

ECE544NA Final Project: Robust Machine Learning Hardware via Classifier Ensemble

Quantization Effects in Digital Filters

Question 2: What is the variance and standard deviation of a dataset?

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by

How Much to Bet on Video Poker

Support Vector Machines

7.5. Present Value of an Annuity. Investigate

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:

Calculation of Sampling Weights

A GENERIC HANDOVER DECISION MANAGEMENT FRAMEWORK FOR NEXT GENERATION NETWORKS

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. *MR for LS160A and LS161A *SR for LS162A and LS163A

Forecasting the Demand of Emergency Supplies: Based on the CBR Theory and BP Neural Network

Smart Home Security System Based on ANFIS

RELIABILITY, RISK AND AVAILABILITY ANLYSIS OF A CONTAINER GANTRY CRANE ABSTRACT

CHAPTER 8 Potential Energy and Conservation of Energy

PERRON FROBENIUS THEOREM

INVESTIGATION OF VEHICULAR USERS FAIRNESS IN CDMA-HDR NETWORKS

Lecture Notes in Electrical Engineering

HALL EFFECT SENSORS AND COMMUTATION

Complete Fairness in Secure Two-Party Computation

The Full-Wave Rectifier

A Novel Methodology of Working Capital Management for Large. Public Constructions by Using Fuzzy S-curve Regression

Recurrence. 1 Definitions and main statements

Answer: A). There is a flatter IS curve in the high MPC economy. Original LM LM after increase in M. IS curve for low MPC economy

Overview of monitoring and evaluation

Can Auto Liability Insurance Purchases Signal Risk Attitude?

n + d + q = 24 and.05n +.1d +.25q = 2 { n + d + q = 24 (3) n + 2d + 5q = 40 (2)

A Performance Analysis of View Maintenance Techniques for Data Warehouses

Module 2. AC to DC Converters. Version 2 EE IIT, Kharagpur 1

IT09 - Identity Management Policy

An MILP model for planning of batch plants operating in a campaign-mode

COMPUTER SUPPORT OF SEMANTIC TEXT ANALYSIS OF A TECHNICAL SPECIFICATION ON DESIGNING SOFTWARE. Alla Zaboleeva-Zotova, Yulia Orlova

where the coordinates are related to those in the old frame as follows.

Towards Specialization of the Contract-Aware Software Development Process

Conversion between the vector and raster data structures using Fuzzy Geographical Entities

An Enhanced Super-Resolution System with Improved Image Registration, Automatic Image Selection, and Image Enhancement

Mean Molecular Weight

Power-of-Two Policies for Single- Warehouse Multi-Retailer Inventory Systems with Order Frequency Discounts

Fuzzy Set Approach To Asymmetrical Load Balancing In Distribution Networks

Level Annuities with Payments Less Frequent than Each Interest Period

Logical Development Of Vogel s Approximation Method (LD-VAM): An Approach To Find Basic Feasible Solution Of Transportation Problem

Mooring Pattern Optimization using Genetic Algorithms

Imperial College London

R-HASH: HASH FUNCTION USING RANDOM QUADRATIC POLYNOMIALS OVER GF(2)

EXAMPLE PROBLEMS SOLVED USING THE SHARP EL-733A CALCULATOR

Loop Parallelization

Mining Multiple Large Data Sources

Analysis and Modeling of Buck Converter in Discontinuous-Output-Inductor-Current Mode Operation *

A Master Time Value of Money Formula. Floyd Vest

Application of Multi-Agents for Fault Detection and Reconfiguration of Power Distribution Systems

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).

Lecture 2 The First Law of Thermodynamics (Ch.1)

Transcription:

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 Implementaton o Boolean Functons through Multplexers wth the Help o Shannon Expanson Theorem Saurabh Rawat Graphc Era Unversty. Dehradun nushree Sah The Unversty o Greenwch, London, UK, Sumt Pundr Graphc Era Unversty. Dehradun BSTRCT Implementaton o Boolean uncton through multplexer can be done by varous multplexers dependng upon the select lnes. Implementaton o Boolean unctons can be done by varous methods, but n ths partcular paper stress s more on multplexers. Through Shannon expanson theorem,t s easy or us to mplement the Boolean unctons n a smpler way. Upto three varables, can be handled by multplexers, and above that we have taken ad o look out table, and how t uses multplexers n ther operatons. Keywords Multplexers, 2 x, 4 x, 8 x, multplexers, Shannon Theorem... Multplexer multplexer crcut has a number o data nputs, one or more select nputs and one output. It passes the sgnal value on one o the data nputs to the output. Data nput s selected by the values o the select nputs.select nput S, chooses as the output o the multplexer ether nput x or x. Multplexer s unctonalty can be descrbed n the orm o a truth table. S s to Multplexer ( = ) and 4 to multplexer have our data nputs x,x,x 2, & x 3 and two select nputs S and S. The two bt number represented by SS select one o the data nput as output o the multplexer. x 2 S S x x x 3.4 Graphc symbol S S 2 x. Graphc symbol.2 truth table x x 2 x 3 S.5 Truth table.3 Sum o products crcut 8

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 S S x x x 2 x 3.6 Sum o product crcut 4 to multplexer S Sx SSx SSx2 SSx3 multplexer that has n data nputs, requres log 2 n select nputs. Larger multplexer can be constructed rom small multplexers. 2. I- Usng 8x multplexer or mplementaton (,, 3 ) = (3,5,6,7) S S x x 8 x x x.7 Usng 2 to multplexer to buld a 4 to multplexer 2. Boolean uncton mplementaton o multplexer n=2 m n number o nput varables m- number o select nputs 2.. 8x multplexer mplementaton 2.2 II- Usng 4x Multplexer or mplementaton Connectng two varables wth selecton lnes o multplexer and remanng sngle varable o the uncton s used or the nputs o the multplexer. I s a sngle varable the nputs o multplexer are chosen to be ether or or to (a) (,, 3 ) = (3,5,6,7) MSB.e. s used as sngle varable, and, 3 as select nputs. 9

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 Mnterms 2 (b) (,, 3 ) = (3,5,6,7) I LSB.e. 3 s used as sngle varable and, as select nputs Mnterm 3 4 = 5 2 6 3 = 7 4 5 = 2.2. Truth table 6 7 = 2 3 4 5 6 7 2.2.4 Truth table I 2.2.2 Multplexer Implementaton 4 x 4 x (3,5,6,7 ) 2.2.5 4x Multplexer Implementaton 2.2.3 4x Multplexer mplementaton Besdes usng such nputs, t s possble to connect more complex crcut as nputs to a multplexer allowng uncton to be syntheszed usng a combnaton o multplexers & other logc gates. 2

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 3. Shannon s Expanson theorem Shannon s expanson or the Shannon decomposton s a method by whch a Boolean uncton can be represented by the sum o two sub uncton o the orgnal. Shannon expanson develops the dea that boolean uncton can be reduced by means o the dentty. x x x x where s any uncton and x and x are postve & Three nput majorty uncton mplemented usng a 2 to multplexer For three nput XOR uncton = + + 3 = Ā ( + 3 ) + ( + 3 ) negatve shannon coactors o respectvely. postve shannon coactor o uncton wth respect to varable x s deend as that uncton wth all nstances o x replaced by negatve shannon co actor s the same, but replaces all nstances o x by. ny Boolean uncton (,, 3, ---n) can be wrtten n the orm (, ---n) =Ā. (,, 3 ---n) +. (,, 3 --- n) Ths expanson can be done n terms o any o the n varables. as (,, 3 )= (3,5,6,7) Functon can be expressed as sum o products orm = Ā 3 + Ā 2 3 + Ā 3 + 3 It can be manpulated nto = Ā ( 3 ) + (Ā 2 3 + Ā 3 + 3 ) = Ā ( 3 ) + ( + 3 ) 3.3 Truth table + 3 2x 2x 3. Truth table 3.4 Three nput XOR mplemented wth 2 to Multplexer 3 2 x In Shannon s expanson the term (,, ----n) s called the co-actor o wth respect to Ā, denoted as. Smlarly the term (, -------------n) s called the co-actor o wth respect to, wrtten as, hence 3.2 Truth table Crcut 2

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 In general the expanson s done wth respect to varable, then denotes (,,,,,, n ) and (,, ) n Complexty o the logc expresson may vary, dependng on The most commonly used logc block s a lookout table (LUT), whch contans storage cells that are used to mplement a small logc uncton. Each cell s capable o holdng a sngle logc value ether or. LUTs o varous szes may be created, where the sze s dened by number o nputs. nputs. whch varable, s used. Takng another example, to mplement the uncton = Ā Ā 3 + + 3 a) Usng 2 to multplexer, Shannon s expanson usng gves = Ā (Ā 3 ) + ( + 3 ) / / 2x 2x / 3 I 2 x / 2x I 3.7 Crcut or a two nput LUT 3.5 Usng 2 to multplexer b) Usng 4 to multplexer, urther...usng gves = Ā Ā 2 ĀĀ2 + Ā Ā2 + Ā 2 Ā2 + 2 = Ā Ā 2 (Ā 3 )+Ā (Ā 3 )+ Ā 2 (Ā 3 )+ () ) 4 x ( ) 3.6 Usng 4 to multplexer 22

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 / / 2x 2x / / / / 2x 2x 2x 2x / / 2x 2x 3 3.8 three nput LUT Usng shannon s expanson any our varable uncton can be realzed wth at most three 3- LUTs (look up tables). Consderng the uncton = Ā 2 3 +Ā Ā 3 + Ā 3 4 + Ā 2 4 Expanson n terms o produces = Ā Ā + = Ā (Ā 2 3 + Ā 3 + Ā 3 4 )+ (Ā 2 3 + Ā 3 4 +Ā 2 Ā 4 ) = Ā (Ā 2 3 + Ā 3 )+ (Ā 2 3 + Ā 3 4 +Ā 2 Ā 4 ) crcut wth there 3 LUTs that mplements ths expresson 3 4 3.9 Usng there 3 LUTs 23

Internatonal Journal o Computer pplcatons (975 8887) Volume 62 No.6, January 23 Decomposton o the uncton usng, nstead o, gves = Ā 2 2 + 2 = Ā 2 ( 3 + Ā 4 )+ (Ā Ā 3 +Ā 3 4 ) as Ā2 = 2, hence only two 3 LUTs are needed. 3 2 4 3. Usng two 3 LUTs. 4. CONCLUSION In ths paper we have seen that Boolean unctons can be mplemented usng derent multplexers, 2x, 4x or 8x. Wth the help o Shannon expanson theorem,complcated Boolean unctons can be made easy,n mplementng through multplexers and LUTs (look up table ),agan ormed wth derent combnaton o multplexers. Ths study wll be very helpul or researchers and ntellectuals to easy understandng and practcng o mplementaton o Boolean unctons through multplexers n the eld o computer scence and technology. 5. REFERENCES [] en.wkpeda.org/wk/multplexer [2] en.wkpeda.org/wk/shannon's_expanson [3] rturo Hern andez gurre, Bll P. Buckles, and Carlos Coello Coello. Evolutonary synthess o logc unctons usng multplexers. In C. Dagl,.L. Buczak, and et al., edtors, Proceedngs o the th Conerence Smart Engneerng System Desgn, pages 3 35, New York, 2. SME Press. [4] R. L. shenhurst, The decomposton o swtchng unctons, n Proc.Int. Symp. Theory o Swtchng Functons, pr. 957, pp. 74 6. [5] stola, J.T., Stankov c, R.S., Fundamentals o Swtchng Theory and Logc Desgn, Sprnger, 26. [6] M. MORRIS MNO Dgtal Logc and Computer Desgn 2nd edton [7] D. Nasb S. Gll, J.B. Dxt Dgtal Desgn and Computer Organsaton 24