Question about NOR gates and overflow

  • Thread starter Thread starter seang
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on developing a minimal NOR circuit to detect overflow by analyzing the sign bits of two n-bit addends (A and B) and their sum (S). It is established that the overflow condition can be determined by examining the most significant bits (MSB) of A, B, and S. Specifically, overflow occurs when the MSB of A and B are the same, but the MSB of S differs. The conversation emphasizes the importance of generalizing the approach for n-bit addends while considering the carry-in input for accurate detection.

PREREQUISITES
  • Understanding of digital logic design principles
  • Familiarity with NOR gate functionality
  • Knowledge of binary addition and overflow conditions
  • Concept of most significant bits (MSB) in binary numbers
NEXT STEPS
  • Research how to implement a NOR gate circuit for overflow detection
  • Study the behavior of binary addition in n-bit systems
  • Learn about carry-in logic and its impact on overflow conditions
  • Explore generalizations of overflow detection for various bit-length addends
USEFUL FOR

Electrical engineers, digital circuit designers, and students studying digital logic who are interested in overflow detection in binary addition circuits.

seang
Messages
184
Reaction score
0
How do I develop a minimal NOR circuit that detects overflow by examining the sign bits of two addends (A and B) and their sum (S)?

Doesn't this depend on how long the addends A and B are? Is there anyway I can generalize the result to n bit addends?

or perhaps I can just designate one input as 'the carry in', compare the MSB of the two addends and go from there?
 
Physics news on Phys.org
I believe the problem requires you to consider only the MSB of A and B, and the sum S of these bits. What are the overflow conditions given these 3 inputs? Work it out from there.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
6K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
9
Views
3K