Jump to content

Logic gates

Featured Replies

Microprocessors have millions of transistors that in essence are the realisation of logic gates.......

In practice what logic gates do you make on a a microprocessor ?

Do you make the 3 basic ones AND,OR and NOT ?

Or do you make everything using NAND ? or using NOR ?

Secondly, can a 2 bit XOR gate be realised using a single transistor ?

NAND and NOT gates are the simplest to make electrically (whether you are using TTL, CMOS, BiCMOS, GaAs, whatever). However, the amount of NAND gets used to make an XOR gate takes up too much space and therefore building a XOR gate from scratch (using CMOS or whatever) is sometimes preferred so not everything is made out of NAND and NOT logic. A microprocessor made entirely of pure NAND gates would require a larger surface area than one with mixed gate logic.

 

The answer to your fourth question is no. Transistors alone can't do the job. You need other kinds of electrical circuits (resistors, capacitors, etc.).

  • Author

Neglecting the regular circuit componenets such as resistors and capacitors, do you require anything over and above 1 transistor ?

I'm not what you mean by "over and above 1 transistor". Transistors are one of the basic building blocks for building ICs, there is nothing "above" this as far as I know.

  • Author
He means, how many transistors in an XOR?

 

Exactly

I have no idea how many transistors are used in an XOR gate. This sort of information is usually available in an IC's technical reference manual. Motorola makes XOR ICCs. I'm sure they have a PDF somewhere with the electrical diagram for it (so you can count the transistors yourself).

 

P.S. I changed my avatar because the last one didn't look good. Why not HiMAT? It's a cool looking aircraft in my opinion.

  • 4 weeks later...

by basic design, there are 8 transistors in a XOR

  • Author
by basic design, there are 8 transistors in a XOR

 

So is it cheaper to use XOR gates or make them using 4 (2-input) NAND gates / 5 (2-input) NOR gates ?

NAND, because with the use of DeMorgans law, you can make ANY other gate using it :)

 

as for the single tran XOR, it IS possible with negative feedback from the emitter to cancel out the base input with a bias, but it`s not often used outside of discrete components.

 

THAT is your answer :)

my question about a logic gate:

 

if you take a simple NOT gate, insert it into a circuit with bulb/battery/switch, if you open the switch [stopping the current from flowing] the NOT gate gets an input of 0A and 0V, so being a not gate, it creates a current or voltage [cant remember which one, to be exact!] so where does it make this current or voltage come from?

 

NOT gate: [binary]

input = 1. output = 0

input = 0. output = 1

 

in the 2nd one, how can a current or voltage be made from nowhere?

  • Author

Its not made from no-where.

 

Not gates require a power supply (Generally 5V), they don't work by magic :))

i thought so, in the IC chips they have an input, its just that in this electronic computer simulation program they dont, which when you design a circuit on it, it gets confusing, ok, thanks :)

the +5 (or VDD and VCC) are taken as read, the only important part is the gate function(s). the power side of it is simple electrics (yes SIMPLE!). the real fun and relevance comes from the gates themselves :)

  • Author

IC 7404 : Inverter

 

It has 6 NOT gates

 

I had a data sheet which instructed me to connect 3 NOT gates in series to construct an inverter. Does this technique have any advantage over having just a single NOT gate (The only difference I can imagine is a delayed signal) ?

it`ll have a propogation delay sure, but it`ll in micro secs (sometimes usefull) it is odd that on a 74 TTL series that 3 should be used though (usualy that`s only done on CMOS 4X series as they don`t like "lose ends AKA unused pins, becuase they stray and induce spurious currents in the substrate). the only reasons I can think of is the delay, a Schmidt type effect or the old school "tie up and use all free gates" thinking :)

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.