7485: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (and remember to file it with the first 100 74xxs.)
m (remove pre, use same formatting as other 74xx pinouts)
Line 1: Line 1:
The ''7485'' (74LS85, 74HC85) is a digital magnitude comparator IC.
The [[7485]] (74LS85, 74HC85) is a digital magnitude comparator IC.
== 7485 Pinout ==
        .--\/--.
  B3 --+      +-- Vcc
IA<B --+      +-- A3
IA=B --+      +-- B2
IA>B --+  85  +-- A2
QA>B --+      +-- A1
QA=B --+      +-- B1
QA<B --+      +-- A0
  GND --+      +-- B0
        `------'


<pre>
== Signal descriptions ==
      ,--\/--.
  B3 --+      +-- Vcc
IA<B --+      +-- A3
IA=B --+      +-- B2
IA>B --+  85  +-- A2
QA>B --+      +-- A1
QA=B --+      +-- B1
QA<B --+      +-- A0
GND --+      +-- B0
      `------'
</pre>
* A3-A0: 4-bit number A
* A3-A0: 4-bit number A
* B3-B0: 4-bit number B
* B3-B0: 4-bit number B

Revision as of 04:19, 31 January 2013

The 7485 (74LS85, 74HC85) is a digital magnitude comparator IC.

7485 Pinout

       .--\/--.
  B3 --+      +-- Vcc
IA<B --+      +-- A3
IA=B --+      +-- B2
IA>B --+  85  +-- A2
QA>B --+      +-- A1
QA=B --+      +-- B1
QA<B --+      +-- A0
 GND --+      +-- B0
       `------'

Signal descriptions

  • A3-A0: 4-bit number A
  • B3-B0: 4-bit number B
  • IA<B: Cascade from next lower nibble (use false for lowest)
  • IA=B: Cascade from next lower nibble (use true for lowest)
  • IA>B: Cascade from next lower nibble (use false for lowest)
  • QA<B: True if A < B, false if A > B
  • QA=B: False if A < B or A > B
  • QA>B: False if A < B, true if A > B

If A = B, then Q = I.

This IC has been proposed as the PRG ROM decoder for NROM-368.