Help Needed with 16-Bit Bit Zero Detector Circuit Design

danaoxm

Newbie
Joined
Aug 20, 2024
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
40
Help Needed with 16-Bit Bit Zero Detector Circuit Design

Hi everyone,

I’m working on designing a bit zero detector circuit that takes a 16-bit input and outputs two signals: one if the number of zeros is greater than 7, and another if it’s greater than 11. This circuit will be used to control charge pumps in non-volatile memory programming. I’m using Mentor Graphics tools (Pyxis, Eldo, Calibre) for this project.

Here’s my setup so far:

• Each input bit (A0 to A15) is connected to an inverter.
• The inverted bits are grouped into pairs and connected to 2-bit half adders.
• The outputs from the 2-bit adders (S0, S1, and Cout) are then connected to a 4-bit full adder to accumulate the zero count.
• Finally, the output of the 4-bit adder is connected to a 5-bit comparator to check if the zero count exceeds the thresholds of 7 and 11.

Issue: The generated waveform doesn’t match the expected output, and I’m not sure why. I’ve checked the connections and logic, but the problem persists. I suspect there may be an issue with carry propagation, timing, or the comparator configuration.

Any advice or suggestions on where I might be going wrong?

Thanks in advance for any help!
 

Attachments

  • 13e71775-81b6-4a3e-b880-860c7f20f5f4.jpeg
    96.6 KB · Views: 14
  • CF674F59-EA1F-42AA-AC38-A0FF218D04BD.png
    99.2 KB · Views: 10
  • 60819aa3-9d57-4caa-96fc-d8db248f9e5e.jpeg
    96.7 KB · Views: 14

Cookies are required to use this site. You must accept them to continue using the site. Learn more…