Free Essay

Functional Decomposition

In: Computers and Technology

Submitted By kaomeo
Words 596
Pages 3
Section 4.3 Switching Algebra
Functional Decomposition
Alfredo Benso Politecnico di Torino, Italy Alfredo.benso@polito.it

Why?
Goal: • Translate a large and complex circuit into a network of small and simple circuits • Express a switching function of n variables as a composition of switching functions of less than n variables Motivation: • Reduce the complexity of simplification • Reduce the size of a circuit by finding common circuit elements Theoretical background: • Shannon’s Expansion Theorem (SET): – Simple type of decomposition – f(x1, x 2, ..., xn) = x 1f(1, x 2, ..., xn) + x’1 f(0, x 2, ..., xn)

1

Residues
• The function that is obtained from setting one of the variables, say xi, equal to 1 is called xiresidue. If xi is set to 0, the resulting function is called xi’-residue. • The notation for the xi–residue function is fi(1); for the x’i–residue is fi(0).

Boolean Difference
• The “Boolean Difference” (or Boolean Derivative) indicates whether f is sensitive to changes in the value of xi and is defined as:

∂f = fi (0) ⊕ f i (1) ∂xi
Example • f(w,x,y,z) = wx + w′ z′ , find values of x and z to sensitize circuit to changes in w. fw = x , fw′ = z′

∂f = z′ ⊕ x = z′x′ + zx ∂w z=x=1 o r z=x=0 will sensitize circuit to changes in w

2

Simple Disjoint Decomposition
Definition: • A switching function f(x1, ..., xn) is functionally decomposable iff there exists switching functions G and H (simple)

x1 f xn

A

G B

H

where A ∪ B = {x 1, ..., x n} and A and B are mutually disjoint (they do not share inputs)

Example
F(w,x,y,z) = wx’yz + wxyz’ + w’x’y’z’ + w’xy’z = (x’z + xz’)wy + (x’z’ + xz)w’y’ = (x’z + xz’)wy + (x’z + xz’)’w’y’ = G(x,z)wy + G(x,z)’w’y’ (G(x,z) = x’z + xz’) = H(G(x, z), w, y) (H(k, w, y) = kwy + k’w’y’) Here A = {x, z}, B = {w, y}

3

How do I find a simple disjoint decomposition?
Theorem • A function f(X) has a simple disjoint decomposition F(g[Y ], Z) iff each residue fZ equals either 0, 1, g[Y ], or g’[Y]

How do I find a simple disjoint decomposition?
F(w,x,y,z) = wx’yz + wxyz’ + w’x’y’z’ + w’xy’z 1) Step 1: K-maps (if necessary for each residue of F)
A=xz 00 B=wy 00 01 10 11 1 0 0 0 01 0 0 0 1 10 0 0 0 1 11 1 0 0 0

4

How do I find a simple disjoint decomposition?
2) Look at the rows/columns
A=xz 00 B=wy 00 01 10 11 1 0 0 0 01 0 0 0 1 10 0 0 0 1 11 1 0 0 0

fw’y’ = G’ fw’y= 0 fwy’= 0 fwy = G fw’y’ = G fw’y= H fwy’= H fwy = G

OK!

NO!

How do I find a simple disjoint decomposition?
3) Write the decomposition
A=xz 00 B=wy 00 01 10 11 1 0 0 0 01 0 0 0 1 10 0 0 0 1 11 1 0 0 0

fw’y’ = G’ fw’y= 0 fwy’= 0 fwy = G G = x’z+xz’

F = w’y’ G’ + wy G

5

How do I find a simple disjoint decomposition?
3) Write the decomposition
A=xz 00 B=wy 00 01 10 11 1 0 0 0 01 0 0 0 1 10 0 0 0 1 11 1 0 0 0

No decomposition is possible fw’y’ = G fw’y= H fwy’= H fwy = G

6

Similar Documents

