Code Reading Notes 14: Feedback and Triggers

This chapter of this book is the most difficult for me. It can be said that it is a hurdle. If I fail to pass this hurdle, I will not be able to understand the following "memory organization" and "automatic operation"; Fill in the pits for those who did not learn "digital electricity, model electricity" well in the university.
I was dizzy and read it several times on and off, but I dare not say that I fully understand it; because looking at the circuit diagram is not like looking at the code, it is very clear if I can't understand it and debug it a few times.

So far, my understanding of this chapter: the role of flip-flops is to save the state of the circuit (save data). By saving the data, we can perform continuous calculations, and we can build more complex circuits (such as the calculator in this chapter, which makes the Clock synchronization).

The following are some excerpts and summaries of the content of the book. Of course, the content of the book is better (with pictures and truth), I just deepen the impression, and I need to read the book repeatedly, it is best to practice it.
1. Buzzer, inverter
  When the input is 0, the output is 1; when the input bit is 1, the output is 0; this is the inverter.
  Using the inverter, we use the sound output, which constitutes the buzzer.
  2. Oscillator
  All computers are equipped with some kind of oscillator in order to synchronize the work of different components.
  The output of the oscillator alternates between 0 and 1 according to an inherent law. Because of this, oscillators are often referred to as clocks.
3. Feedback connection method:
  the output of the left NOR gate is the input of the right NOR gate, and the output of the right NOR gate is the input of the left NOR gate.
4. Flip-Flop The flip-
  flop circuit can hold information, it can "remember" some information.
5. RS (Reset-Set) flip-flop
  features: it can remember which input terminal is in the final state of 1; they allow the circuit to "remember" what happened before.
6. D (data) type flip-flop,
  The circuit "remembers" the value input to the data terminal when the hold bit was last set to 1, and changes to the data terminal have no effect on this.
  The D flip-flop is level-triggered, that is to say, in order to keep the value of the data terminal in the latch, the input of the clock terminal must be changed from 0 to 1.
7. An edge-triggered flip-flop
  will cause the output to change only when the clock transitions from 0 to 1.
8. Frequency divider
  The output of the frequency divider can be used as the clock (Clk) input of another frequency divider and divided again.   9. The output of each flip-flop of the
bit traveling wave counter is the clock input of the next flip-flop; changes are sequentially transmitted in the flip-flops step by step. 10. Determine the oscillator frequency:


  If you connect an oscillator to the clock input of an 8-bit calculator, the calculator will display the number of cycles the oscillator has passed.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324549922&siteId=291194637