PPT Slide
7 – Sequential Logic Examples
Digital combination lock (equations for intermediate signals)
equal = (equal1 & equal2);
equal1 = (!code1 & !value1 & !code2 & !value2
# code1 & value1 & !code2 & !value2
# !code1 & !value1 & code2 & value2
# code1 & value1 & code2 & value2);
equal2 = (!code3 & !value3 & !code4 & !value4
# code3 & value3 & !code4 & !value4
# !code3 & !value3 & code4 & value4
# code3 & value3 & code4 & value4);