Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

an LED indicating that the lock is open (i.e. unlocked) an LED indicating that the lock is closed (i.e. locked) a reset push button The

an LED indicating that the lock is open (i.e. unlocked)

an LED indicating that the lock is closed (i.e. locked)

a reset push button

The circuit is based on a two-stage 4-bit shift register (i.e. 8 flip-flops). The circuit operates as follows. After a reset (i.e. reset button pushed and released) the flip flops in each stage should contain 0000. The user configures the 4 input switches to represent a digit and then clocks them in the first stage (by pressing and releasing the clock push-button). The contents of the first stage are moved to the second stage. The user then configures the switches to represent a second digit and then clocks them into the first stage of the 4-bit shift register. (The contents of the first stage are moved to the second stage.) If the digits entered match the expected pattern (see below) then the lock should unlock ("unlocked" LED should be on, "locked" LED should be off). At all other times the "locked" LED should be on and the "unlocked" LED should be off. (The lock remembers the last two digits entered - if they match the code, the lock will open.

image text in transcribed

You are to design a combination lock circuit based on a 4-bit wide shift-register with two stages The combination lock has * 4 switches to specify a digit value (decimal 1 to 9, binary 0001 to 1001) a push button to enter(ie. clock-in or shift-in) that digit an LED indicating that the lock is open (i.e. unlocked) an LED indicating that the lock is closed (i.e. locked) a reset push button The circuit is based on a two-stage 4-bit shift register (i.e. 8 flip-flops). The circuit operates as follows. After a reset (i.e. reset button pushed and released) the flip flops in each stage should contain 0000. The user configures the 4 input switches to represent a digit and then clocks them in the first stage (by pressing and releasing the clock push-button). The contents of the first stage are moved to the second stage. The user then configures the switches to represent a second digit and then clocks them into the first stage of the 4-bit shift register. (The contents of the first stage are moved to the second stage.) If the digits entered match the expected pattern (see below) then the lock should unlock ("unlocked" LED should be on, "locked" LED should be off). At all other times the "locked" LED should be on and the "unlocked" LED should be off. (The lock remembers the last two digits entered - if they match the code, the lock will open. For example if the code is 34 and you enter 5 then 3 then 4, the lock will unlock after the third digit.) You are to design a combination lock circuit based on a 4-bit wide shift-register with two stages The combination lock has * 4 switches to specify a digit value (decimal 1 to 9, binary 0001 to 1001) a push button to enter(ie. clock-in or shift-in) that digit an LED indicating that the lock is open (i.e. unlocked) an LED indicating that the lock is closed (i.e. locked) a reset push button The circuit is based on a two-stage 4-bit shift register (i.e. 8 flip-flops). The circuit operates as follows. After a reset (i.e. reset button pushed and released) the flip flops in each stage should contain 0000. The user configures the 4 input switches to represent a digit and then clocks them in the first stage (by pressing and releasing the clock push-button). The contents of the first stage are moved to the second stage. The user then configures the switches to represent a second digit and then clocks them into the first stage of the 4-bit shift register. (The contents of the first stage are moved to the second stage.) If the digits entered match the expected pattern (see below) then the lock should unlock ("unlocked" LED should be on, "locked" LED should be off). At all other times the "locked" LED should be on and the "unlocked" LED should be off. (The lock remembers the last two digits entered - if they match the code, the lock will open. For example if the code is 34 and you enter 5 then 3 then 4, the lock will unlock after the third digit.)

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

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

What assumptions underlie the EOQ formula?

Answered: 1 week ago

Question

Write a program to check an input year is leap or not.

Answered: 1 week ago

Question

Write short notes on departmentation.

Answered: 1 week ago

Question

What are the factors affecting organisation structure?

Answered: 1 week ago

Question

What are the features of Management?

Answered: 1 week ago

Question

Briefly explain the advantages of 'Management by Objectives'

Answered: 1 week ago

Question

The models used to analyse different national cultures.

Answered: 1 week ago

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago