Use a chain of flip-flop to implement a shifter register

Assignment Help Electrical Engineering
Reference no: EM132077

Intro:

In this design, you are going to use a chain of flip-flop to implement a shifter register.

Design requirement

When reset button is pressed, LED0 is on while LED1 to LED 7 are off. When reset button is released, the light keeps shifting from LED0 all the way to LED7 and back to LED0 at a frequency of 0.74Hz

Hints

There are different ways to design the system. Two block diagrams of the system that fulfills the need are shown as follows. You are always welcome to come up with your own design.

  1. Simple Shift Register 
  2. 2- Filp-Flop with Round Shifter

Sample Codes

Here are some sample codes that you can refer to:

Flip-flop with Asynchronous Reset

always@ (posedge(clk), posedge(rst))

begin

    if(rst == 1)

        Q <= 1'b0;   // Q is reset to 0

    else

        Q <= D;

end

  1. Flip-flop with Combinational Logic
  2. always@ (posedge(clk), posedge(rst))

    begin

        if(rst == 1)

            Q <= 1'b0;   // Q is reset to 0

        else

            Q <= (A & B);

    end

Now that you've completed this project, try these modifications:

  1. Will you add two switches to control how fast the LED shfits: Say, if switch[1:0] is 0, LED shift frequency is 0.745Hz; if switch[1:0] is 1, LED shift frequency is 1.49Hz; if switch[1:0] is 2, LED shift frequency is 2.98Hz; if switch[1:0] is 3, LED shift frequency is 5.96Hz.
  2. Instead of shifting the light on LEDs, will you create some fancy LED pattern using LEDs and/or seven segment display?

Reference no: EM132077

Questions Cloud

Describe the soviet rapid development model : Describe the Soviet Rapid Development Model
Problems on oops : Problems on OOPS
Briefly summarise the contents of this report : Briefly summarise the contents of this report
Writing an effective business letter : Prepare a letter in either block or modified block format, addressed to your employer or supervisor and copied to your marker.
Use a chain of flip-flop to implement a shifter register : Use a chain of flip-flop to implement a shifter register
Explain international monetary system : Explain International Monetary System
Develop the image manipulations : Develop the image manipulations
Write your own newspaper article : Write your own newspaper article for the study with at least one appropriate table or graph.
How will technology encourage collaboration : How will Technology Encourage collaboration and sharing information internally?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd