Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment you are requested to design a HLSM for a digital system that receives an array of ten 7 - bit unsigned numbers

In this assignment you are requested to design a HLSM for a digital system that receives an array of ten 7-bit unsigned numbers (i.e. A[6:0][0:9]) and finds the location of the first element before which all the elements are smaller than it, and after which all are greater. The output location is 4-bit and will be between 0 and 9 when an element is found. However, if no such element is found, then the output location is set to 15.
For example, if the array contents are: {14,9,23,18,43,49,45,60,100,90} then there are two elements that satisfy the search criteria (i.e.A[4]=43 and A[7]=60). Since the system is supposed to return the location of the first element that satisfies the search criteria then the output location should be 4. Another example, if the array contents are: {14,9,23,18,43,49,45,60,100,43} then none of the elements satisfies the search criteria and the output location should be 15.
The following block diagram shows the inputs and outputs of your system:
At "Reset", the system should asynchronously proceed to an INITIAL state and wait for the "Start" signal to become active.
In the INITIAL state, the input array "A" must be stored in an internal array "Ain" such that Ain[0]=A[0], Ain[1]=A[1], and so on.
Once the "Start" signal is active, the system proceeds to traverse the values within "Ain" to find the first element that satisfies the search critieria.
After the search is complete, the system proceeds to the DONE state and remains until the "Ack" signal becomes active, at which time the system returns back to the INITIAL state.
You should design and test two versions of this system as described by the submission details below.
image text in transcribed

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

What are the short- and long-term effects of stress on the body?

Answered: 1 week ago