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

  Interface binary i/o devices to the microcontroller

Interface binary Input Output devices to the microcontroller

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Stereotaxic neurosurgery for electrode implant

Utilizing the rat stereotaxic atlas in the course materials, devise a surgical plan for implanting a Michigan type array

  Binary number operation

Using 4-bit numbers to save space, multiply 3ten  x 4ten in binary.

  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.

  Ac analysis gain at midband with bypass capacitor

AC Analysis Gain at Midband (with bypass capacitor in circuit) Connect the bypass capacitor using the switch.

  Determine the voltage across the electrical model

Determine the Voltage across the electrical model of a cell membrane in a nerve cell

  Implementation of the project:

Implementation of the project with the analog and digital modulation techniques

  Digital systems and microprocessors

Design a sequential system to continuously output your set of eight different digits (01275438) in binary at the rate of one digit per clock pulse.

  Synchronization primitive in multiprocessor systems

Describe why interrupts are not appropriate for implementing synchronization primitive in multiprocessor systems.

  Pulse width modulator

A pulse width modulation (PWM) circuit works by varying the duty cycle of the square wave while keeping the period fixed.

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