Free Essay

Physical Science

...I enjoyed everything about the criminal investigation but the three things that I enjoyed the most was looking at the stages of human decomposition it was an exciting thing to see how in different climates and areas affect the way the body decomposes over time. Also, the different ways it dries out of if worms start to form how big are the worms or how old all this can lead u to figuring out how much time a body is sitting on that place. Another way of finding how old the body is by looking at the skin texture if it was submerged under water for a while the skin is almost white soft and swelled. If the body was in the sun for a while the skin is more dry kind of mummy like. The second thing I enjoyed was the mock homicide crime scene because I learned a lot from it. I learned how to mark evidence what sorts of evidence appear in a crime scene. I got to see kind how a crime scene looks with fake dummy and evidence marks all over the room. There was blood spatter on the room floor and on the victims. This helps to see how the blood was laying and determine the way they killed the victim. Also there was a lot of fingerprint evidence and DNA we could use to see how many people were involved n who they were. Lastly the third part of this investigation was the Autopsy videos we watched in class. It was amazing to see how the dead bodies carefully opened up and analyzed to see what the cause of death was. The most interesting part of it was how they get to the brain the carefully cut...

Words: 369 - Pages: 2

Free Essay

Hans on the Road

...An unnamed father and his young son journey across a grim post-apocalyptic landscape, some years after an unspecified apocalypse has destroyed civilization and most life on Earth. The land is filled with ash and devoid of living animals and vegetation. Many of the remaining human survivors have resorted to cannibalism, scavenging the detritus of city and country alike for flesh. The boy's mother, pregnant with him at the time of the disaster, gave up hope and committed suicide some time before the story began, despite the father's pleas. Much of the book is written in the third person, with references to "the father" and "the son" or to "the man" and "the boy." Realizing they cannot survive the oncoming winter where they are, the father takes the boy south, along empty roads towards the sea, carrying their meager possessions in their knapsacks and in a supermarket cart. The man coughs blood from time to time and eventually realizes he is dying, yet still struggles to protect his son from the constant threats of attack, exposure, and starvation. They have a revolver, but only two rounds. The boy has been told to use the gun on himself, if necessary, to avoid falling into the hands of cannibals. During their trek, the father uses one bullet to kill a man who stumbles upon them and poses a grave threat. Fleeing from the man's companions, they have to abandon most of their possessions. As they are near death from starvation, the man finds an unlooted hidden underground bunker...

Words: 454 - Pages: 2

Free Essay

I Like Monkeys

...all died. No apparent reason. They all just sorta' dropped dead. Kinda' like when you buy a goldfish and it dies five hours later. Damn cheap monkeys. I didn't know what to do. There were 200 dead monkeys lying all over my room, on the bed, in the dresser, hanging from my bookcase. It looked like I had 200 throw rugs. I tried to flush one down the toilet. It didn't work. It got stuck. Then I had one dead, wet monkey and 199 dead, dry monkeys. I tried pretending that they were just stuffed animals. That worked for a while, that is until they began to decompose. It started to smell real bad. I had to pee but there was a dead monkey in the toilet and I didn't want to call the plumber. I was embarrassed. I tried to slow down the decomposition by freezing them. Unfortunately there was only enough room for two monkeys at a time so I had to change them every 30 seconds. I also had to eat all the food in the freezer so it didn't all go bad. I tried burning them. Little did I know my bed was flammable. I had to extinguish the fire. Then I had one dead, wet monkey in my toilet, two dead,...

Words: 494 - Pages: 2

Free Essay

Document 2

