Design a circuit which performs error checking on a stack

Assignment Help Electrical Engineering
Reference no: EM13262781

A stack controller is a digital circuit in a computer that implements last in firstout (LIFO) storage for temporary data. It operates analogously to a stack of plates where you can put a new plate on the top of the stack or you can take a plate off the top of the stack.

For this circuit, three operations can be performed:
• PUSH adds an element to the top of the stack.
• POP removes the top element from the stack.
• EXCHNG swaps the top two elements of the stack.
When using a stack, 2 types of errors can occur:
• Underflow occurs when a POP operation is attempted on an empty stack or when an EXCHNG is attempted on a stack with fewer than 2 elements on it.
• Overflow occurs when a PUSH operation is attempted on a stack which already contains its maximum number of elements.

Design a circuit which performs error checking on a stack which can contain a maximum of 5 elements. The input signals are PUSH, POP and EXCHNG. You may assume that at most one of the inputs will be asserted in any clock cycle. The outputs of your circuit should be OVF and UNF which indicate overflow and underflow, respectively. Draw the Mealy state diagram for the memory controller

Reference no: EM13262781

Questions Cloud

Explain the mass of the water in the container in grams : A container id filled with 4 moles of water and the molar mass of water is 18 grams per mole. What is the mass of the water in the container in grams
Calculate the banks risk weighted assets : Calculate the banks capital ratio before and after the agreement. Calculate the banks risk weighted assets before and after the agreement. (please include explanation) thank you
Find the speed of the car just before it lands safely : A 10000 N car comes to a bridge during a storm and finds the bridge washed out. The 750N driver must get to the other side, What is the speed of the car just before it lands safely on the other side
What does the bank balance sheet look like : Newhart Financial starts its first day of operation with $10 million capital, and receives checking deposits worth of $200 million.
Design a circuit which performs error checking on a stack : A stack controller is a digital circuit in a computer that implements last in firstout (LIFO) storage for temporary data. It operates analogously to a stack of plates where you can put a new plate on the top of the stack or you can take a plate of..
Compute the concetration of the original unknown acid : Titrate a 10.0 mL aliquot of the solution that you prepared with a 1.00 M NaOH to endpoint. The titration of the diluted unkown acid took 20 mL to reach enpoint. Calculate the concetration of the original unknown acid solution.
What are advantage and disadvantage of establishing account : How could they benefit from a flexible spending account established through Mr. Bauldings employer? What are the advantages and disadvantages of establishing such an account?
Explain what is the predicted number of 13c nmr peaks : What is the predicted number of 13C NMR peaks for methylcyclopentane and 1,2-Dimethylbenzene respectively
Locate the final image relative to the lens on the right : Two converging lenses (f1 = 9.00 cm and f2 = 6.00 cm) are separated by 18.0 cm. The lens on the left has the longer focal length. Locate the final image relative to the lens on the right

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Write a program that reads a nonnegative integer

The factorial of a nonnegative integer n is written n! (pronounced "n factorial") and is defined as follows: n!= n(n-1)(n-2)(n-3)....1 (for values of n greater than or equal to 1) and n!= 1 (for n=0) for example 5! = 5x4x3x2x1,

  Determine the majority and minority carrier concentrations

A junction employs Nd = 8x 10^17cm^-3 and Na= 2 x 10^ 17 cm^-3. The device is at 300K. (a) determine the majority and minority carrier concentrations on both sides (b) Calculate the built-in potential at (i)T=250K (ii)300K

  What is the phase angle of the impedance of a capacitor

1- What is the magnitude of the impedance of a capacitor of 29 F at an angular frequency of 644 rad/s (1 decimals in ) 2- What is the phase angle of the impedance of a capacitor of 40 F

  Explain the operation of sequential logic devices

Explain the operation of sequential logic devices and evaluate the output waveform in relation to the clock for QA, QB and QC in the subsequent circuit and show the binary sequence represented by these waveforms

  Which real wage rate is higher

In 1988, the average wage rate was $9.45 an hour and in 2008 the average wage rate was $18.00 an hour. The CPI in 1988 was 118.3 and in 2008 it was 215.3 . Which real wage rate is higher?

  How much optic power must reach the receiver

An analog system has a bandwidth of 10 MHz, a photodetector of = 0.5 A/W and ID = 1 nA, and a signal to noise ratio (SNR) of 30 dB. The receiver's temperature is 270 C and the load resistance is 50 .

  How a transformer works

How a transformer works and apply those rules to a transformer where the primary core cross-sectional area is twice.

  Identify the number of required jk d-flip flop

Design a counter that will execute the numerical sequence 0, 2, 4, 6,repetitively. Unwanted states should be directed into wanted states that give the simplest logic functions. - Identify the number of required JK D-FLIP FLOP;

  Explain ideal job and goal of electrical engineer

Briefly explain your ideal job as electrical engineer? Why did you select this career? What goals do you have in this career? How do you plan to get these goals?

  Write software to spin the motor at 1 rps

Design an interface for a 12 V, 500 mA bipolar stepper motor. There are 200 steps per revolution. Write software to spin the motor at 1 rps.

  What is the maximum power dissipated in the load

What is the maximum power dissipated in the load when the Thévenin voltage is 17 V cos(37 rad/s t + 24°), the Thévenin impedance is 127 -j 182-ohm and the load impedance is 127 + j 182-ohm

  Calculate the power factor from the input ac side

Considering that the only parameters known are the input line-to-line voltage of 415V rms (f=50Hz), the firing angle (a= degrees) and the overlap angle (b=15degrees), calculate the Power Factor as seen from the input AC

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