Basic circuit theory help

This topic is locked from further discussion.

#1 Posted by achilles614 (4872 posts) -
I was given an equation to draw a circuit "X Y Z (X + Y + Z) + ~X ~Y ~Z (X + Y + Z) + (~X + ~Y + ~Z) ~Z + X Z (Y + ~Z)=F" My initial design used 22 gates but I was told you could get creative and reduce the amount of gates. After enough tinkering I got it down to 2 NAND gates. The resulting equation from the 2 gate design is "~(Z ~(X Y))=F" The output from each circuit (results in truth table) is the same for both designs even though the equation and amount of gates is different. My question is, will both these designs essentially function the same? Or did I reduce it too much and change the core of its function?
#2 Posted by sleepingzzz (2263 posts) -

LMAO.

This is a gaming forum not electrical engineering.

#3 Posted by jakes456 (1398 posts) -

looking for someone to do your homework. talk about pathetic.

#4 Posted by MW2ismygame (2183 posts) -

looking for someone to do your homework. talk about pathetic.

jakes456
Do you get paid to be a smart ass in every thread ?
#5 Posted by achilles614 (4872 posts) -

looking for someone to do your homework. talk about pathetic.

jakes456
Aw it's my favorite troll. If you would read you would see that I already made the design :( I'm asking about some basic theory.
#6 Posted by MW2ismygame (2183 posts) -

I was given an equation to draw a circuit "X Y Z (X + Y + Z) + ~X ~Y ~Z (X + Y + Z) + (~X + ~Y + ~Z) ~Z + X Z (Y + ~Z)=F" My initial design used 22 gates but I was told you could get creative and reduce the amount of gates. After enough tinkering I got it down to 2 NAND gates. The resulting equation from the 2 gate design is "~(Z ~(X Y))=F" The output from each circuit (results in truth table) is the same for both designs even though the equation and amount of gates is different. My question is, will both these designs essentially function the same? Or did I reduce it too much and change the core of its function? achilles614
I would help if i could, but -

3ogceg.jpg

eventually someone here will know im (along with many others) am not that person.

#7 Posted by wis3boi (31906 posts) -

ABC makes 123

#8 Posted by blaznwiipspman1 (6090 posts) -

[QUOTE="achilles614"]I was given an equation to draw a circuit "X Y Z (X + Y + Z) + ~X ~Y ~Z (X + Y + Z) + (~X + ~Y + ~Z) ~Z + X Z (Y + ~Z)=F" My initial design used 22 gates but I was told you could get creative and reduce the amount of gates. After enough tinkering I got it down to 2 NAND gates. The resulting equation from the 2 gate design is "~(Z ~(X Y))=F" The output from each circuit (results in truth table) is the same for both designs even though the equation and amount of gates is different. My question is, will both these designs essentially function the same? Or did I reduce it too much and change the core of its function? MW2ismygame

I would help if i could, but -

3ogceg.jpg

eventually someone here will know im (along with many others) am not that person.

+1

ahh gotta love forest gump

#9 Posted by Guppy507 (17398 posts) -
oh god flashbacks to the ECE class I had to take for CS.
#10 Posted by way2funny (4570 posts) -

Make a KMap for both and try it out. Or you can make a truth table for both of those equations and you can easily see if they are equivalent

Edit: I finished reading your post. Yes, you can make designs as complicated or simple as possible and they can be completely equivalent. It all depends on the input / output, everything inbetween doesnt matter. Meaning, if the truth tables match up, then they are equivalent. Look up KMaps, Kmaps allow you to take complex equations like the first one, and simplify them (reduce the number of logic gates) yet still have the same inputs / outputs

#11 Posted by GummiRaccoon (13647 posts) -

Just remember resistance is futile

#12 Posted by spittis (1875 posts) -

I'll help you a bit.

Yes if the truthtables are the same then it doesn't matter how the equation looks like. And you have a lot of unnecessary statements in the original function so it's obviously a school assignment :) ~X+X = 1, ~X*X = 0 which you obviously know already.

If you want to actually simulate circuits you make Siemes Logosoft is a nice application, the demo is free for the PC use itself, you just can't upload or download to/from a PLC module. I've made programs with it and installed on some places for controlling the lighting as an example.

*edits* for some reason the linking to the Logosoft application doesn't work but google it.