Question
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.
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started