#Is this the correct truth table for product of sums?
146 messages · Page 1 of 1 (latest)
That's an xor gate, it outputs 1 when exactly one of the inputs is a 1.
Can I think about the x and y as being the first sum times the second sum?
I am trying thinking about it multiple ways instead of memorizing XOR gates.
Hi
You filled in the truth table incorrectly
I had a feeling.
Think of XOR as odd parity
It’s 1 when there are odd number of inputs that are 1
In this case 1
Should I break my truth table down even more?
Oh, just like the sum of products truth table...?
But I can imagine the sum of products equations way easier.
When you apply x=0 and y = 0
S = 0
x=0,y=1, S=1
x=1, y=0, S=1
both 1, s=0
So I grab the S values that are 0 and 0 instead of 1 and 1 for the equation.
there’s SOP and POS
if SOP is easier
That’s fine
Just double bar SOP to get POS
You’re double barring this
Im trying to understand it multiple ways. I think to get the X and Ys where S=0 to get the (x+y)(x'+y') but it doesnt match when I try to get the carry equation. Why does it follow the same formula as SOP?
I feel like I am just memorizing a formula when I look at this.
It’s better to have 1 method you’re good at and know how to convert to the other forms
So what you want to know is POS
that means when it’s 0 it’s not barred
so you have two combinations for S=0
X=0,Y=0
X=1,Y=1
That correlates to the POS expression of
(X+ Y)(X’ + Y’)
This doesn't affect the Carry function, right?
You need a foundation to build on
Memorizing a few formulas is okay
What carry function
C=xy
Ok thanks
Once I can start picturing the concepts, it helps me a lot. I am not there yet.
I could just bluntly say (x+y)(x'+y') is the definition of x XOR y.
The idea of the XOR operation is that it's high when exactly one of the inputs is high. so, draw the table:
x | y | x XOR y
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
Try messing with the algebra
I am able to distribute x(y+z)=xy+xz pretty easily; just not the other way around with binary.
Whats the question
I see a half adder
Also
S shouldnnot be 0s
All the way
S is an odd function
Its x XOR y
Maybe I will start a new question? It just that creating the half adder uses a concept from before that I still dont get.
Whats the question i can help
How do I go from F'=AB+CD+BD' to F=(A'+B')(C'+D')(B'+D)?
Invert
I worked with a proof but they went backwards.
Just do this
Wait
I know it is Distributive but is there a law for that.
I wont remember to just invert it.
The law is u invert its really simple
I guess practice more DeMorgans Law questions..
What it doesnt need practice just make the opposite of what it is
Ill show u how to prove it step by step i guess
@heady lily
Is it more clear now?
So the word for priming both sides is involution...
What
Or I guess look at the DeMorgan proof.
There are a couple steps skipped in your proof.
demorgans
Dang it, my book skips the DeMorgan proof
Well
Its insanely important
Nands will be ur go to later on
But like its super easy
Dont stress it
Just flip everything to the opposite of what it is
U can do it in 1 step
Like they have these proofs but skip DeMorgan 😦
These proofs dont memorise just understand
Unless ur Dr. Specifically said
Memorise
I am trying to find DeMorgans proof.
Why
let's prove demorgans:
Assume(1) (xy)'
assume(2) (x' + y')'
thus, (x -> y')'
thus, x(y'')
thus, xy, but that contradicts (1), so assumption 2 is wrong.
thus, x' + y'
that shows (xy)' implies x' + y'
- X+1 =1
- X+0 = x
- (X)(1) = x
- (X).(0) = 0
- X=1 so x' = 0
Theres a few more but these are the main ones
And for proofs i lowkey just read them and thats about it their pretty useless icl
if you really want a quick proof, just do it by truth table. the variables only take on a finite set of values: {true, false}
Unless Dr. Said otherwise
I don't think proofs are useless. If you can't prove a lot of what you use, you have to take a lot of what you use on faith, and that's not good practice.
If ur a mathematician or u want to create new theories
Yes
Proofs ar important
If u wanna pass the course and movenon with ur life
Fully understanding proofs are a waste of time icl
Unless Dr. Said otherwise
so you move on to a point where you have to take a lot of what you use on faith?
Understanding logically ≠ doing proofs
producing a faith from scratch yourself, and merely checking someone else's proof are 2 different things.
if someone did the proof for you, it should be very quick to follow it and see that it is true. Doing if from scratch will take a long time and that's not the goal as an engineer.
mathematicians may want to practice proving things from scratch. engineers don't have to do that, but they should be able to follow the proofs they apply later.
Bro as i stated before if u wanna become a mathmatecian or you wanna create new theorems then proofs are super important
BUT if u just want to pass the course then understanding the proof is enough
yes, understanding the proof is enough.
unless stated otherwise by ur dr.
Yep
and by understanding I mean checking it as if you were a teacher checking homework.
if an alleged proof has a mistake you should be able to see the mistake.
The thing is im not taking a course... i want to really understand this to make electronics easier
There is no mistake in what hes studying so no point
Electronics?
Bro
Electronics is pure trigonometry
Im reading a digital logic book
Its full of phasers op amps
Amps
In general
U dont take logic design
This is for logic design and microprocessing
Building logical circuits
Using logic gates to build a computer
Digital Logic and Computer Design. I want to understand how cpus and gpus work
Ah
Yep
Do this
Study binary really well
And do assembly
Thats for cpus
For building study this
The order of how u should study is this
@heady lily
-
proofs
-
practice on binary and conversion of bases
-
binary and other base addition subtraction multiplication division...for both integers and non integers
4)study AND, OR, NOT gates and try to solve or create basic circuits....try to create their equations and do their truth tables
-
get really good with truth table so that u can do an equation using a truthtable of 4 inputs
-
Study XOR, NXOR, NAND, NOR
-
study K-MAPS
-
practice really well so u can do 4 input K-maps
-
START CREATING circuits like halfadders, full adders, BCD adder, EXCESS 3 adder, BCD convertor etc etc
-
study sequential circuits
Notice how half adders are step 8
Thats because u need to master the basics before u can start creating circuits
This wont take you more than 1 month btw depends how much time u give it
@heady lily These are my exams
They should be good practice
To enhance ur basics
Cool. Thanks!