...How to Prevent Perishable Shrinkage Visit any large supermarket in the morning, the aroma in the air is always that of fresh baked bread. Customers will frequent a particular supermarket over others because of its perishable department. Therefore it is vital that the ‘fresh & friendly’ philosophy becomes the operational standard of any retail organisation that wants to remain profitable. A produce department accurately merchandised is a sight to behold; it is a symbol of beauty and magnificence. It conveys a message of freshness to customer that creates customer loyalty and develops a satisfying perception about your store. It is the perishable department that distinguishes one supermarket from another. Product availability, freshness and quality all contributes to the competitive edge one supermarket has over another. Four essential facts about perishable department: • Fuels sales & profit • Stores lose 20% of available perishable profit to shrinkage • Reducing perishable shrinkage by 20% will increase total store profit by 33% • The perishable department contributes the highest income; ironically it is also responsible for the highest level of shrinkage. Causes of Perishable Shrinkage There are numerous causes of perishable shrinkage, but the main causes are Product receiving and handling practices Spoilage due to over stacking products Mistakes that allow stock to overstay in the backroom Theft by customers and employees The ultimate challenge is to determine...

Words: 917 - Pages: 4

Premium Essay

Biodiversity

...KOH YEN SIN/ A8/ A0094399J My hightlights of the Kent Ridge practical My perceptions of forests used to be being green, creepy and dark. Their only function I know is to act as “lungs of Earth”, to photosynthesize and make food. Before my Kent Ridge practical, I wondered why I have to step into the forest and get bitten by insects and mosquitoes, just to see plants and animals, some of which were boring and insignificant to look at. This practical has proven to me that forests are more than what they appear to be and certainly broadened up my understanding of plants as more than just a tool for photosynthesis. Before the trip to the forest, each person in my group was asked to randomly choose a plant presented on the table and explained about the main characteristics of the chosen plant to the rest of the group members. I picked the plant that was nearest to me. At first glance, the plant looked dull. Referring to the notes, I have matched the features of the plant to Sendudok (Melastoma malabathricum), which is a native shrub of about three metres tall. Its leaves are not the conventional simple, broad leaves with one primary vein. Instead, the leaves are rough and narrowly elliptic, with three prominent primary veins. The flowers are made up of five purple petals and two types of stamens, yellow and purple, are present. The purple stamens form an outer ring, while the yellow stamens form an inner ring. The fruits are oval and when split; reveal a black pulp with numerous...

Words: 1296 - Pages: 6

Free Essay

Buckthorn Invasive

...1a. Buckthorn will have a faster decomposition rate rather than dogwood due to earthworms have a correlation that help speed up decomposition and will add nutrients to the soil. By having the worms it helps speed up the overall process of everything. 1b. How long the leaves are on the ground, how far are the leaves decomposed, how long the leaves stay on the tree, when they blossom, the structure of the leaves, colors, pigment, location of the leaves, amount of nutrients in the leaves, nitrogen, carbon, and sunlight absorbed. 1c. None of the leaves may vary they could all be able to gain the same amount of nutrients. Leaves would all decompose at same time. In a natural forest, the leaves vary in the amount of nutrients gained, this could effect the time leaves fall off the tree and could effect how fast a leaf decomposes. Also in a natural forest there are decomposers out in there and help speed up decomposition rates, rather than being all at the same rate in a plantation. 1d. The leaves may not decompose at all and rather become preserved or they may decompose fast. Most likely the leaves will get beaten up and stuck on branches and have a slow decomposition rate. 1e. Well you would expect them to vary, due to temperature change over seasons, the nutrient levels in the soil, amount of rainfall, sunlight, moisture level, species that are present, decomposers that are present to speed up decomposition rates. I would expect places that are warmer and with more moisture such a...

Words: 598 - Pages: 3

Free Essay

Bog Bodies

