soln7 - ECE320 Solution Notes 7 Spring 2006 Cornell...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ECE320 Solution Notes 7 Spring 2006 Cornell University T.L.Fine 1. Formally describe the prefix decoder shown in Figure 1 by specifying the components , I , O , f, g . start 1 2 [0]/0 [1]/ [1]/ [0]/10 [0]/110 [1]/111 Figure 1: Prefix Decoder = { , 1 , 2 } , I = { , 1 } = B , O = { , , 10 , 110 , 111 } or = I * . f : I , f ( , 0) = , f ( , 1) = 1 , f ( 1 , 0) = , f ( 1 , 1) = 2 , f ( 2 , 0) = , f ( 2 , 1) = . g : I O , g ( , 0) = 0 , g ( , 1) = , g ( 1 , 0) = 10 , g ( 1 , 1) = , g ( 2 , 0) = 110 , g ( 2 , 1) = 111 . 2. Design a door access electronic combination lock as an FSA . The lock characteristics are a keypad containing keys for the five numerals 1 , . . . , 5 and a doorknob. You need to enter the following three digits 3, 2, 5, immediately after the lock has been reset, to ready the lock to be unlocked. Turning the doorknob either opens the door (if the combination is correct) or resets the lock to its locked position (if the combination is in error). Releasing the doorknob also resets the lock to its locked position. Your FSA should include the three states lock reset, activated doorknob, lock open . The final state can be taken to be lock reset , although this is irrelevant. Your inputs, although this is irrelevant....
View Full Document

This homework help was uploaded on 09/25/2007 for the course ECE 3200 taught by Professor Fine during the Spring '06 term at Cornell University (Engineering School).

Page1 / 5

soln7 - ECE320 Solution Notes 7 Spring 2006 Cornell...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online