1 / 21

CHAPTER 6

CHAPTER 6. Sequential Circuit Design By : Pn Siti Nor Diana Ismail. Sequential Circuit Design. Design procedure Finding state diagrams Finding state tables State assignment Designing with D flip-flops. Look example in Tutorial 4. Design procedure. Specification Formulation

Download Presentation

CHAPTER 6

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. CHAPTER 6 Sequential Circuit Design By : Pn Siti Nor Diana Ismail

  2. Sequential Circuit Design • Design procedure • Finding state diagrams • Finding state tables • State assignment • Designing with D flip-flops

  3. Look example in Tutorial 4

  4. Design procedure • Specification • Formulation • State assignment • FF input equation determination • Output equation determination • Technology mapping • Verification These are the proper procedure to design a complete sequential circuit.

  5. Design procedure • Specification • Usually this is given in form of statements. • User need to extract important points. • Formulation • Obtain state diagram and state table • State assignment • Assign binary codes to the states • FF input equation determination • Determine FF type • Derive FF input equation from state table

  6. Design procedure • Output equation determination • Derive output equation from state table • Technology mapping • Usually this is omitted • Only use FF and basic gates in schematic • Verification

  7. Finding state diagrams/state table • When the diagram is given • You need to find the state table • On the other hand, when the state table is given • You need to find the state diagram

  8. Finding state diagrams/state table • When the diagram is given • You need to find the state table • Try to find the state table for this

  9. Finding state diagrams/state table • When the diagram is given • You need to find the state table

  10. Finding state diagrams/state table • On the other hand, when the state table is given • You need to find the state diagram • You can try on the same state table and diagram or on this one

  11. State assignment • For a 2 bit state (let’s say Q1Q0) you will have at most 4 states • 00 • 01 • 10 • 11 • You may assign the states with variables • Eg : A = 00, B = 01, C = 10, D = 11

  12. Designing with D flip-flops • A state table is given (you may want to convert it to a 1-D table)

  13. Designing with D flip-flops

  14. Designing with D flip-flops • You will get the input equation from state table • Use K-map to get the equation for • DA • DB • Z

  15. Designing with D flip-flops • You will get these equations • Now you can draw the schematic diagram using D FF

  16. Exercise A sequential circuit has two FF, A and B, one input, X, and one output, Y. The state diagram is shown below. Design the circuit with D flip-flops.

  17. Introduction to Memory • Collection of cells capable of storing binary information • Contains electronic circuits for storing & retrieve information • Used to provide temporary or permanent storage capability

  18. I/O Memory Hardware for processing Memory Basic Process • Info/content from memory is send to h/w (usually consist of registers & combinational logic) to be processed • The processed info is then returned to the same or different memory address • Input and Output devices may also interact with memory Printers Mouse Keyboard Monitor Digital Camera Scanners Plotters Thumb Drive External Memory

  19. Types of Memories • Random Access Memory (RAM) • Write operation – stores new info • Read operation – transfer the stored info out of memory • Read Only Memory (ROM) • Perform read operation only

  20. Memory data elements • Typical data elements are: • bit : a single binary digit • byte : a collection of eight (8) bits accessed together • word : a collection of binary bits whose size is a typical unit of access for the memory. (e.g., 1 byte, 2 bytes, 4 bytes, 8 bytes, etc.) • Memory Data ─ a bit or a collection of bits to be stored into or accessed from memory cells. • Memory Operations ─ operations on memory data supported by the memory unit. Typically, read and write operations over some data element (bit, byte, word, etc.).

  21. Memory Organization • Example: • address bits = m = 10 • data bits =16; n = 16 • Address line = (2m) • 210 = 1024 or 1K, labeled 0 to 1023 • memory content = 16-bit • so the memory has 1K words of 16-bit data or 1K x 16-bit memory • Note : • K (Kilo) = 210 • M (Mega) = 220 • G (Giga) = 230 • Other Example : • 64K = 216 = (26 * 210) • 2M = 221 = (21 * 220) • 4G = 232 = (22 * 230) • What is the address bits (m)?

More Related