Working Through DIGITAL ELECTRONICS NOTES (7. Combinational Circuits)

I'm continuing with the following digital circuit problems.

lancamentomerlo.my.canva.site

  • Q: What is the difference between an encoder and a multiplexer?
  • A: An encoder is similar to a multiplexer, but a multiplexer produces a 1-bit output for N inputs. An encoder, on the other hand, produces an $N$-bit output for $2N$ inputs.

  • Q: What is the difference between a priority encoder and a simple encoder?

  • A: A simple encoder assumes that the $2N$ bits are one-hot. A priority encoder, on the other hand, assigns priorities to the bits in the bit vector; for example, if the most significant bit is given priority, then I3 wins when I3=1 and I2=1.

  • Q: What is a ring oscillator? If three NOT gates, each with a gate delay of 2ps, are chained together, what is the frequency of the ring oscillator?

  • A: A ring oscillator connects an odd number of NOT gates in a ring. The delay of the whole ring oscillator is the number of NOT gates, and the signal passes through the ring twice, so the delay is the number of NOT gates x2. In other words, a delay of 6*2ps=12ps occurs.

  • Q: Design a full adder using half adders.

  • A: Since Sum = A XOR B XOR Carry / C = AB + BC + AC, it can be designed with two half adders and an OR gate.
  • Q: Design a full adder using a 4:1 multiplexer.
  • A: Since Sum = A XOR B XOR C / Carry = AB + BC + AC, we design the multiplexer accordingly.

https://msyksphinz-en.hatenablog.com/entry/2023/01/21/040000msyksphinz-en.hatenablog.com

https://msyksphinz-en.hatenablog.com/entry/2023/01/27/040000msyksphinz-en.hatenablog.com

https://msyksphinz-en.hatenablog.com/entry/2023/01/28/040000msyksphinz-en.hatenablog.com

https://msyksphinz-en.hatenablog.com/entry/2023/02/01/040000msyksphinz-en.hatenablog.com

https://msyksphinz-en.hatenablog.com/entry/2023/02/03/040000msyksphinz-en.hatenablog.com

https://msyksphinz-en.hatenablog.com/entry/2023/02/04/040000msyksphinz-en.hatenablog.com


This is an English translation of the original Japanese post: DIGITAL ELECTRONICS NOTESをやってみる (7. 組み合わせ回路)