1 / 18

Decoder

Decoder. Mano Section 4.9. Outline. Decoder Applications Verilog. Example of a Decoder. Convert binary information from n input lines to 2 n unique output lines. This particular circuit take a binary number and convert it to an octal number. Hardware Implementation.

jeb
Download Presentation

Decoder

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Decoder Mano Section 4.9

  2. Outline • Decoder • Applications • Verilog

  3. Example of a Decoder Convert binary information from n input lines to 2n unique output lines. This particular circuit take a binary number and convert it to an octal number.

  4. Hardware Implementation

  5. AND and NOR Decoders Take an n-bit address. Produce 2n outputs, One of which is activated. (NOR Decoder)

  6. Organization of Memory Systems

  7. Basic SRAM and VTC A wordline is used to select the cell Bitlines are used to perform read and write operations on the cell

  8. Cross Coupled Configuration The cell can only flip its internal state when one of its internal cross VS. During a read op, we must not disturb its current state. During a write op, we must force the internal voltage to swing past VS to change a state.

  9. A 2-to-4 decoder with Enable (typo, should be a 0)

  10. Demultiplexer A Demux is a circuit that receives information from a single line and directs it to one of 2n possible output lines.

  11. Use a 2-to-4 decoder as a Demux Treat A and B as the selector bits. i.e. A and B select which bit should receive infomraiton. E is treated as the data line. (typo, should be a 0)

  12. Implement a Full Adder with a Decoder

  13. Build a Bigger Decoders Use w to enable either top or bottom decoder.

  14. 3-to-8 decoder in verilog

  15. 3-to-8 decode Input bits

  16. Use a Test Bench to Generate output Initial statements execute once starting from time 0. $monitor: display variable whenever a value changes. $time display the simulation time

  17. Run functional Simulation

  18. Results

More Related