Quantcast
Channel: Complex logic gate? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Mad Physicist for Complex logic gate?

If you are trying to create a multiplexer gate from the logic gates you have defined, here is a great article on the subject: http://improve.dk/creating-multiplexers-using-logic-gates/.Basically, you...

View Article



Image may be NSFW.
Clik here to view.

Answer by user6022512 for Complex logic gate?

Do you want this : Here you have your C instant of SEL. The out is your MULTIPLEXER returnso in pythondef MULTIPLEXER(A,B,C): if(C): return B else: return A

View Article

Answer by Jonathon Reinhart for Complex logic gate?

Is this what you're looking for?def MUX(A, B, C): return B if C else A

View Article

Complex logic gate?

So I've made a Python module that adds all seven logic gates (NOT, OR, AND, NAND, NOR, XOR, XNOR.)Please note that it does not look likea AND bit instead looks likeAnd(a, b)In a program I'm trying to...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images