There is no way for p-MOSFET transistors to stop conducting, there is always a small current flowing. Try a CMOS inverter for example, there is no way to get 0V out.
Hi,
thanks for the bug report. I have reproduced the issue on the latest 0.3 series version. When I will have time I will look into it; currently I have a quite busy schedule.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have investigated this issue, and for p-MOSFET there is always a leakage of about 10uA. For now, I think this is a low-priority issue, because (1) there are more urgent things to fix, like redrawing issues, and (2) it can be worked around from circuits.
Also I have looked into the code, and... it will take a while to understand it. There are no obvious bugs, but also no unit tests.
The CMOS inverter will output about 127mV, which is way below its threshold voltage, so when 2 CMOS inverters are connected in series, if the input of the first one is 5V, then the output of the second one will be also 5V.
Of course there could be cases when this leakage is a big issue, but currently I don't know about any.
Al always, any feedback is welcome.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
thanks for the bug report. I have reproduced the issue on the latest 0.3 series version. When I will have time I will look into it; currently I have a quite busy schedule.
I have investigated this issue, and for p-MOSFET there is always a leakage of about 10uA. For now, I think this is a low-priority issue, because (1) there are more urgent things to fix, like redrawing issues, and (2) it can be worked around from circuits.
Also I have looked into the code, and... it will take a while to understand it. There are no obvious bugs, but also no unit tests.
The CMOS inverter will output about 127mV, which is way below its threshold voltage, so when 2 CMOS inverters are connected in series, if the input of the first one is 5V, then the output of the second one will be also 5V.
Of course there could be cases when this leakage is a big issue, but currently I don't know about any.
Al always, any feedback is welcome.