Aufgabenstellung Flankendetektor imp det> Vorteiler
Transcription
Aufgabenstellung Flankendetektor imp det> Vorteiler
¯ ¯ ¯ ¯ ¯ ! " # $ %& ' ( )'' ( * + #,$ -.-/ $ ' 0 1 ' $ 2 #'' -3 0 4& START 1 0 STOP IMP_DET MAIN_CTL clk sw0 start clk cnt_en start reset stop show_int 1min 10s 1s 100ms IMP_DET clk stop sw1 1 0 XTAL PRESCAL gclk BCD7SEG TIME_CNT clk cnt_en reset cnt_min(3:0) cnt_sec1(3:0) cnt_sec0(3:0) cnt_mil(3:0) clk clk segment(6:0) show_int digit(3:0) cnt_min(3:0) cnt_sec1(3:0) cnt_sec0(3:0) cnt_mil(3:0) #'' - 1 ' ' $ * 5"06 3 0 7 $' 8 4' & 3 + 5 * 4 $ ' &* $ & * 9(,:3 0 4 *3 # ; $ < ' # ) /3 +' ' 3 0 5 < $ = 3 1 - + < # ) 3 0 7 8 4 < # # 1 3 1 '> +$ $ & &6 & ' 2$ ($ 3 & ' +$ 3 * +$ ///3/ 3 3 :3 0 #& * + 0 & @ $ + 9 ? '> @ + &* & $ < 9+ :3 ? ' # '$ 0 + $ 3 & &6 $ 8 4 # +$ A + 3 & $ < +$ $ & 2$ & $ 3 #'' $ ( &#& start == 0 reset = 0, show_int = 0, cnt_en = 0 start == 1 reset = 0, show_int = 0, cnt_en = 1 idle stop == 1 show_int = 0 cnt_en = 0 reset = 1 stop == 0 & start = 0 reset = 0, show_int = 0, cnt_en = 1 stop == 1, reset = 0 show_int = 0, cnt_en = 0 stop == 0 & start == 1 hold run stop == 0 & start == 1 reset = 0, show_int = 0, cnt_en = 1 reset = 0 show_int = 1, cnt_en = 1 inttime reset = 0, show_int = 0 cnt_en = 1 stop == 0 & start == 0 reset = 0, show_int = 0, cnt_en = 0 #'' # 7 B3 5 # 5"06 3 0 C&( ) $' # %& & $ 3 7' %&' ' 1 # & # 3 0 1 $ &* $ # &3 2 * #'' 3 0 6$ ' $ ' 3 Register zur Speicherung der Zwischenzeit clk show_int Multiplexer 0 1 2 3 cnt_min(3:0) 4 cnt_sec1(3:0) 5 cnt_sec0(3:0) 6 cnt_mil(3:0) 7 A(1:0) BCD/7 Dekoder segment(6:0) A(2) Zähler 0 bis 3 Dekoder digit(3:0) Anzeigelogik #'' * # ) ¯ 1' + & B3 4 )& & & C 4 )& C D # C C D- 1 C / @6B % @ C 0 - C D 0 C 0 C ! C 0 C E 4 C 0 % C !/ = C 0 C - E D