# Are there integrated logic gates "AND with one inverted input"?

I'm looking for an integrated AND gate with one inverted input that fulfills

$$\Y={\overline{A} \cdot B}\$$

I know that I could invert one input with a common emitter configuration, however I prefer to implement this gate with as little passives and discretes as possible.

simulate this circuit – Schematic created using CircuitLab

• you can use a mux Sep 14, 2021 at 19:47
• You can build this up from a single chip, the quad 2-input NAND gate. For example the MC74HC00. You just have to connect outputs of some gates to inputs of others. Both NAND and NOR are logically complete (can be used to synthesize any arbitrary logic function). If this interests you let me know and I will write an answer along those lines (or someone else can... OK with me). Sep 14, 2021 at 19:52
• mkeith, I know. Until finding SN74LVC1G97 synthesizing this gate with multiple NAND was my last resort anyway. I might just add this to my question. I would add another wiki answer just for completeness, if you do not insist making your own answer. :) Sep 14, 2021 at 20:07
• OK. Can't do it now. If nobody else does it before me I will add it to the wiki later (in about 6 or 8 hours). Unless I forget altogether. Sep 14, 2021 at 20:26
• If you use differential ECL logic, you can invert one input just by swapping the true and complementary inputs. Sep 14, 2021 at 22:55

Given that $$\ \overline{A} \cdot B = \overline{A + \overline{B}}\$$, you can get two of these out of a single 74'02:

Or the same thing, but with the inverter implemented slightly differently (slightly faster, with less input capacitance at B):

• Yeah this is better than using nand since you only need two nor gates vs three nand gates. Sep 15, 2021 at 0:16

If Schmitt-Trigger inputs are not an issue there's the configurable multiple-function gate SN74LVC1G97 (and also 1G58 and 1G98 according to page 75 of this) that is wired in a way that allows for using it as various logic gates by combining its inputs selectively.

See the functional modes starting on page 9:

You can use the 1T58 (page 28 of the 2007 Texas Instruments Digital Logic Pocket Data Book) configured with its input "A" set to low, and its inputs "B" and "C" connected to your two inputs A and B. (The inverted input is your A or its "B".)

• On Semi also has similar parts (acquired from buying Fairchild Semi). See NC7SZ57 and NC7SZ58 devices. The OnSemi line has several different parts (with the middle 2 alpha letters different) that operate at different voltage and speed ranges. These can be had in very small USON6 packages or larger SOT23-6/SOT25-6 packages. Sep 14, 2021 at 19:34
• Everyone is invited to edit this answer to mention alternative parts (i.e. other manufacturers or multiple multi-function gates in one package) as well. Sep 14, 2021 at 20:17
• I realize that the 1T58 I posted is similar to the 1G58 previously mentioned, but I'm thinking maybe the additional image would be helpful.
– JRN
Sep 15, 2021 at 8:02

Since you proposed a Common Emitter Config with a Pull-up, I conclude that you don't need ultimate speed. In this case, the below circuit might just be enough, although it is neither fast nor very efficient, but uses "no" logic gate and realizes $$\Y=A \wedge \overline{B}\$$. I would argue that R1 is optional, in case A is short-circuit proof. It is only present to limit current draw from A, when both A and B are high.

simulate this circuit – Schematic created using CircuitLab