sequential (46) no realistic serial circuit (inverter)

 https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime_11.html .

.

Ref: https://wodewangzhishime.blogspot.com/2022/02/bach-request-poison-gas-from.html.

.

.

.

.

John: There're 2 pictures above. They are the circuit of inverter.
.
Me: OK.
.
John: Which one is correct?
Me: Logically, the 1st picture is correct.
John: Why?
Me: I show it to you in code.
John: OK.
.
If (input side = Up cycle)
{
NPN = UP cycle and NPN = saturated.
PNP = UP cycle and PNP = cut off.
The output = 0.
}
.
John: You're wrong. The 2nd picture is correct also.
Me: Why?
John: I show it to you in code.
Me: OK.
.
If (input side = Up cycle)
{
NPN = Up cycle and NPN = saturated.
PNP = Down cycle and PNP = saturated.
The output = 1 or 0

}
.
Me: When the input side is Up cycle, the gate of PNP is down cycle? It is impossible.
John: It is possible. Take a look at this article (https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_14.html).
.
Me: OK. I assume that it is possible. Then, what is the output of the 2nd picture?
John: It depend.
Me: How?
John: I show it to you in code.
Me: OK.
.
if (resister A is higher than output)
{
Output = 1;
}
else if (resister A is lower than output)
{
Output = 0;
}

Comments