· EEM211
EEM211 Sayısal Mantık Tasarımı: Ardışıl Devre Analizi ve 010 Dizi Detektörü Deneyleri (İKÜ Logic Circuits II Lab, 2009)
EEM211 – Sayısal Mantık Tasarımı · 01.11.2009 · 16.10.2026
Bu yazı, EEM211 Sayısal Mantık Tasarımı dersinin laboratuvar klasöründe bulunan iki İngilizce deney föyünü aktarıyor: İstanbul Kültür Üniversitesi (İKÜ) Elektronik Mühendisliği Bölümü, Logic Circuits II LAB dersinin Experiment 3: Sequential Circuit Analysis (Kasım 2009 güncellemesi) ve Experiment 4: Sequence Detector Analysis (Ekim 2009 güncellemesi) föyleri. Deneyler TTL entegrelerle (7476, 7400, 7402) breadboard üzerinde kuruluyor, ön çalışmada Proteus ile benziyor. Föyler İngilizce olduğundan içerik İngilizce bırakıldı. Orijinal Word dosyaları yazının sonunda ZIP olarak indirilebilir.
Bu içerik üçüncü taraf bir kaynağa aittir; arşiv ve nostalji amacıyla kaynak belirtilerek paylaşılmıştır. Hak sahibinin talebi hâlinde kaldırılır.
Experiment 3: Sequential circuit analysis
Objectives: Understanding synchronous sequential circuit analysis, Moore and Mealy machines, time diagrams, hazardous and non-hazardous faulty outputs, IC optimization.
Introduction: The aim of logic design is to minimize the number of memory elements and minimal-input-span gates. At realization level we have to use commercially available SSI elements. Normally, there exist two memory elements or four two-input gates within each commercially available SSI. Therefore SSIC minimizations are required as well as memory and gate minimization. The logic circuits given in Figure 1 and Figure 2 are equivalent. The first one requires a total of six SSI components: one for the D FF, one for the JK FF, one for EXOR, one for AND and one for OR gates. The second one requires only three SSI components: one for the JK FFs and two for NAND gates. This means three SSI components will be adequate instead of six.


Preliminary work: Find the state diagram for the logic circuit given in Figure 2. Simulate this circuit on Proteus for the inputs given on the report page and also for the verification of the state diagram you found.
Procedure:
- Realize the circuit given in Figure 2 on the breadboard.
- 7476 and 7408 data sheets are available on the course web page.
- Do not forget power and ground connections.
- Use standard switches (TTL SWT) for R, S control inputs as required.
- Use a negative pulsar switch for the clock input.
- Use LEDs for states and z output observation.
- Complete the time diagrams of Q1Q2 states and z output for the initial states 00 and 11.
Required components: one 7476 JK FF IC and two 7400 NAND ICs.
Report questions:
- Explain why the circuits given in Figures 1 and 2 are equivalent.
- How many different output sequences can we observe for the same given input sequence? Why?
- Why do we observe faulty outputs in this circuit?
- In which time interval could we observe faulty outputs? Why?
- In order to see non-hazardous faulty outputs only, what would you do? Why? (Hint: additional FF)
- Find an initial state and input sequence which gives a hazardous faulty (0) output. Repeat this for hazardous faulty (1).
Experiment 4: Sequence detector analysis
Objectives: Understanding Mealy and Moore machine analysis of a sequence detector and comparing the results.
Introduction: A three-input-length (010) sequence detector (as a Moore and also as a Mealy machine) will be examined.
Preliminary work: We wish to design a circuit which detects separate (010) sequences in a string of bits coming through an input line (i.e., the input is a serial bit stream). Once the (010) sequence is detected, the output becomes 1, otherwise it stays 0. The first bit coming to the input is the one on the left:
Example input stream: 00100101010010
Example output stream: 00010010001001
Before coming to the lab, find the state diagrams of this sequence detector a) as a Mealy machine, b) as a Moore machine, and simulate both realizations on Proteus for the example input stream. (Föyde iki gerçekleştirmenin devre şeması bir resim olarak verilmiş; Word dosyası dönüştürülürken bu resim görünmüyor.)
Not: "Separate" ifadesine uygun olarak örnekte iç içe geçen diziler sayılmıyor: 5–7. bitlerdeki 010 algılandıktan sonra, 7. biti paylaşan 7–9. bitlerdeki 010 sayılmıyor; bir sonraki algılama 9–11. bitlerde. Örnek çıkış bu kurala göre kontrol edildi ve doğru.
Procedure:
- Set up the given Mealy machine on your board.
- Do not forget power and ground connections.
- Use standard switches (TTL SWT) for preset and clear control inputs as required.
- Use a standard switch (TTL SWT) for the x input.
- Use a negative pulsar switch for the clock input.
- Use LEDs for states and z output observation.
- Verify your Mealy machine realization on the breadboard with the state diagram you found in the prelab work.
- Apply the sample input bit stream and observe the output stream. Compare your results with the Proteus graphical result.
- Draw time diagrams for the x input, the y1, y2 state variables and the z output.
Attention: for each input there should be a clock pulse; the initial state 00 should be arranged with the preset and clear inputs, and the example input stream applied right after the initial state. Required components: 7476 JK FF, 7402 NOR gates IC.
Not: Föyde "bu durumda 13 saat darbesi gerekir" yazıyor; örnek giriş dizisi 14 bit olduğundan 14 darbe gerekir.
Report questions:
- Could there be any unexpected faulty output at the output bit stream of the Mealy machine you realized? a) If yes, give an input sequence which gives an unexpected (hazardous) faulty output (zararlı hatalı çıkış). b) If no, is it worth choosing the Moore realization instead of Mealy?
- If you change the chosen state assignment with another one, will you still have a valid design? Why?
- How would a state assignment change affect a sequential design? Does it affect the number of FFs? Why?
- Could we choose any state as the initial state? Why?
- Can we say a Moore machine is always preferable since there won't be any false outputs?