1 / 7

Understanding Shift Registers: FIFO and LIFO Instructions in Automation

Explore the fundamentals of shift registers, focusing on FIFO (First In, First Out) and LIFO (Last In, First Out) operations. This lecture delves into the usage of FFL (FIFO Load), FFU (FIFO Unload), LFL (LIFO Load), and LFU (LIFO Unload) instructions in industrial automation systems. Learn how FIFO stacks buffer data efficiently while LIFO stacks function as a temporary storage in a last-in, first-out manner. Insights from Hebrews 13:5 remind us to value contentment in our work and lives.

Télécharger la présentation

Understanding Shift Registers: FIFO and LIFO Instructions in Automation

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. ECT 464 Lecture 17 Shift Registers

  2. Today’s Quote: The grass may look greener on the other side, but it still has to be mowed. Keep your lives free from the love of money and be content with what you have, because God has said,    "Never will I leave you;       never will I forsake you." Hebrews 13:5

  3. Shift Register Instructions • FFL FIFO Load • FFU FIFO Unload • LFL LIFO Load • LFU LIFO Unload • The FIFO is a First In First Out Register used to buffer data. • The LIFO is a Last In First Out Register used as a stack

  4. FIFO Load (FFL) • On a false-to-true rung transition, the FFL instruction loads words into a user-created file called a FIFO stack. This instruction’s counterpart, FIFO unload (FFU), is paired with a given FFL instruction to remove elements from the FIFO stack.

  5. FIFO Unload (FFU) • On a false-to-true rung transition, the FFU instruction unloads words from a user-created file called a FIFO stack. The data is unloaded using first-in, first-out order. After the unload completes, the data in the stack is shifted one element toward the top of the stack and the last element is zeroed out.

  6. LIFO Load (LFL) • On a false-to-true rung transition, the LFL instruction loads words into a user-created file called a LIFO stack. This instruction’s counterpart, LIFO unload (LFU), is paired with a given LFL instruction to remove elements from the LIFO stack.

  7. LIFO Unload (LFU) • On a false-to-true rung transition, the LFU instruction unloads words or long words from a user-created file called a LIFO stack. The data is unloaded using last-in, first-out order.

More Related