Combinational Logic High for Range

  • Thread starter Thread starter ombudsmansect
  • Start date Start date
  • Tags Tags
    Logic Range
Click For Summary

Discussion Overview

The discussion revolves around the implementation of combinational logic to produce a high output for a specific range of digital values derived from an analogue signal. Participants explore methods to illuminate an LED when the digital representation of the signal exceeds a certain threshold, specifically focusing on the challenges of creating the necessary logic without the use of comparators.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a shortcut for implementing logic that activates an LED for all digital values above a specified threshold (6V represented as 101001110100).
  • Another participant suggests using a comparator to simplify the logic implementation.
  • The original poster clarifies that a comparator was already used to generate the 12-bit signal and that they must now rely solely on combinational logic to illuminate the LED.
  • The original poster considers splitting the 12-bit signal into three 4-bit segments but expresses concerns about the complexity this introduces.
  • A later reply describes a specific combinational logic approach involving the most significant bits (MSBs) and least significant bits (LSBs) to achieve the desired output, indicating a complex implementation process.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to implement the logic. There are competing views on the feasibility of using comparators versus purely combinational logic, and the discussion remains unresolved regarding the optimal approach.

Contextual Notes

The discussion highlights limitations related to the complexity of implementing combinational logic for a range of values and the challenges of simplifying the logic without a comparator. The original poster's constraints on using only combinational logic are significant in shaping the conversation.

Who May Find This Useful

This discussion may be of interest to those working on digital logic design, particularly in contexts where combinational logic must be employed to control outputs based on specific input ranges.

ombudsmansect
Messages
29
Reaction score
0
I need to use combinational logic to produce a high ouput for a certain range of values. I have and anaolgue signal which i have converted to a 12 bit digital signal, I need an LED to be turned on when the analogue signal is above a certain voltage.

I have the digital value (101001110100 = 6V), now I need the LED to be turned on for all values between this and 111111111111. SO i guess what I am asking is there any shortcut for implenenting logic for all values above a specified one. I hate to think that I am going to have to go through and write an SOP for all the intermeiate values, and then it is impossible to put on a karnaugh map to simplify (humanly impossible).

So does anyone know of a shortcut for implementing this seemingly simple logic function?
Many Thanks
 
Engineering news on Phys.org
couldn't you just use a comparator?
 
Comparator was used to create the 12 bit signal, now i must use the 12 bit digital signal to illuminate an LED when the analogue input is >6V.

Combinational logic must be used to illuminate the LED, it is all i am able to use. No comparator available for this part of the circuit.

I am thinkin of splitting up the 12 bit signal into 3 4 bit codes, but this also causes a lot of complications in the implementation. Thanks for replying hough, it is the best idea, unfortunate i cannot use it.
 
OK for anyone interested what i did in the end was made comb logic for the 4 MSB's when they are above 1010 high output, then ANDed that with and OR for both when 1010 and the second set of 4 bits that were below 0111, and when the MSB's are 1010, second 4 0111, and the 4LSB's below 0100. Yeah that was a bit much for one sentence, but if anyone is interested i can post the logic diagram when I've done it. Cheers.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K