Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a 4-bit Up-Down counter. An UpDown signal is available that determines the type of counter (Ascending or Descending), the counter will be limited by

Design a 4-bit Up-Down counter. An UpDown signal is available that determines the type of counter (Ascending or Descending), the counter will be limited by the value of the 4-bit signal called Pset and we also have a 2-bit signal called Frec which sets the speed of the counter. When the signal reset (RST) is set to 1, the output value must be equal to the PSet value, the CLK signal corresponds to the the 12MHz frequency. The signals they should use are summarized in the following table.
a) When the account is ascending it will follow the following sequence: 0 to PSet b) When the account is descending, it will count in this way: PSet to 0

image text in transcribed

image text in transcribed

All the program must be done in Xilins VHDL 
Signal CLK Value X 0 RST 1 0 1 UpDown Pset Function Corresponds to the 12 Mhz clock signal Take no action Set the value of the output to the value of Pset Count ascending Countdown 4-bit number used to set the output whe the rst signal is equal to 1, also defines the maximum number of the counter Counting time of 0.5 seg Counting time of 1 seg Counting time of 3 seg Counting time of 5 seg X 0 1 2 Frec 3 Cont_Up Down CLK RST Dout UpDown PSet Frec Signal CLK Value X 0 RST 1 0 1 UpDown Pset Function Corresponds to the 12 Mhz clock signal Take no action Set the value of the output to the value of Pset Count ascending Countdown 4-bit number used to set the output whe the rst signal is equal to 1, also defines the maximum number of the counter Counting time of 0.5 seg Counting time of 1 seg Counting time of 3 seg Counting time of 5 seg X 0 1 2 Frec 3 Cont_Up Down CLK RST Dout UpDown PSet Frec

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Economics Of Money Banking And Finance

Authors: Peter Howells, Keith Bain

4th Edition

0273710397, 978-0273710394

More Books

Students also viewed these Finance questions