PIN You are asked to design the system controller of a digital programmable lock. The circuit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
PIN You are asked to design the system controller of a digital programmable lock. The circuit takes a single-bit data input Pin, an 8-bit binary input I7I6I5I4I3I2I1I0, a START signal, and a Pro- gram/Compare signal PC; and produces a DONE signal, and ENTER-BIT signal, and a MATCH signal. The operation starts when START signal is asserted. The START signal must be low for at least one clock cycle after DONE is asserted before the next operation starts. The lock circuit consists of two 8-bit shift registers (74LS198), a D flip flop, a 4-bit counter (74LS163), and a system controller. QA is the MSB and QH is the LSB of the shift registers. The control inputs S₁ and So of 74LS198 operate as follows: S1 So 00, 01, 10, 11} = {Hold, Shift Right, Shift Left, Load} The circuit has two operation modes: • PROGRAM: At the time START is asserted, if the PC input is asserted, as well, then the circuit needs to PROGRAM a new binary lock combination. The user will input the new combination one bit at a time, starting from the Most Significant Bit. The input bit Pin is only recorded when the ENTER BIT output of the circuit is asserted. • COMPARE: At the time START is asserted, if the PC input is NOT asserted, then the circuit will compare the 8-bit parallel user input 1716151413121110 against its own stored binary lock combination. A number of shift operations and a comparison circuitry (not shown and to be designed by you) results in a final binary result MATCH, which is only asserted if all bits of the user input and the stored combination match. The MA CH signal is directly taken from the negated output of the flip flop. Based on the partial circuit shown below, answer the following questions: SRII (a) Complete the partial circuit shown below by putting in missing connections and adding AT MOST TWO 2-INPUT GATES (no MSI chips; only AND, OR, NAND, NOR, INVERTER, XOR gates allowed). With your additions, the circuit must be able to perform both PROGRAM and COMPARE functions. Make sure that Pin is connected to the rest of the circuit, and the D-input of the D flip flip is appropriately connected to hold the comparison result. Do NOT remove any other part of the circuit. $10 $11 A B с DE F G H 74LS198 L/R Shift Register QA QB QC QD QE QF QG QH QA QB QC QD QE QF QG QH 74LS198 L/R Shift Register A B C D E F G H E $20 CLK S21 CLK VCC VCC CLK -D O Q' CLR O CLR FF L CLR_CNTR_L $10 $11 $20 S21 CLR FF L CLR CNTR_L EN CNTR ENTER_BIT DONE EN CNTR CLK CLR SYSCNT START START DONE ENTER BIT MATCH RCO LOAD C8 D C B VCC 74LS163 C8 A QD QC QB QA START PC CLK (b) Based on your response in Part (a), provide a state diagram for the System Controller (SYSCNT) with the format clearly shown. Do not complete other steps of the design process. Do not use more than eight states. Implement Moore-type outputs. Use a legend to indicate your format. Select and use meaningful state names. PIN You are asked to design the system controller of a digital programmable lock. The circuit takes a single-bit data input Pin, an 8-bit binary input I7I6I5I4I3I2I1I0, a START signal, and a Pro- gram/Compare signal PC; and produces a DONE signal, and ENTER-BIT signal, and a MATCH signal. The operation starts when START signal is asserted. The START signal must be low for at least one clock cycle after DONE is asserted before the next operation starts. The lock circuit consists of two 8-bit shift registers (74LS198), a D flip flop, a 4-bit counter (74LS163), and a system controller. QA is the MSB and QH is the LSB of the shift registers. The control inputs S₁ and So of 74LS198 operate as follows: S1 So 00, 01, 10, 11} = {Hold, Shift Right, Shift Left, Load} The circuit has two operation modes: • PROGRAM: At the time START is asserted, if the PC input is asserted, as well, then the circuit needs to PROGRAM a new binary lock combination. The user will input the new combination one bit at a time, starting from the Most Significant Bit. The input bit Pin is only recorded when the ENTER BIT output of the circuit is asserted. • COMPARE: At the time START is asserted, if the PC input is NOT asserted, then the circuit will compare the 8-bit parallel user input 1716151413121110 against its own stored binary lock combination. A number of shift operations and a comparison circuitry (not shown and to be designed by you) results in a final binary result MATCH, which is only asserted if all bits of the user input and the stored combination match. The MA CH signal is directly taken from the negated output of the flip flop. Based on the partial circuit shown below, answer the following questions: SRII (a) Complete the partial circuit shown below by putting in missing connections and adding AT MOST TWO 2-INPUT GATES (no MSI chips; only AND, OR, NAND, NOR, INVERTER, XOR gates allowed). With your additions, the circuit must be able to perform both PROGRAM and COMPARE functions. Make sure that Pin is connected to the rest of the circuit, and the D-input of the D flip flip is appropriately connected to hold the comparison result. Do NOT remove any other part of the circuit. $10 $11 A B с DE F G H 74LS198 L/R Shift Register QA QB QC QD QE QF QG QH QA QB QC QD QE QF QG QH 74LS198 L/R Shift Register A B C D E F G H E $20 CLK S21 CLK VCC VCC CLK -D O Q' CLR O CLR FF L CLR_CNTR_L $10 $11 $20 S21 CLR FF L CLR CNTR_L EN CNTR ENTER_BIT DONE EN CNTR CLK CLR SYSCNT START START DONE ENTER BIT MATCH RCO LOAD C8 D C B VCC 74LS163 C8 A QD QC QB QA START PC CLK (b) Based on your response in Part (a), provide a state diagram for the System Controller (SYSCNT) with the format clearly shown. Do not complete other steps of the design process. Do not use more than eight states. Implement Moore-type outputs. Use a legend to indicate your format. Select and use meaningful state names.
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
1. For the current tax year, S corporation BVX Inc. has $300,000 gross receipts from business, $15,000 net rental real estate loss, $4,000 portfolio interest income, $10,000 depreciation on...
-
1. Hannah is applying for a life policy on her girlfriend Sarahs life. The policy is $500,000 and carries a large premium. Hannah is the main earner, so she is concerned about not being able to pay...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The pilot of a small boat charts a course such that the boat will always be equidistant from an upcoming rock and the shoreline. Describe the path of the boat. If the rock is 2 miles offshore, write...
-
The rule of strict compliance in New York is best illustrated by Beyene v. Irving Trust Co., 762 F.2d 4 (2d Cir. 1985). The letter of credit specified that payment be made on presentation of a bill...
-
Items 1 through 6 are common questions found in internal control questionnaires used by auditors to obtain an understanding of internal control for owners' equity. In using the questionnaire for a...
-
Describe the purpose of certification and licensure, and list reasons for revocation of licenses.
-
Wyckam Manufacturing Inc. has provided the following information concerning its manufacturing costs: For example, utilities should be $1,400 per month plus $0.05 per machine-hour. The company expects...
-
Blue Mountain Hardware is adding a new product line that will require an investment of $1,510,000. Managers estimate that this investment will have a 10-year life and generate net cash inflows of...
-
Consider the evaporator and control system in Figure 13.6. (a) Should each control valve be air-to-open (AO) or air-to-close (AC)? (b) Should each PI controller be direct-acting or reverse-acting?...
-
Q1.Assume that you have attended an interview for the post of Accountant in Sohar Aluminum Company S.A.O.C. The first round of the interview is written test and the following questions has been asked...
-
Let P ( A ) = 0 . 2 0 , P ( B | A ) = 0 . 8 0 and P ( B | A ^ C ) = 0 . 2 3 . Compute P ( B )
-
Linda is a student at Alabama University and does not have any loans. She is just now learning about credit scores and has recently found out that lenders commonly assess the credit payment history...
-
Using the static budget, calculate the variable cost/unit and prepare a flexible budget. Do not enter dollar signs or commas in the input boxes. Round all answers to the nearest whole number. Static...
-
A client receives an order for Lactated Ringers 100mL/hr. Calculate the rate of flow/min. 1 ML= 60gtt
-
Before unveiling the new iPhone15, the pricing manager at Apple was considering how much to charge for the new version and also how much to charge for the iPhone14, which is now an older model but...
-
Alice and Bob have 3 kinds of chocolates. There are A chocolates of the first type and B of the second type. Both Alice and Bob love the third type of chocolate and want to have that one at any cost...
-
CLASS PERIO Solving Linear Equations: Variable on Both Sides Solve each equation. 1) 6r+ 7 = 13 + 7r 3) -7x-3x+2=-8x-8 5)-14 +66+7-26=1+5b 7) n-3n = 14-4n 2) 13-4x=1-x 4)-8-x= x - 4x 6)n+2=-14-n 8)...
-
Dr. George E. Beeper is a single taxpayer. He lives at 45 Mountain View Dr., Apt. 321, Spokane, WA 99210. Dr. Beeper's Social Security number is 775-88-9531. Dr. Beeper works for the Pine Medical...
-
Bev and Ken Hair have been married for 3 years. They live at 3567 River Street, Springfield, MO 63126. Ken is a full-time student at Southwest Missouri State University (SMSU) and Bev works as an...
-
Olive Corporation was formed and began operations on January 1, 2012. The corporation's income statement for the year and the balance sheet at year-end are presented below. The corporation made...
-
A typical muscle fiber is 2.0 cm long and has a cross-section area of 3.1 10-9 m 2 . When the muscle fiber is stimulated, it pulls with a force of 1.2 mN. What is the work done by the muscle fiber...
-
You are pulling a child in a wagon. The rope handle is inclined upward at a 60 angle. The tension in the handle is 20 N. How much work do you do if you pull the wagon 100 m at a constant speed?
-
A wind turbine works by slowing the air that passes its blades and converting much of the extracted kinetic energy to electric energy. A large wind turbine has 45-m-radius blades. In typical...
Study smarter with the SolutionInn App