Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Esempio b:
Progettare un circuito sequenziale con un ingresso e due uscite z1 e z0. Si consideri la sequenza s costituita
dagli ultimi tre bit di x. L’uscita z1 deve essere uguale a 1 se s considerato come valore in Ca2
(complemento a 2), è un valore negativo dispari, mentre z0 deve essere 1 se s, considerato come valore in
base 2, è un multiplo di 3. Si considerino anche eventuali sovrapposizioni. Si trascurino gli stati
iniziali/si ignorino i primi 2 output.
Esempi x 0101100111
z1 --01000001
z0 --00110010
minuto 1:00:00
Esempio c:
Progettare
un circuito
MOLTO
IMPORTANTE
SAPER FARE QUESTI ESEMPI, non questo
affianco, in generale l’esempio.
Deriving the state transition diagram from a schematic follows nearly the reverse process of FSM design.
Es:
Alyssa P. Hacker arrives home, but her keypad lock has been rewired and her old code no longer works. A
piece of paper is taped to it showing the circuit diagram in Figure 3.35.
Alyssa thinks the circuit could be a finite state machine and decidesto
derive the state transition diagram to see if it helps her get in the door.
Alyssa can see that the finite state machine unlocks the door only
after detecting an input value, A[1:0], of three followed by an input
value of one. The door is then locked again. Alyssa tries this code
on the door key pad and the door opens!
Esercizio di analisi FSM preso da esami passati:
PSD15
TIMING:
OUTPUT TIMING CONSTRAINTS( I tpd tcd dipendono solo dal clk, invece nella logica combinatoria dagli
ingressi):
Propagation delay: tpcq = time after clock edge that the output Q is guaranteed to be stable (i.e., to
stop changing)
Contamination delay: tccq = time after clock edge that Q might be unstable (i.e., start changing)
DISCIPLINA DINAMICA:
Synchronous sequential circuit inputs must be stable during aperture (setup and hold) time around
clock edge (dobbiamo garantirci che gli input siano stabili per il tempo di apertura)
Specifically, inputs must be stable
o at least tsetup before the clock edge
at least until thold after the clock edge
SETUP TIME CONSTRAINT:
CLOCK SKEW:
La
formula della frequenza -> f = 1 / T, quindi f*T = 1 , quindi bisogna trovare quel valore per il
quale esca 1: 0,005 * 200 = 1 o 1000 o ecc , qundi -> 200 ps ovvero il periodo * f = 1
Unita di misura:
milli = 10^-3
micro = 10^-6
nano = 10^-9
pico = 10^-12
quindi è 200*10^-12 = 200 / 10^12 oppure 200 *5 fa 1000 mi devo levare 3 ordini di grandezza
quindi viene 1 GHz. Quindi la frequenza massima è 5 GHz.
La latenza è quella minima, qunid 1, il throughput è quante operazioni faccio in tempo: 5 miliardi di colpi di
clock al seconod, quindi fa 5 Gops/s
1:14