...Bog bodies, quite literally, have the world on their shoulders for hundreds to thousands of years. Bog bodies are found buried in peat and many internal organs, skin and facial features are still intact due to the incredible conditions of the bog, which include: highly acidic water, low temperature and little oxygen. There are many theories concerning reasons for these bodies in the bog, and much evidence to support them. Some of the ancient remains have been religiously/politically sacrificed, through which has been discovered by various archaeological investigations and also, the amazing environment and amount of preservation of the bogs themselves. When Cashel man was first discovered it was difficult for the archaeologists to be tell that he was human. The leading researcher Carol Smith said that it was difficult at first to be able to distinguish the body from the peat it was buried in, but when the body was sprayed with ionised water, the body began to take on human qualities. Cashel man was found in a bog near Cashel in Ireland (hence his name) but was damaged due to a milling machine, however the body was extremely well preserved. Radiocarbon suggests that he is the oldest bog body with intact skin in the world. Post-mortem, Cashel man had a broken arm, caused by a sharp object and had his back broken into two places. He also had a deep cut on his back, perhaps by the same sharp object that was used to break his arm. Cashel man encountered a horrific death, highlighted...

Words: 844 - Pages: 4

Premium Essay

I Have a Rendezvous with Death

..."I Have a Rendezvous with Death" Alan Seeger was an American poet. He lived during what is known to us as the most crucial time in man's history. The poem "I Have a Rendezvous with Death," was actually written during world war one. Without a doubt, this poem made me give death many divers thoughts. What I conclude after reading this poem is that Alan Seeger wanted people to know that dying for your country was the noblest attempt in which death takes place. All this to say that being a patriot is far more than just a privilege. The first stanza is the most striking of the three it makes a great relation between, spring, blossoms, and birth. Of course, we must not forget that at some point or another it is inevitable to escape death. All this makes a link with war, all the tons of people that died in war have them too meet death. Just as spring come around every year, it also brings about new faces and new challenges to life. These new people are probably the ones that were much to young to take part in it previously. Stanza two, takes you through the stages of death. With the angel of death, nearly holding you hand all along the way and reassuring you that everything will be fine. That you are of course doing this for your land and people. This too made me have a visual image of dead people scattered around on the fields, up on the hills. So helpless, dead and left all alone for the winter's cold. Yet, come spring their bodies no long their, probably decomposed and the first...

Words: 345 - Pages: 2

Free Essay

Stages of Death

...Anne Marie Brnardic April 12, 2013 Estimating the time of death is critical to any crime scene cases. The different stages of death can be very important especially when you find a body that has been dead for days. Knowing the stages of death gives a good determination of when a crime was committed. When finding a body or crime, there are normally two different known points for when determining a crime, that is to find the time the body was found and to figure out the last time that person were actually known to still be living. (M. Lee Goff. 2010) As soon as death occurs, there are different changes that the body goes through to change it. When this happens, it can effect a the physical makeup and image of the body before the decomposition changes occur. (M. Lee Goff. 2010) There are many stages of death that someone can go through that can happen relatively fast. The three early postmortem changes of death are called Algor Mortis, Rigor Mortis, and Livor Mortis. Each of these stages affect the body differently that cause certain actions to occur on the body after post mortem starts to happen. Algor Mortis is the state when death has happened and the body stops the regulation of its normal temperature. This means the normal temperature of the body begins to cool until the entire body is cooled to a non-existent temperature. This can take place right away and last up to 18 hours. (M. Lee Goff. 2010) Rigor Mortis is the state of death when a chemical change happens...

Words: 1468 - Pages: 6

Free Essay

Czcvzcxvx

...SEATWORK NO. 2 SS13: ENVIRONMENT AND SOCIETY Name: Madamba, Kamil Gemar S. Date: 09/13/12 SCORE COURSE/YEAR & SECTION: - BY01 PROFESSOR: DR. REYNALDO A. PADILLA Plastic or paper bag The never ending debate There’s a never ending debate on whether or not everyone ought to really stop utilizing plastic bags and instead, only make use of the numerous paper bags types that are produced these days by all the paper bags manufacturers. These reusable paper bags, as we all understand, are friendly to the environment. Unlike plastic bags that takes so many of years for plastic bags to obtain decomposed, it will only take a couple of days for these environment-friendly paper bags to obtain decayed. And simply because it takes so many years for plastic bags to decompose itself, it will trigger a lot of environmental issues like clogging the drainage system methods and polluting bodies of water like lakes and oceans. Plastic bags may also harm all of the living things that reside on the various bodies of water. Which makes these environment-friendly paper bags a much better choice because, because it decomposes effortlessly, it does not trigger as a lot issues towards the environment as much as plastic bags do. When looking at paper vs. plastic and the impact on the environment, it is important to take all aspects into account. This does not simply mean looking at how the bags are disposed of or how long they take to decompose. Instead, the entire lifecycle of the...

