Re:Show HN: I made a programmable computer from NAND gates
by rational_indian on Friday April 26, 2024 @04:04AM
(#40166910)
>Could you have a few different-sized square waves continue to cycle through the circuit?
No.
Re:Show HN: I made a programmable computer from NAND gates
by schoen on Friday April 26, 2024 @05:52AM
(#40167502)
Could you help improve my intuition about that, or give me a reference where I could learn more?
Re:Show HN: I made a programmable computer from NAND gates
by rational_indian on Friday April 26, 2024 @08:26AM
(#40168562)
First look up Barkhausen criteria, then read the following. For ring oscillators gain will be greater than unity for only those waves whose period matches the gate delay. Only one such wave exists since the gate delay is a fixed number.
Re:Show HN: I made a programmable computer from NAND gates
by userbinator on Friday April 26, 2024 @09:39AM
(#40169254)
It is possible for a ring oscillator to generate harmonics: https://ieeexplore.ieee.org/iel5/16/31849/01482193.pdf
Re:Show HN: I made a programmable computer from NAND gates
by rational_indian on Friday April 26, 2024 @12:59PM
(#40171695)
Interesting, would have loved to read the paper. Unfortunately I don't have an IEEE subscription right now.
Re:Show HN: I made a programmable computer from NAND gates
by IncreasePosts on Friday April 26, 2024 @01:10PM
(#40171860)
Re:Show HN: I made a programmable computer from NAND gates
by rational_indian on Saturday April 27, 2024 @05:21AM
(#40178560)
Okay, so I was wrong. You can get multiple harmonics if you use a long enough chain of inverters. I will simplify the paper mentioned in a sibling comment. In a long chain at any given point of time certain (variable number of) pairs of inverters drop in and out of the circuit changing the total propagation delay, giving rise to multiple harmonics. You'll have to read the paper for details.
(I've never built or simulated that, I'm just trying to imagine what could happen!)