Basic circuit theory help

This topic is locked from further discussion.

Avatar image for achilles614
#1 Posted by achilles614 (5289 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?
Avatar image for sleepingzzz
#2 Posted by sleepingzzz (2263 posts) -

LMAO.

This is a gaming forum not electrical engineering.

Avatar image for jakes456
#3 Posted by jakes456 (1398 posts) -

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

Avatar image for MW2ismygame
#4 Posted by MW2ismygame (2188 posts) -

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

jakes456
Do you get paid to be a smart ass in every thread ?
Avatar image for achilles614
#5 Posted by achilles614 (5289 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.
Avatar image for MW2ismygame
#6 Posted by MW2ismygame (2188 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.

Avatar image for wis3boi
#7 Posted by wis3boi (32507 posts) -

ABC makes 123

Avatar image for blaznwiipspman1
#8 Posted by blaznwiipspman1 (6636 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

Avatar image for Guppy507
#9 Posted by Guppy507 (17401 posts) -
oh god flashbacks to the ECE class I had to take for CS.
Avatar image for way2funny
#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

Avatar image for GummiRaccoon
#11 Posted by GummiRaccoon (13793 posts) -

Just remember resistance is futile

Avatar image for spittis
#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.