By: Juha Lainema (lainema.delete@this.gmail.com), November 21, 2022 6:15 am
Room: Moderated Discussions
Andrey (andrey.semashev.delete@this.gmail.com) on November 21, 2022 4:23 am wrote:
> This will probably be a naive and silly question, but I'm curious.
>
> Assuming that a logical one is represented with a higher voltage than a logical zero in the IC,
> is it fair to say that ones are more expensive to process in terms of power and heat? That is,
> if it takes more energy to charge a DRAM or SRAM cell to a level of one (in case of DRAM - also
> to refresh it), if it takes more voltage to transfer the signal along the traces, if this voltage
> makes more heat in the transistors implementing a logical circuit within the IC, thus causing
> more leakage current, wouldn't it be more expensive? I wonder if someone tested this.
>
> If there is a measurable difference, wouldn't it make sense to account for that when designing the ICs and
> writing software? On the hardware level, it might make sense to process negated signals or a mixture of positive
> and negated signals to reduce the number of "ones" or at least make them statistically closer to "zeros" so
> to reduce the possible power consumption spikes. In software, it would make sense to prefer zero or power-of-two
> representations of data more often. Of course, it is not possible to have a useful machine (both in hardware
> and software) processing only zeros, but some difference could be made. Or could it?
>
The answer is perhaps surprisingly not that simple, as it varies with what is being implemented and in what technology that implementation is realized in.
For CMOS, transistors come in complementary pairs, reducing both switching times and dynamic power use - ideal power is only consumed when signals change, equilibrium is free of charge (sorry for the clumsy pun).
I write "ideal power" as they can not fabricate perfect superconducting logic at manageable temperatures yet|ever - there is a lot of resistance and leakage involved in addition to the required switching energy.
> This will probably be a naive and silly question, but I'm curious.
>
> Assuming that a logical one is represented with a higher voltage than a logical zero in the IC,
> is it fair to say that ones are more expensive to process in terms of power and heat? That is,
> if it takes more energy to charge a DRAM or SRAM cell to a level of one (in case of DRAM - also
> to refresh it), if it takes more voltage to transfer the signal along the traces, if this voltage
> makes more heat in the transistors implementing a logical circuit within the IC, thus causing
> more leakage current, wouldn't it be more expensive? I wonder if someone tested this.
>
> If there is a measurable difference, wouldn't it make sense to account for that when designing the ICs and
> writing software? On the hardware level, it might make sense to process negated signals or a mixture of positive
> and negated signals to reduce the number of "ones" or at least make them statistically closer to "zeros" so
> to reduce the possible power consumption spikes. In software, it would make sense to prefer zero or power-of-two
> representations of data more often. Of course, it is not possible to have a useful machine (both in hardware
> and software) processing only zeros, but some difference could be made. Or could it?
>
The answer is perhaps surprisingly not that simple, as it varies with what is being implemented and in what technology that implementation is realized in.
For CMOS, transistors come in complementary pairs, reducing both switching times and dynamic power use - ideal power is only consumed when signals change, equilibrium is free of charge (sorry for the clumsy pun).
I write "ideal power" as they can not fabricate perfect superconducting logic at manageable temperatures yet|ever - there is a lot of resistance and leakage involved in addition to the required switching energy.
Topic | Posted By | Date |
---|---|---|
Is 1 more expensive than 0? | Andrey | 2022/11/21 05:23 AM |
Is 1 more expensive than 0? | Juha Lainema | 2022/11/21 06:15 AM |
Is 1 more expensive than 0? | Adrian | 2022/11/21 07:21 AM |
Is 1 more expensive than 0? | anon2 | 2022/11/21 05:29 PM |
switching between 0 and 1 is what consumes power | Heikki Kultala | 2022/11/21 07:23 AM |
Thank you all for your answers. (NT) | Andrey | 2022/11/21 08:29 AM |
Is 1 more expensive than 0? | Foyle | 2022/11/21 08:58 AM |
Is 1 more expensive than 0? | Michael S | 2022/11/21 10:51 AM |
Is 1 more expensive than 0? | Captain Obvious | 2022/11/21 11:29 AM |
obvious stuff | anonymou5 | 2022/11/21 02:25 PM |
obvious stuff | Andrey | 2022/11/21 02:50 PM |
obvious stuff | Michael S | 2022/11/21 03:43 PM |
SRAM is bistable | Anon | 2022/11/21 10:50 AM |
SRAM is bistable | Andrew Clough | 2022/11/22 05:53 AM |
NAND Flash 1 and 0 | jokerman | 2022/11/24 01:13 PM |
NAND Flash 1 and 0 | Joern Engel | 2022/11/25 12:00 AM |
NAND Flash 1 and 0 | Ungo | 2022/11/25 02:26 AM |
The ECC needs to be stored. as ones ane zeroes (NT) | Heikki Kultala | 2022/11/25 08:31 AM |
The ECC needs to be stored. as ones ane zeroes | anon2 | 2022/11/25 05:07 PM |
The ECC needs to be stored. as ones ane zeroes | Heikki Kultala | 2022/11/26 12:48 AM |
The ECC needs to be stored. as ones ane zeroes | anon2 | 2022/11/26 02:00 AM |