Posts

Showing posts from June, 2022

sequential (46) no realistic serial circuit (inverter)

Image
  https://wodewangzhishime.blogspot.com/2022/06/satellite-for-loop.html?m=1 . Ref:  https://chihaukam.blogspot.com/2024/06/blog-post.html?m=1 . .. . . . John: There're 2 pictures above. They are the circuit of inverter.  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.  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. } . Me: When the input side is Up cycle, the gate of PNP is down cycle. It is impossible. John: It is possible.

sequential (64) fields

Image
https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime_46.html?m=1 . Ref: https://wodewangzhishime.blogspot.com/2022/04/httpswodewangzhishime_23.html . . . . John: For example, we have a code of MOV R4, 0101 . The 1st round is to check if there is a cache called R4 in the Cache. . Me: Ok. . John: I assume that. The name of the Cache of R4 is 1111.  . Me: Ok. . John: See the 3rd picture.  We use a series of Xor gate to compare. . Me: Compare is a kind of checking.  . John: Yes,  compare is checking.   If the checking is OK, the Xor gate will output 0.  . Me: Output of 0 from Xor gate means that the name of the Cache of R4 (1111) exist. . John : Yes, finally,  we set the value of the cache of R4 as 0101. Abd then, . 1) The value of the cache of R4 enter a modulator.  2) The modulator output 0101 to the parallel input line.  3) Through the parallel input line,  the value of the data-register of R4 is updated to 0101. 4) Th...

sequential (57) I2C and SPI protocol

Image
  https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime_10.html?m=1 . Ref: https://kamchihau.blogspot.com/2022/09/different-frequency.html .  . . John: There're many type of protocol of communication . You might have a look .  https://instrumentationblog.com/communication-protocols/ . // . For example, RJ45, I2C, USB, SPI, RS232, so on and on.  Me: Ok. John: We use the protocol of SPI as an example.  Look at the picture above.  The slave of SPI use the clock line of the master. Me: OK. John: Normally, the master of SPI choose the clock line of the system.  However, hacker hack it. It Become, . Subject [Master of SPI] Interrupt [The clock line of RJ45] <---- Originally it is The clock line of the System.  Object [] Value [pending] . John: If there's carrier wave on the clock line of RJ45 of the master, those carrier wave enter the Slave cause the slave use the clock line of RJ45 too.

sequential (55) Left right shift line

Image
https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime.html . Ref: https://kamchihau.blogspot.com/2022/10/httpskamchihau_16.html . . . John: See the picture above. Not all the chips have the Left/Right shift line. Left/Right shift line is a field. . For (int i = 0; i<100; i++) { Sum = Sum + i (Right shift) Receiving.  } . __ . For (int i = 100; i>0; i--) { Decrease = decrease - i (Left shift) Sending.  } Subject [I2C] Object [Sum] Interrupt_status [ ] Load_Shift_status [Shift] Left_Right_Shift [ right ] <-- Right shift mean receiving. In the port of SPI, you're not supposed to set it. . Me: The port of I2C is only one line. This one line is used for both receiving and sending. Therefore,  Left/Right Shift line is needed in this case. . John : Other chips doesn't have Left/Right Shift line. . Me: Right shift mean receiving in the port of I2C.  Left shift mean sending in the port of I2C. . John : Spi port has 2 line. One is for receiving.  On...

learning and teaching (36) China teacher and students

https://wodewangzhishime.blogspot.com/2022/05/httpswodewangzhishime_13.html . Ref: https://wodewangzhishime.blogspot.com/2021/10/httpswodewangzhishime_61.html . John : Miuson is the person in this link.  https://johnchihau.blogspot.com/2026/04/blog-post.html?m=1 Me: Ok. . John: 2014, Kelvin use the poison to kill my father in the hospital. Guess what happen ? . . Kelvin : I killed John's father.  You do me a favour.  You help me to  provoke John . . Mary (the public relation of the hospital): How do I provoke John ? . Kelvin: You give a phone-call to John. You pretend to feel pity and pretend to sob and say to John, " Your father is miserable. ". ____________________ Bradley: Kill those students, e.g., Mary. . Kelvin : Hey ! It's me who killed John's father not her. . Bradley : Then, what's her role ? . Kelvin : She is a student.  . Bradley : That's why I tell you to kill her. ___ Miuson : You told Bradley that It's you who kill John's father not...