TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits delay models flipflops adders and arithm... half-adder a... ripple-carry... BCD adder carry-select... CLA adder (8... CLA adder (1... CLA generator CLA adder block CLA adder, slow adder/subtra... 7485 comparator 7485 comparator 74181 ALU de... 74181 ALU ci... 74181+74182 ... 74182 CLA ge... Hamming-weight Hamming-weig... integer mult... square calcu... square root ... carry-save a... CSA based mu... counters LFSR and selftest memories programmable logic state-machine editor misc. demos I/O and displays DCF-77 clock relays (switch-le... CMOS circuits (sw... RTLIB logic RTLIB registers Prima processor D*CORE MicroJava Pic16 cosimulation Mips R3000 cosimu... Intel MCS4 (i4004) image processing ... [Sch04] Codeumsetzer [Sch04] Addierer [Sch04] Flipflops [Sch04] Schaltwerke [Sch04] RALU, Min... [Fer05] State-Mac... [Fer05] PIC16F84/... [Fer05] Miscellan... [Fer05] Femtojava FreeTTS | TTL-series 7485 comparator demonstration (24 bit) Circuit Description This circuit demonstrates how to interconnect multiple 7485 chips to build an n-bit comparator. In the example, six chips are uses to create a 24-bit magnitude comparators for positive binary numbers (note that the comparison also works for binary-coded decimal numbers). Obviously, the clean way to build the 24-bit comparator would have been to use six chips (with four A/B inputs each) for the first level, and then two more chips for the second level. The design presented here, taken from the original TTL series datasheet from Texas Instruments, uses a simple trick to reduce the number of required chips. It uses the A<B_in and A>B_in inputs of the circuits to effectively provide five bits of input. However, this can lead to the funny situation that a first level chips asserts both its A<B_out and A>B_out outputs at the same time - if A equals B and the cascade inputs are both low. Luckily, the second level chip interprets this situation correctly and the circuit works as it should. | |||
Print version | Run this demo in the Hades editor (via Java WebStart) | ||||
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German) | ||||
Impressum | http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/20-arithmetic/45-compare/7485-demo.html |