Words: 322 - Pages: 2

Free Essay

Leaf Decomposition

...ENVS 1500 – Assignment #1 Leaf Decomposition Working Hypothesis: Different tree species leaves will not decompose at different rates. AND Different tree species will not harbour different soil animals. Decomposition Rates: ln (Mo÷Mt) = k × t Maple: t = 42/365 = 0.11506849 Mo = 0.780769231 Mt = 0.569230769 Isolate for k. ln (0.780769231 ÷ 0.569230769) = k × 0.11506849 ln (1.37162162258309) = k × 0.11506849 0.315993705978644 ÷ 0.11506849 = k k = 2.746135853339551 European Buckthorne: t = 42/365 = 0.11506849 Mo = 0.418181818 Mt = 0.154545455 Isolate for k. ln (0.418181818 ÷ 0.154545455) = k × 0.11506849 ln (2.705882343806228) = k × 0.11506849 0.99542804905692 ÷ 0.11506849 = k k = 8.650743996526937 Figure 1.1: Organisms Observed (Maple Leaves): Species Name | Taxonomic Category | Role in Food Webs | Fire Ant | Hymenoptera | Omnivore | Common Centipede | Scutigeromorpha Pocock | Carnivore | Earth Worm | Megadrilacea | Decomposer | Earwig | Dermaptera | Carnivore / Herbivore (less common species) | Sow bug (Woodlouse) | Isopoda | Decomposer | Termite | Isoptera | Herbivore / Decomposer | Daddy Long Leg | Pholcidae (Araneae) | Carnivore | Common Ant | Formicidae | Herbivore | Millipede | Diplopoda | Herbivore / Decomposer | Aphids | Hemiptera | Herbivore | Garden Spider | Araneae | Carnivore | (ITIS, 2013) (Evans, 2007) (CISEO, 1997) (Meyer, 2007) Figure 1.2: Organisms...

Words: 1632 - Pages: 7

Free Essay

Energy

...It was all in ruins. The ancient ruins that have left the world of human civilization was once called Honolulu. It is June 27th, 2021, and the weather is sunny and hot. It is noon and everything around is in ruins. Car wrecks and old military outposts scatter throughout the entire city, revealing a horrible and desolate war zone rather than a beautiful and prosperous city that it once was. Then there are footsteps approaching close by. A young woman is walking through the ruins, scavenging for materials and any other useful thing that she can find. As she looks around there is no one else in sight for miles. It is just her and against the world. Even though there are no humans left, there are other... inhabitants that roam the ruins of Honolulu. From the experience that she has with them... they don't like humans. Around three in the afternoon while she was scavenging for supplies, she caused a loud noise that caused the wreckage to scatter all over the ground. It may seem like a simple blunder, but what she did right there was essentially signing her own death warrant. The so called "residents" were attracted by the noise and soon began to "meet" her. Their skin was grey, eyes were yellow as lemons, and their flesh was rotting away. Others would call them abominations, which they were, but they bear the name most people know them as zombies. Worst part is, there are literally thousands of them scattered all over the island, always searching for new food and people to...

Words: 2725 - Pages: 11

Premium Essay

The Roles of Hr

