CMOS circuits consume more power as the switching frequency increases and this can approach TTL levels at high clock frequencies.
no letter | normal TTL | standard circuit | 30MHz | 150mW |
---|---|---|---|---|
S | Schottky | fast and power hungry | 100MHz | 250mW |
LS | low-power Schottky | less power than normal TTL | 30MHz | 45mW |
L | low-power | and very slow | 6MHz | 20mW |
H | high-power | and fairly fast | 30MHz | 200mW |
ALS | advanced low-power Schottky | faster than LS | 60MHz | 20mW |
C | CMOS | not TTL! See next section. | 6MHz | 100µW |
HC | CMOS | not TTL! See next section | 50MHz | 200µW |
C | CMOS | Low power, slow. | 6MHz | 100µW |
---|---|---|---|---|
HC | CMOS | Performance similar to or exceeding TTL. | 50MHz | 200µW |
CMOS circuits allow voltages of >3.5V to be used as a logic '1' and voltages of <1.5V for logic '0'. The margin between a '0' and '1' is thus 2.0V for CMOS and only 1.2V for TTL. CMOS has a higher tolerance to noise as a result.
The number of gates a given output can drive is the fan-out. It is usually specified in terms of the number of gates of a similar type that a particular output can drive, and is normally between 10 and 20. In other words, a 74LS00 output is capable of driving up to 20 74LS00 input gates. A 74LS00 gate is capable of driving a lower number of 74, 74H or 74S inputs as these types require higher input currents.
Care should be taken over the slightly different logic thresholds given above and the fan-out, to ensure correct operation.
There is a CMOS family, HCT, which operates as the HC type but has modified input thresholds equivalent to TTL chips. This family is used to interface between TTL levels and CMOS circuits. There is no problem the other way, CMOS can easily be driven from TTL, if required.
The speed of switching is lower with the passive pull-up resistor, than when an active pull-up is used as in the case of the 7400 gate shown above. However, switching speed is not normally an issue with wired-OR connections.
There are other reasons why an open-collector output might be used:
In the upper diagram shown, an AND gate is used as a switch, or an
enable gate, to pass the signal A.
When the switch is in the upper position ('1') then the signal A appears at Y, whether A is '1' or '0'. When the switch is in the lower position ('0') then a logic '0' always appears at Y, whatever the state of A. | |
In the lower diagram, an exclusive-OR gate is used to pass a signal
in its true or complemented state, according to the
switch setting.
When the switch is in the lower position ('0') then the true value of A appears at Y; i.e. when A=1, Y=1 and when A=0, Y=0. When the switch is in the upper position ('1') then the signal A is inverted and appears at Y; i.e. when A=0, Y=1 and when A=1, Y=0. |
These use open-collector (OC) gates as described above. Any one of the OC gates whose output goes low will pull the common output low. This connection is used in microprocessor circuits where several devices want to flag that a certain condition exists (or that an event has occurred). |
A tri-state output has a third state in addition to the logic states 0 and 1.
When the output is placed into a high-impedance state, it is effectively
isolated from whatever it is connected to. The output then floats
and takes the state of the signal driving the line to which it is connected.
Tri-state outputs are used to form bus systems where more than one output
driver must be connected together.
Care must be taken with tri-state outputs to ensure that only one line drives a line at any time. This is achieved by ensuring that only one enable signal is active for a set of gates which are connected. In the diagram shown, the enable signal is active-LOW and this is the connection commonly found in computer circuits. |