EX6 - Digsys

Causes (par ex. blessures, chirurgie, analyses et actes médicaux ... 6. Faites la
liste des médicaments que vous prenez en ce moment, leur dose, leurs
fréquences, les ... Les examens médicaux les plus récents Date Médecin qui l'a
demandé.

Part of the document


[pic] [pic]
EX6 DIGITAL ELECTRONICS G________ After completing the task and studying Units 2.5, 2.8, and 2.9, students
will be able to: (check all that apply): o Design synchronous sequential systems or finite state machines (FSM)
using the canonical method consisting in the following steps:
a) FSM specifications using functions tables and state and timing
diagrams
b) Particularization of the general FSM structure for the given
problem
c) State coding in Gray, binary, one-shot, etc.
d) Design the CS2 for generating the output functions
e) Drawing the state memory using one of the following flip-flops:
D-type, JF-FF, T-FF flip-flop
f) Design the CS1 to determine the future state using transition
tables and the design-table for the type of FF selected
g) Simulate and verify the design applying a suitable testbench o Deduce how to structure CS1 using multiplexers for implementing
distinct state diagrams (count enable, parallel load, etc.)
o Expand counters using TC and CE signals to produce for example a real
time clock in HH:MM:SS
o Produce a written solution for the exercise using the instructions
from:
http://epsc.upc.edu/projectes/ed/unitats/unitat_1_1/Criteris_Corr
eccio_Exercici.pdf
o Work cooperatively in a team of 3 members using the method described
in:
http://epsc.upc.edu/projectes/ed/problemes/metode_resolucio_coope
rativa_recomanat.pdf Write down the most significant doubts or questions you have had while or
after completing the task:
-
-
-
STATEMENT:
My signature below indicates that I have (1) made equitable contribution to
EX3 as a member of the group, (2) read and fully agree with the contents
(i.e., results, conclusions, analyses, simulations) of this document, and
(3) acknowledged by name anyone outside this group who assisted this
learning team or any individual member in completing this document. Today's date: __________________
Active members Roles: (reporter, simulator, etc.)
1) ___________________________ _______________
2) ___________________________ _______________
3) ___________________________ _______________ Acknowledgement of individual(s) who assisted this group in completing this
document:
1) _______________________
2) _______________________ |Study time (in |Group (count all hours devoted to the | |
|hours) |study including class sessions) | |
| |Individual |Student 1 | |
| | |Student 2 | |
| | |Student 3 | |
| | | | |
| | | | | On the systematic (canonical) design of synchronous FSM For example, the counters HH:MM:SS for the real time clock In Fig. 1 we have the entity for the real time clock for the application
project, which gets the inputs from de keyboard encoder subsystem and
produces the outputs for the multiplexed 7-segment display system.
[pic] Fig. 1 The core of the real time clock to be designed as an
application project 1. Designing the basic module-6 binary counter a) Implement (steps a, b, c, d, e, and f of the canonical method) the
basic module-6 counter to activate the multiplexed display subsystem
as a canonical FSM using JK-FF which has the entity represented in
Fig. 2.
[pic] Fig. 2 Block for the binary module-6 counter to sweep the 7-segment
displays b) Implement a 600 Hz clock based on the 555 chip to autonomously run the
multiplexed display system
c) Verify it in Proteus -VSM (step g of the canonical method) the and add
the module to the main application project schematics 2. Designing the basic building block: a 1-digit BCD universal counter a) Specifications Fig. 3 represents the basic block for a cascadable 1-digit BCD universal
counter. Sketch all the state diagrams for the counter.
[pic] Fig. 3 Inputs and outputs for the FSM - Q[3..0]: BCD outputs
- IN[3..0]: parallel inputs
- LD: parallel load signal
- CE: count enable signal
- UD_L: up (active high) or down (active low) signal
- CD: asynchronous reset
- CLK: clock input
- TC10: terminal count
. Signal LD has precedence over CE, and CE has precedence
over UD_L.
. TC10 is high when counting up for Q[3..0] = '1001', and is
high when counting down for Q[3..0] = '0000'
|LD |CE |UD_L |Synchronous function mode |
|1 |X |X |Parallel load |
| | | |(parallel-parallel register) |
|0 |0 |X |Inhibit (do nothing) |
|0 |1 |0 |BCD down counter |
|0 |1 |1 |BCD up counter |
Fig. 4 Precedence table to determine the synchronous operation
modes of the FSM to be designed
b) Particularise the general architecture of a FSM for the given problem
and name all inputs, outputs and internal variables if D-type FF are
used as state registers. c) Code each state in BCD
d) Design the CS2 for generating the output functions constructing the
truth table and using any method from Chapter 1
e) Draw the state memory using D-type FF
f) On the design of the CS1 to determine the future state:
1. Due to its complexity, use multiplexers to organize and
structure the combinational block
2. Using a transition table and the design-table of the D-type FF,
complete the truth table for each of the circuits: CS1UP, CS1DW,
CSINH and CS1LD.
3. Produce each of the combinational blocks using whichever of the
Chapter 1 methods
4. Produce the multiplexers chaining elementary MUX2
g) Simulate and verify the design applying a suitable testbench to
demonstrate or "cover" the FSM operation 3. Designing the MM:SS blocks
Propose an architecture for the entity in Fig. 5 which has to be based on
cascading the 1-digit BCD modules designed previously plus extra
combinational blocs. In the application project must be two module-60
counters for producing the seconds (SS) and minutes (MM).
[pic] Fig. 5 Entity for the SS or the MM modules to be designed 4. And, how about the HH module?
The hours HH module has to work in AM-PM or 24 hours depending on the
position of a switch HM (hour mode)
- HM = '0' ( 24 hours mode:
00, 01, 02, ......, 22, 23, 00, 01, .....
- HM = '1' ( AM-PM mode plus LED outputs to illuminate labels:
[pic]
Draw in Fig. 6 the entity to be designed for the HH module.
[pic] Fig. 6 Entity for the HH module Design the HH module using the basic 1-digit cascadable BCD counter and
proposing an architecture similar to the one represented in Fig. 5.
[pic] [pic] 1 DIGITAL ELECTRONICS G________
2 Working plan[1] for solving the exercise EX____ Explain succinctly how the cooperative group has organize the realization
of the exercise: i.e., which has been your working plan; in which way has
you divided the task fairly so that more or less all of you are doing a
similar amount of work; how have you learned each other's materials; what
has been worked out in class time (sessions A and B) and what has been
resolved in sessions C; and so on... white down also your impressions or
opinions about how your group work is going[2] ...
---------------------------------- ---------------------------------
----- ---------------------------------------
Active members' signatures
-----------------------
[1] This document, filled before delivering the exercise, will be included
in the group learning portfolio
[2] Check similar documents in
http://epsc.upc.edu/projectes/ed/unitats/ED_05-
06_Q1_Autoavaluacio_Grup_Base.pdf, and
http://epsc.upc.edu/projectes/ed/unitats/que_va_malament_al_grup.pdf