...have a human resource deparment. All HR deparments have roles that play for the organization regardless of the type and size. The purpose of the human deparment is to assist the human portion of the company. Its imporant that each organization has a HR deparment that is effiecient and has great quality this benefit the organization is varies ways. The functional roles of the HR deparment are very important towards the human because human are known to be very important to an organization. (Stringer) A very imporant function of the HR deparment is recruiment. The role of the recruiment function is to make sure that they recruit the right people for the job. (Stringer) They also then have made sure the each person they hired is in the correct job postions based upon their skills and abilities. This is a very important job and has a huge impact on the impact because as long as the employee do their jobs correct the organization will be a success. They also help with the interview process testing the employee abilities that they have for the job. Training the employees for the skills that are required for a job is also a functional role of the HR deparment. They have a trainging specialist that teaches the employees the learning objective and methods they need to do their job correctly. (Stringer) Most time the training is for leadership jobs such as supervisors and managers. They have to provide them with correct resources they need to evaluate an employee. They also teach them...

Words: 543 - Pages: 3

Free Essay

Tutor Class

...TUTOR CLASS Content: Covered all chapter 3, 4, 5. No: * Linear Approximation * Linear programming * Leontief model Chapter 3: INTRODUCTION TO LINEAR EQUATIONS ANDMATRICES (Gaussian elimination) 1. Solve the following system x1-4x2+x3=5-2x1-5x2+3x3=33x1+2x2-x3=1 Using: A, Gauss elimination method B, Cramer’s rule. (chapter 4) Chapter 4: EIGENVECTORS AND EIGENVALUES (Determinants, Cramer’s rule, Matrix Inverse, Eigenvectors, Eigenvalues) 2. Let A b the matrix defined by A=3 4 -1 04 -1 0 3-1 1 2 3 A, Applying the row operation 4 R4+R2→R2 to A, what is the resulting matrix B we get? B, Use row operations to transform A to the form C where C=0 a b c0 d e f0 g h i-1 1 2 3 And where the letters a, b, c, d, e, f, g, h, g and I are the numbers that you have to find out (depending on your row operations). Find a relation between the determinant of A and determinant of C. C, Evaluate the determinant of A, detA, by using the properties of determinants and cofactor expansions along rows and columns of your choice. 3. ( Matrix Inverse) Recall that if a matrix A is invertible, then the unique solution of the linear system of equations AX= b is given by X= A-1b Given the linear system of equations x+2y-9z =1-2x-4y+19z=0-y+2z =1 A, Find the inverse of the matrix A of coefficient of the linear system above, where A= 1 2 -9-2 -4 190...

Words: 348 - Pages: 2

Free Essay

P Arithmetics

...Computer Project: QR Method for Calculating Eigenvalues Name _____________________________ Purpose: To see how eigenvalues can be calculated by iterative methods that employ QR factorization, and get some understanding of why such methods work. This type of algorithm is used in all professional software for general eigenvalue calculations today, such as MATLAB's eig function. Prerequisite: Sections 5.2 and 6.4 MATLAB functions used: qr, *, eye, :, tic, toc , for, eig qreigdat, qrbasic, qrshift and randint from Lay's Toolbox Part I. Background. It is not easy to calculate eigenvalues for most matrices. Characteristic polynomials are difficult to compute. Even if you know the characteristic polynomial, algorithms such as Newton's method for finding zeros cannot be depended upon to produce all the zeros with reasonable speed and accuracy. Fortunately, numerical analysts have found an entirely different way to calculate eigenvalues of a matrix A, using the fact that any matrix similar to A has the same eigenvalues. The idea is to create a sequence of matrices similar to A which converges to an upper triangular matrix; if this can be done then the diagonal entries of the limit matrix are the eigenvalues of A. The remarkable discoveries are that the method can be done with great accuracy, and it will converge for almost all matrices. In practice the limit matrix is just block upper triangular, not truly triangular (because only real arithmetic is done), but it is still easy to...

Words: 2445 - Pages: 10