Preview

Flip Flops

Powerful Essays
Open Document
Open Document
1512 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Flip Flops
CS1104 – Computer Organization http://www.comp.nus.edu.sg/~cs1104 Aaron Tan Tuck Choy
School of Computing
National University of Singapore

Lecture 11: Sequential Logic
Latches & Flip-flops
 Introduction
 Memory Elements
 Pulse-Triggered Latch
 S-R Latch
 Gated S-R Latch
 Gated D Latch

 Edge-Triggered Flip-flops





S-R Flip-flop
D Flip-flop
J-K Flip-flop
T Flip-flop

 Asynchronous Inputs
CS1104-11

Lecture 11: Sequential Logic:
Latches & Flip-flops

2

Introduction
 A sequential circuit consists of a feedback path, and employs some memory elements.
Combinational
outputs

Memory outputs

Combinational logic Memory elements External inputs

Sequential circuit = Combinational logic + Memory Elements
CS1104-11

Introduction

3

Introduction
 There are two types of sequential circuits:
 synchronous: outputs change only at specific time
 asynchronous: outputs change at any time

 Multivibrator: a class of sequential circuits. They can be:
 bistable (2 stable states)
 monostable or one-shot (1 stable state)
 astable (no stable state)

 Bistable logic devices: latches and flip-flops.
 Latches and flip-flops differ in the method used for changing their state.
CS1104-11

Introduction

4

Memory Elements
 Memory element: a device which can remember value indefinitely, or change value on command from its inputs.
Memory
element

command

Q

stored value

 Characteristic table:

CS1104-11

Command
(at time t)

Q(t)

Q(t+1)

Set

X

1

Reset

X

0

Memorise /
No Change

0
1

0
1

Memory Elements

Q(t): current state
Q(t+1) or Q+: next state

5

Memory Elements
 Memory element with clock. Flip-flops are memory elements that change state on clock signals.
Memory
element

command

Q

stored value

clock

 Clock is usually a square wave.
Positive pulses

Positive edges
CS1104-11

Negative edges

Memory Elements

6

Memory Elements
 Two types of triggering/activation:
 pulse-triggered
 edge-triggered

 Pulse-triggered
 latches
 ON = 1, OFF =

