4 bit counter in VHDL

  • Status Closed
  • Budget N/A
  • Total Bids 24

Project Description

A 4 bit up/down modulo counter in VHDL. The main entity ( counter has 3 parts ) as shown in the .png file that is attached . The clock divider component takes the default clock signal at 50 MHz and reduces it to a 1 second signal . I have attached the clock divider code also, this is to be added as a component in the main file. The remaning two parts are the "counter" and the "4-bit modulo register", which are to be implemented as processes . Therefore, inside architecture, you will have 1 component and 2 processes. The modulo register (4 bit flip flop ) stores the value from the input pins whenever the system is reset, and sends this value(any value upto 15, since its only 4-bit) as the maximum count value to the counter In addition to enable and reset buttons, an additional "direction" button also comes into play. The counter counts up to the value sent from the modulo register if the direction button is not pressed ( direction=0), and counts down to 0 if the direction button is pressed. Also please generate a test bench file for this.

Get free quotes for a project like this

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online