The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [digital-comparator]

A digital comparator or magnitude comparator is a hardware electronic device that takes as input two numbers in binary and determines whether one number is greater than, less than or equal to the other number. Four-bit examples are the CMOS 4063 and the TTL 7485.

Filter by
Sorted by
Tagged with
0
votes
2answers
79 views

Why aren’t the magnitude comparators cascaded the “more efficient” way?

In Practical Electronics for Inventors, Paul shows the following cascading of two \$ 74HC85 \$’s to build an 8-bit magnitude comparator. Question: Why doesn’t he cascade them in the apparently more ...
0
votes
1answer
42 views

Curious Behavior In Logisim while trying to mimic a halt instruction

I'm in the process of trying to simulate a halt instruction based on some arbitrary value. My circuit design may not follow best practices as I'm disabling the overall or master clock sign with a ...
1
vote
0answers
169 views

Comparing sine wave and triangular for spwm using comparator

i am trying to generate sinusoidal PWM by comparing sine and triangular wave. First i just tried to compare sine wave with reference voltage in order to check the working of op-amp. I get a problem ...
2
votes
0answers
200 views

Digital Comparator from LSB to MSB using Lookahead

This is homework to be upfront, but I'm really stuck on it and just need some kind of direction. I've been assigned to create a 16-bit lookahead comparator going from LSB to MSB using no more than 4-...
0
votes
3answers
222 views

How to design a combinational circuit that finds the minimum among multiple given numbers?

There are quite a few articles (for example, this) that can be found online discussing the design of a comparator that takes two numbers (say, A and ...
0
votes
1answer
736 views

Comparator on Logisim

Currently working on an elevator circuit. I am using 4-bits to represent the floor that the elevator is on, and I need a way of comparing this value to the floor that the user wants to get to. I am ...
1
vote
1answer
670 views

LT Spice Comparator Question [closed]

Does LT Spice have any way of creating a 4-bit Comparator with outputs A=B, A>B, A
0
votes
1answer
496 views

How do I design a cascade network of 1-bit comparators to determine if two n-bit numbers are equal?

I'm reading through the "Logic Design" chapter in Givone's Digitial Principles and Design and this is one of the problems at the end of the chapter. I read the section on comparators thoroughly, but ...
2
votes
2answers
488 views

Digital Magnitude Comparator: LSb first or MSb first

Most of the comparator designs/algorithms are based on MSb first approach (i.e, starting the comparison from MSb of the two numbers), which seems to be effective approach intuitively. I was just ...
0
votes
4answers
5k views

Comparator Latch circuit

I need a VERY simple latching circuit using comparator that will simply be off until a signal hits it (can be either + or -, I have no preference) and the circuit will remain on until I reset it.
1
vote
2answers
21k views

IC 7485 truth table

For IC 7485 truth table(given below), why is the the output A>B = 1 and A<B = 1 when you have got the inputs A(3,2,1,0)=B(3,2,1,0) with 0 for all cascading inputs(the last row). What exactly is the ...