You May Also Find These Documents Helpful

  • Powerful Essays

    While evaluating Apollo Shoes, there are some areas of concern that are potential fraudschemes. The fraud can lead to the entire collapse/demise of the company if not corrected.These will also affect the share value and investor confidence. An overview of the process of investigation along with recommendations for the company.As with any company, revenue recognition is an important part of operations of a ApolloShoes. As stated in GAAP standards, revenue generated must be realistic and recognizable.Revenue is recognized when the sale is complete. The sale is approved or paid for and theproduct is handed to the customer or mailed to the desired location. When reviewing the booksfor Apollo Shoes, the numbers are inconsistent with the accounts receivable. Confirmationreceived from customers were in line with the account balances. This raised a flag of concernfor revenues being misstated. The difference doesn 't appear to make a considerable increase incash flow, but the issue needs to be addressed and corrected before the difference is larger. Thiscan also be an indication of revenue misstatements.When there are discrepancies in the financial statements obtained from the company andthe financial institution, further investigation must be performed.Fixed AssetsThere are some common forms of fraud in relation to fixed assets, concealment, misuse,and improper classification. All of these have an impact on the book value for the organizationand the equity for the shareholders. The organization is responsible to record assets in thecorrect account for tracking a valuation.The fixed assets can also be traced from the beginning of the year to the end forverification of existence and/or write off of assets. The capitalization policy of assets can also beevaluated for accuracy and possible changes that need to be made. The damaged the Apollo…

    • 1054 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Phil Knight went from being an average cross country runner at the University of Oregon to becoming a multi billionaire. It didn't happen overnight or even in a year. Running was Phil Knights passion. But he was tired of his feet hurting from cheap American shoes. So he began testing different shoes while running cross country for the University of Oregon. After he had tested many different pairs of running shoes he decided that he could make a running shoe that was more comfortable and not too expensive.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Foldgers

    • 1560 Words
    • 7 Pages

    The journey for the brand Folgers began in 1851. At this time it was known as Pioneer Stream Coffee and was sent along with James A Folgers to the gold mines as samples for ordering and selling in the stores surrounding the small towns there. As productivity increased James was able to earn enough money to buy into the coffee business. After a short while, he brought out his partners and renamed the company J.A. Folger and Company. He began the whole selling of ground coffee which was ready to be used and drank quickly. ("Folgers", n.a.)…

    • 1560 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is a logical design that controls the order in which a set of statements execute?…

    • 738 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Footlocker

    • 811 Words
    • 4 Pages

    Foot Locker, Inc. (NYSE: FL) is an American sportswear and footwear retailer, with its headquarters in Midtown Manhattan, New York…

    • 811 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Mercury Athletic Footwear

    • 692 Words
    • 3 Pages

    Active Gear, Inc. is a privately held footwear company with $470.3 million in revenue in 2006, making it relatively small compared to big players in the athletic and casual footwear industry. Eyeing an opportunity for growth via a bolt-on acquisition, John Liedtke, head of business development for the company, is looking into acquiring a subdivision of West Cost Fashions, Inc., Mercury Athletic. With 2006 revenue of $431.1 million, Mercury Athletic represents a similar market share in the mature, highly competitive industry. Liedtke believes the acquisition would help nearly double Active Gear’s revenue, and is confident that West Coast Fashions will be approaching Active Gear soon with an offer. Preempting analyst calculations and the West Coast offer, Liedtke wants to perform his own analysis of the potential acquisition.…

    • 692 Words
    • 3 Pages
    Good Essays
  • Good Essays

    AP Psych

    • 629 Words
    • 3 Pages

    Memory can be defined as an active system that receives information from the senses, organizes and alters it as it stores it away, and then retrieves the information from storage.…

    • 629 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Air Jordans

    • 1081 Words
    • 5 Pages

    In 1984, Peter Moore, an employee at Nike was the guy responsible for designing the first pair of Air Jordan’s; a sneaker that would end up changing the entire shoe industry. With a plan for success in mind, Moore made a deal with a Chicago Bulls rookie, Michael Jordan to endorse a new type of sneaker during each game. “The Air Jordan I had a price tag of $65, which made it the most expensive basketball shoe on the market. These shoes featured the iconic Nike Swoosh on the mid panel and a newly designed winged logo on the upper ankle. The Air Jordan I featured a Nike Air unit for heel cushioning, padded foam ankle collars for additional protection and a toe overlay for added lockdown” (“History of Air Jordan”, 2000). With a red, black, and white color scheme to match Jordan’s uniform, the high-top basketball sneaker stood out on the court.…

    • 1081 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Mercury Athletic Footwear

    • 3569 Words
    • 15 Pages

    Active Gear, Inc. (AGI) is a privately held footwear company and is contemplating the possibility of acquiring Mercury Athletic Footwear. West Coast Fashions Inc., a large designer and marketer of men’s and women’s branded apparel recently announced that it plans to shed its Mercury Athletic Footwear subsidiary. AGI’s head of business development, John Liedtke, believes acquiring Mercury Athletic Footwear is a good option for the company. Although AGI is currently among the most profitable firms in the footwear industry, it is also much smaller than most of its competitors, which the company’s management views as a competitive disadvantage. During the past three years AGI’s revenue has grown at an average annual rate of only 2.2% while the industry average is about 9.7%. Liedtke believes that acquiring Mercury Athletic Footwear would double AGI’s revenue, increase its leverage with contract manufactures, and expand AGI’s presence in relators and distributers. Before acquiring Mercury Athletic Footwear, Liedtke wants a complete evaluation of the opportunity.…

    • 3569 Words
    • 15 Pages
    Powerful Essays
  • Good Essays

    Niks

    • 636 Words
    • 3 Pages

    Advertising is used in American Society and drives the consumers of America to buy the new product. Advertising allows companies to inform people of their product. Some advertisers will do anything to get someone to buy their product. The line is crossed when they break certain moral values and advertise propaganda rather than the product itself. Because advertising works so well, it causes consumers to want things they may never be able to acquire, and because advertising companies are masterminds at targeting every kind of consumer, they have to ability to attract inappropriate audience members such as children, or sick/old people.…

    • 636 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Dippin' Dots

    • 774 Words
    • 4 Pages

    Much like microwave ovens revolutionized the way we cook, Dippin' Dots is revolutionizing the way we think of ice cream. Their high-tech cryogenic freezing process is a highly advanced method of ice cream production, unique within the ice cream industry.…

    • 774 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Shrimping

    • 339 Words
    • 2 Pages

    Eating shrimp contributes to the destruction of the marine environment. By eating shrimp you are supporting the shrimping business, which is an abusive, wasteful process. The resources in the ocean are very scarce and they maintain a fragile ecosystem. As the shrimping business grows the damage to the ecosystem becomes irreversible. I am against shrimping because of the number of sea turtle deaths, the amount of bycatch caused by shrimping, and how the nets tear up the ocean floor.…

    • 339 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Tennis Racquets

    • 141 Words
    • 1 Page

    The chart shows that Britain, among the four European countries listed, has spent most heavily on the…

    • 141 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Converse

    • 594 Words
    • 3 Pages

    oduced and distributed just as the nation was recovering from the effects of the Great Depression, with the economy somewhat stabilized following Roosevelt's New Deal, and with the looming 2nd world war, Capra's Mr. Smith Goes to Washington (1939) is an important document not only in terms of the state of affairs as it was at the time of its production, but also in terms of what led up to it and what was about to follow. To better understand how the film accomplishes this, one must first examine the idea of freedom and its changing meaning in the period leading up to Mr. Smith Goes to Washington. Following that, the ways in which this idea is used in Mr. Smith Goes to Washington and to what end, will be explored. Finally, the film's role as an active agent in the reality that is to ensue with the outbreak of the 2nd World War, as relating to the past/present reality of the time and Capra's manipulation of this reality, shall be considered.…

    • 594 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Sunglasses

    • 450 Words
    • 2 Pages

    Sunglasses: A man name Cass Frankenstein start wearing sunglasses to protect himself from bullies. Decades later, Cass still wore sunglasses throughout his adult life. Cass feels like the sunglasses have a magical power, it was very interesting to see how he found confidence with sunglasses his confidence was attached to sunglasses. On the other hand, his confidence disappeared once he removed the sunglasses. Cass became more of a vulnerable person, he feels like he is not safe without his sunglasses.…

    • 450 Words
    • 2 Pages
    Satisfactory Essays