News for hackers. Stuff that matters.
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by nicholas73 on Tuesday August 23, 2016 @10:24AM (#12343933)
For logic gates there is a "setup" and "hold" time (logic level prior to gate flip, then hold that level) for an operation to be successfully performed and transmitted to the next stage. It should be in the chip's datasheet (if you wanted a precise and specific number). If you don't care about logic transmission and just want "flip" then look at the rise/fall time.
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by samfisher83 on Tuesday August 23, 2016 @12:05PM (#12344810)
It depends on PVT. Process, Voltage, and Temperature. When chips are being synthesized all this is characterized for each logic cell like and gates, flip flops, etc. They are in .lib files that is sent into the synthesis tools. If you can get one of those files it will tell you all the numbers.
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by Majster on Tuesday August 23, 2016 @09:04AM (#12343361)
Can you be a bit more specific? You mean how long a NAND gates takes to "execute" a NAND operation? It's somewhere around 20 nano seconds.
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by alain94040 on Tuesday August 23, 2016 @12:17PM (#12344901)
20ns corresponds to 50 MHz. Recent CPUs run at over 1 GHz, so 20ns is completely off. And the clock frequency includes many gates on its critical path.
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by josh-wrale on Tuesday August 23, 2016 @09:06AM (#12343372)
Yes, your version of the question matches what I'm seeking. 20 nano seconds. Thank you!
Re:Ask HN: In modern CPUs how many μs to flip a NAND (or oth... by josh-wrale on Tuesday August 23, 2016 @09:00AM (#12343332)
I suspect it's actually better measured in femtosceonds, but either way is good.