
























Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!

























A
C
B
A
Vdd
D
OUT
Soluzione prova di Elementi di Elettronica 24-6-
1) Eseguire la somma dei seguenti numeri binari espressi in complemento a 2. 0000 0100 + 1111 1001
2) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare una copertura minima
della funzione (non completamente specificata) descritta da
ON-set=(0,1,3,4,5,15) DC-set=(2,7,10). E=essenziale, M=copertura minima. Siano ABCD le variabili
AB
CD
A
D
B
C
AB
CD
A
D
B
C
1
1
1 1
1
0
1
1
1
AB
CD
A
D
B
C
AB
CD
A
D
B
C
1
1
1 1
1
0
1
0
1
4) Trovare la funzione realizzata del seguente circuito e disegnare il corrispondente circuito CMOS
6) Trovare il valore di Vin e le zone di funzionamento dei dispositivi
γ
=0.6V, β 1
=β 2
=20 μA/V
2 , V THn
THp
in
= 30 μA, V dd
Vin= 4.4V, I D
= 115.6μA, I D
= 0 μA, I D
= 145.6μA
5) Determinare il valore dei segnale x e c nei seguenti istanti di
tempo t= 90ns, t= 105ns, t= 120ns
entity es1 is port (c: out bit); end es1;
architecture behavioural of es1 is
signal a,b,x: bit;
begin
x<=a and b ;
c<=x after 10 ns;
stimulus: process
begin a <= '0'; b <= '1';
wait for 100 ns;
a <= '1';
wait;
end process;
end behavioural;
soluzione
ns ∆ a b x c
0 +0 0 0 0 0
0 +1 0 1 0 0
100 +1 1 1 0 0
100 +2 1 1 1 0
110 +0 1 1 1 1
entity es2 is
port (c: out bit);
end es2;architecture behavioural of es2 is
signal a,b,x: bit;
begin
core: process(a)
begin
c<= a or b after 10 ns;
end process;
stimulus: process
begin
b <= '0';
wait for 50 ns;
a <= '0';
wait for 50 ns;
b <= '1';
wait for 50 ns;
a <= '1';
wait;
end process;
end behavioural;
soluzione
ns ∆ a b c
0 +0 0 0 0
100 +1 0 1 0
150 +1 1 1 0
160 +0 1 1 1
entity es3 is
port (c: out bit);
end es3;
architecture behavioural of es3 is
signal a,b: bit;
begin
c<=a or b after 10 ns;
stimulus: process
begin
b <= '0';
wait for 50 ns;
a <= '0';
wait for 50 ns;
b <= '1';
wait for 50 ns;
a <= '1';
wait;
end process;
end behavioural;
soluzione
ns ∆ a b c
0 +0 0 0 0
100 +1 0 1 0
110 +0 0 1 1
150 +1 1 1 1
Iin
M
D
Vin
M
Vdd
S
B
X
A
X
A B
X
X
Soluzioni dell’ Esame di Elementi di Elettronica 26-6-
1) Eseguire la somma dei seguenti numeri binari espressi in complemento a 2.
10
10
10
10
10
10
10
10
10
10
10
10
2) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare una copertura minima
della funzione E=essenziale, M=copertura minima. Siano ABCD le variabili
ON-set=(0,1,2,3,7,9,11,15) BD EM , CD EM , AB EM
ON-set=(0,1,2,3,8,9,10,11,12,14,15). B EM , AC EM , AD EM
ON-set=(4,5,7,9,11,12,13,14,15) BC EM , AD EM , AB EM , BD EM
ON-set=(0,2,6,8,9,10,12,13,14) C D EM , BD EM , AC EM , AD
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la seguente funzione
5) Determinare il valore dei segnali c e s nei seguenti istanti di tempo
t= 65ns c = 1 s = 0 t= 75ns c = 1 s = 1
t= 65ns c = 1 s = 1 t= 75ns c = 1 s = 1
t= 65ns c = 1 s = 1 t= 75ns c = 1 s = 0
t= 65ns c = 1 s = 0 t= 75ns c = 1 s = 0
entity es4 is
port (s: out bit);
end es4;
architecture behavioural1 of es4 is
signal a,b,c: bit;
begin
c <= a after 10 ns;
s <= c and b after 10 ns;
s <= c or b after 10 ns;
s <= c nand b after 10 ns;
s <= c nor b after 10 ns;
stimulus: process
begin
b <= '0';
a <= '0';
wait for 50 ns;
b <= '1';
a <= '1';
wait;
end process;
end behavioural;
Soluzioni dell’ Esame di Elementi di Elettronica 8-7-
1) Eseguire la somma dei seguenti numeri binari espressi in complemento a 2.
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare una copertura minima
della funzione E=essenziale, M=copertura minima. Siano ABCD le variabili
4) Trovare le funzioni Z1, Z2, Z3, Z
Vdd
B
R
R
R
R
C Z1^ Z2^ Z3^ Z
Vdd
Vdd
B
R
R
R
R
C Z1^ Z2^ Z3^ Z
Vdd
Vdd
R
R
R
R
Vdd
Vdd
B
R
R
R
R
C Z1 Z2 Z3 Z
Vdd
5) Determinare il valore dei segnali a, b, c nei seguenti istanti
a b c
t= 61ns 1 0 1
t= 91ns 1 0 0
t= 71ns 1 1 1
t=101ns 1 0 1
t= 81ns 1 1 0
t= 91ns 1 0 0
t= 81ns 1 1 0
t= 101ns 1 0 1
entity es5 is
end;
architecture behavioural of es5 is
signal a,b,c: bit;
begin
process(a,c)
begin
b<= a and c after 10 ns;
end process;
process(a,b)
begin
c<= a and (not b) after 10 ns;
end process;
process
begin
a <= '0';
wait for 50 ns;
a <= '1';
wait;
end process;
end behavioural;
6) Trovare il valore di Vout e le correnti sui MOSFET e le zone di funzionamento dei dispositivi
dd
THn
THp
=β 2
=β 3
=20 μA/V
2
a
in
3
1
2
D1=
2 1
in tn
β
− = 10 μ A , I D
2 2
a tn
β
− = 40 μ A ,
Vout= Vdd – R 1 [I (^) D1 + I (^) D2 + (Vout-Vin)/R 2 ] Vout = [Vdd + Vin R 1 /R 2 - R 1 (ID1 + I (^) D2 )] / (1+ R 1 /R 2 )
Vout= [5 + 2 – 0.5] / 2 = 3.25 V I (^) R1 = (Vdd - Vout)/R 1 = 175 μ A
a
in
D
= 4 0 μ A , I D
= 10 μ A ,
Vout== [5 + 3 – 0.5] / 2 = 3.75 V I R
= 125 μ A ,
a
in
3
1
2
D
= 10 μ A , I D
= 40 μ A ,
Vout= [5 + 2 – 1] / 2 = 3 V I R
= 100 μ A
I (^) D1= 4 0 μ A , I (^) D2= 10 μ A ,
Vout== [5 + 3 – 1] / 2 = 3.5 V I (^) R1 = 75 μ A
R 2
M2 (^) V a
V d d
R 1
M
Vout
M
V d d
Vin
5.2) entity es6 is end;
architecture behavioural of es6 is
signal a,b,c, x, y: bit;
begin
process(c) begin
y<= a and b after 2 ns;
end process;
process(y) begin
x<= b and y after 5 ns;
end process;
process
begin
a <= '0'; b <= '0'; c <= '0';
wait for 10 ns;
a <= '1'; c <= '1';
wait for 10 ns;
b <= '1';
wait for 10 ns;
c <= '0';
wait for 10 ns;
c <= '1';
wait;
end process;
end behavioural;
soluzione a b c x y
t= 31ns 1 1 0 0 0
t= 35ns 1 1 0 0 1
t= 39ns 1 1 0 1 1
t= 41ns 1 1 1 1 1
t= 49ns 1 1 1 1 1
5.3) entity es6 is end;
architecture behavioural of es6 is
signal a,b,c, x, y: bit;
begin
process(c) begin
x<= a and b after 2 ns;
end process;
process(c) begin
y<= b and x after 5 ns;
end process;
process
begin
a <= '0'; b <= '0'; c <= '0';
wait for 10 ns;
a <= '1'; c <= '1';
wait for 10 ns;
b <= '1';
wait for 10 ns;
c <= '0';
wait for 10 ns;
c <= '1';
wait;
end process;
end behavioural;
soluzione a b c x y
t= 31ns 1 1 0 0 0
t= 35ns 1 1 0 1 0
t= 39ns 1 1 0 1 0
t= 41ns 1 1 1 1 0
t= 49ns 1 1 1 1 1
5.4) entity es6 is end;
architecture behavioural of es6 is
signal a,b,c, x, y: bit;
begin
process(c) begin
y<= a and b after 2 ns;
end process;
process(c) begin
x<= b and y after 5 ns;
end process;
process
begin
a <= '0'; b <= '0'; c <= '0';
wait for 10 ns;
a <= '1'; c <= '1';
wait for 10 ns;
b <= '1';
wait for 10 ns;
c <= '0';
wait for 10 ns;
c <= '1';
wait;
end process;
end behavioural;
soluzione a b c x y
t= 31ns 1 1 0 0 0
t= 35ns 1 1 0 0 1
t= 39ns 1 1 0 0 1
t= 41ns 1 1 1 0 1
t= 49ns 1 1 1 1 1
6) Trovare il valore di Vout, Vx e le correnti sui MOSFET e le zone di funzionamento dei dispositivi
=β 2
=β 3
=β 4
=20 μA/V
2
I (^) D1= 10 μA, I (^) D2 = 10 μA, I (^) D3= 10 μA, I (^) D4= 0 μA, Vout= 4V Vx=2 V
dd
THn
THp
=β 2
=β 3
=β 4
=20 μA/V
2
in
D
= 40 μA, I D
= 40 μA, I D
= 40 μA, I D
= 0 μA, Vout= 7V Vx=4 V
dd
THn
THp
=β 2
=β 3
=β 4
=20 μA/V
2
in
D
= 10 μA, I D
= 10 μA, I D
= 10 μA, I D
= 0 μA, Vout= 2V Vx=4 V
=β 2
=β 3
=β 4
=20 μA/V
2
I (^) D1= 40 μA, I (^) D2 = 40 μA, I (^) D3= 40 μA, I (^) D4= 0 μA, Vout= 3V Vx=6 V
Vout
V d d
Vx
M
M
M
M
Vin
M
M
M
Vin
Vx
M
V d d
Vout
A
Vdd
B
R
R
R
R
C Z1^ Z2^ Z3^ Z
Vdd
DD
D
C
V
A
B E
Z
A
B
D
E C
DD
D
C
V
A
B E
Z
A
B
D
E C
B
B
C
C
Soluzione Esame di Elementi di Elettronica 9-12-
A B C Z
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
Somma canonica A’B’C + A’BC’ + AB’C’ + AB’C + ABC
2) Scrivere come somma minima la funzione implementata dal seguente circuito CMOS
Somma minima A’B’ + B’C’ + A’D’E’ +C’D’E’
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali
e selezionare una copertura minima della funzione E=essenziale, M=copertura minima.
Siano ABCD le variabili ON-set = (0,1,2,3,5,7,9,11,15)
4) Trovare le funzioni Z1, Z2, Z3, Z
5) Determinare il valore dei segnali a, b, c nei seguenti istanti
entity es_dic_03 is
end;
architecture behavioural of es_dic_03 is
signal a,b,c, clk: bit;
begin
process(clk)
begin
b<= a after 2 ns;
end process;
c<= b after 2 ns;
process
begin
a <= '0';
wait for 35 ns;
a <= '1';
wait for 40 ns;
a <= '0';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ns;
end process;
end behavioural;
a b c
t= 40ns 1 0 0
t= 41ns 1 0 0
t= 43ns 1 1 0
t= 45ns 1 1 1
t= 80ns 0 1 1
t= 81ns 0 1 1
t= 83ns 0 0 1
t= 85ns 0 0 0
6) Trovare il valore di Vout, Vx e le correnti sui MOSFET e le zone di funzionamento dei dispositivi
dd
a
THn
THp
n
=β p
=500 μA/V
2
in
0
Mn: SAT Mp: SAT
Dn
= 250 μA, I Dp
= 750 μA Vout= 5.23 V Vx= 0.5 V
0
Mp
Mn
Vdd
Va
Vout
Vin
Vx
S
B
X
A
X
A B
X
X
V (^) A=2V, V (^) B=5V, V (^) C=2V, VD=5V, VTH = -1V, λ=0, β = 20 μA/V
2
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare una copertura minima
della funzione E=essenziale, M=copertura minima. Siano ABCD le variabili ON-set = (0,3,4,5,6,9,11,12,14)
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la funzione
5) Determinare il valore dei segnali a, b, c nei seguenti istanti
d c q
t= 130ns 0 0 0
t= 190ns 1 1 1
t= 230ns 1 0 1
t= 270ns 1 1 1
t= 370ns 1 1 1
t= 390ns 0 1 0
t= 430ns 0 0 0
entity FF is
port (c: in bit; d: in bit; q: out bit);
end FF;
architecture behav of FF is
begin
process (c,d)
begin
q<=d;
end process;
end;
entity test_bench is end;
architecture behaviour of test_bench is
component ff
port (c: in bit; d: in bit; q: out bit);
end component;
signal q,d,c: bit;
begin
DUT : ff port map (c, d, q);
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
c<= tmp;
wait for 50 ns;
end process;
stimulus: process
begin
d <= '0';
wait for 180 ns;
d <= '1';
wait for 200 ns;
d <= '0';
wait for 2000 ns;
end process;
end behaviour;
dd
THn
THp
β 1
=β 2
=100 μA/V
2 , β 3
=50 μA/V
2
D
= 200 μA, I D
= 50 μA I D
= 100 μA
Vout= 3.0 V Vx= 2.0 V
B
C D
A
R
Vin
M
Vout
M
Va
Vx
VDD
M
R
VDD
VDD
S
B
X
A
X
A B
X
X
V (^) A=0V, V (^) B=0V, V (^) C=5V, V (^) D=5V, VTH = -1V, λ=0, β = 20 μA/V
2
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare una copertura minima
della funzione E=essenziale, M=copertura minima. Siano ABCD le variabili ON-set = (1,3,4,6,8,9,11,13,14)
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la funzione
5) Determinare il valore dei segnali a, b, c nei seguenti istanti
d c q
t= 130ns 0 0 0
t= 190ns 1 1 1
t= 230ns 1 0 1
t= 270ns 1 1 1
t= 370ns 1 1 1
t= 390ns 0 1 1
t= 430ns 0 0 1
entity FF is
port (c: in bit; d: in bit; q: out bit);
end FF;
architecture behav of FF is
begin
process (c,d)
begin
if (c='1' and d=’1’) then
q<=d;
end if ;
end process;
end;
entity test_bench is end;
architecture behaviour of test_bench is
component ff
port (c: in bit; d: in bit; q: out bit);
end component;
signal q,d,c: bit;
begin
DUT : ff port map (c, d, q);
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
c<= tmp;
wait for 50 ns;
end process;
stimulus: process
begin
d <= '0';
wait for 180 ns;
d <= '1';
wait for 200 ns;
d <= '0';
wait for 2000 ns;
end process;
end behaviour;
dd
THn
THp
β 1
=β 2
=100 μA/V
2 , β 3
=50 μA/V
2
D
= 200 μA, I D
= 200 μA I D
= 25 μA
Vout= 2.325 V Vx= 3.0 V
B
C D
A
VDD
VDD
R
Vin
M
Vout
M
Va
Vx
VDD
M
R
S
B
X
A
X
A B
X
X
A) Soluzione Esame di Elementi di Elettronica 26-7-
1) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
2) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali
e selezionare una copertura minima della funzione E=essenziale, M=copertura minima.
Siano ABCD le variabili ON-set = (0,1,3,4,5,7,10)
3) Implementare con un circuito CMOS in logica random la seguente funzione
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la seguente funzione
5) Determinare il valore dei segnali x, y, z nei seguenti istanti
entity esempio is
end;
architecture behavioural of esempio is
signal x,y,z, clk: bit;
begin
process(clk,x)
begin
y<= x after 2 ns;
z<= y after 2 ns;
end process;
process
begin
x <= '0';
wait for 35 ns;
x <= '1';
wait for 30 ns;
x <= '0';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ns;
end process;
end behavioural;
x y z
t= 40ns 1 1 0
t= 41ns 1 1 0
t= 43ns 1 1 1
t= 45ns 1 1 1
t= 60ns 1 1 1
t= 66ns 0 1 1
t= 70ns 0 0 1
t= 75ns 0 0 0
6) Trovare il valore di V out
e le correnti nei MOSFET : V in
dd
THn
THp
= β 2
= 160 μA/V
2 , β 3
= 80 μA/V
2 , β 4
= 200 μA/V
2 .
Vout=3.678 V, Vx=1.5 V, I (^) D1= I (^) D2= 51.2 μA, I (^) D3= 211.6 μA, I (^) D4= 262.8 μA
Vdd
Vout
M
M
M
Vx
VA M
Vin
Vdd
S
B
X
A
X
A B
X
X
B) Soluzione Esame di Elementi di Elettronica 26-7-
1) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
2) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali
e selezionare una copertura minima della funzione E=essenziale, M=copertura minima.
Siano ABCD le variabili ON-set = (2,4,5,8,9,12,13)
3) Implementare con un circuito CMOS in logica random la seguente funzione
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la seguente funzione
5) Determinare il valore dei segnali x, y, z nei seguenti istanti
entity esempio is
end;
architecture behavioural of esempio is
signal x,y,z, clk: bit;
begin
process(clk)
begin
y<= x after 2 ns;
z<= y after 2 ns;
end process;
process
begin
x <= '0';
wait for 35 ns;
x <= '1';
wait for 30 ns;
x <= '0';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ns;
end process;
end behavioural;
x y z
t= 40ns 1 0 0
t= 41ns 1 0 0
t= 43ns 1 1 0
t= 45ns 1 1 0
t= 60ns 1 1 1
t= 66ns 0 1 1
t= 70ns 0 1 1
t= 75ns 0 0 1
6) Trovare il valore di V out
e le correnti nei MOSFET : V in
dd
THn
THp
= β 2
= 160 μA/V
2 , β 3
= 80 μA/V
2 , β 4
= 200 μA/V
2 .
Vout=2.322 V, Vx=4.5 V, I (^) D1= I (^) D2= 51.2 μA, I (^) D3= 211.6 μA, I (^) D4= 262.8 μA
Vdd
M
M
Vx
Vdd
Vout
M
VA Vin
M
S
B
X
A
X
A B
X
X
D) Soluzione Esame di Elementi di Elettronica 26-7-
1) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
2) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali
e selezionare una copertura minima della funzione E=essenziale, M=copertura minima.
Siano ABCD le variabili ON-set = (2,3,6,7,8,14,15)
3) Implementare con un circuito CMOS in logica random la seguente funzione
4) Trovare i valori di X1, X2, X3, X4 affichè il circuito implementi la seguente funzione
5) Determinare il valore dei segnali x, y, z nei seguenti istanti
entity esempio is
end;
architecture behavioural of esempio is
signal x,y,z, clk: bit;
begin
process(clk)
begin
y<= not x after 2 ns;
z<= y after 2 ns;
end process;
process
begin
x <= '0';
wait for 35 ns;
x <= '1';
wait for 30 ns;
x <= '0';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ns;
end process;
end behavioural;
x y z
t= 40ns 1 1 1
t= 41ns 1 1 1
t= 43ns 1 0 1
t= 45ns 1 0 1
t= 60ns 1 0 0
t= 66ns 0 0 0
t= 70ns 0 0 0
t= 75ns 0 1 0
6) Trovare il valore di V out
e le correnti nei MOSFET : V in
dd
THn
THp
= β 2
= 80 μA/V
2 , β 3
= 80 μA/V
2 , β 4
= 200 μA/V
2 .
Vout=2.241 V, Vx=4.5 V, I (^) D1= I (^) D2= 25.6 μA, I (^) D3= 211.6 μA, I (^) D4= 237.2 μA
M
M
Vx
Vdd
Vout
M
VA Vin
M
1) Applicando i teoremi dell’algebra Booleana, semplificare ed espandere la seguente espressione in una somma di prodotti di letterali
2) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali
e selezionare una copertura minima della funzione E=essenziale, M=copertura minima.
Siano ABCD le variabili
ON-set = (0,1,2,3,9,11) A B ⋅ (E,M) , B ⋅ D (E,M) ...................................................
ON-set = (2,4,6,,10,12,14) C ⋅ D (E,M) , B ⋅ D (E,M)
ON-set = (1,3,8,9,10,11) A B ⋅ (E,M) , B ⋅ D (E,M)
ON-set = (0,4,6,8,12,14) C ⋅ D (E,M) , B ⋅ D (E,M)
3) Trovare i valori delle tensioni Vx, Vy e Vout, una volta esaurito il transitorio di carica o scarica dei condensatori.
Sia V THn
THp
=-1V, soglia logica dell’inverter V TL
in
x
(t=0)=0 V, V y
(t=0)=0 V: V x
y
out
in
x
(t=0)=5 V, V y
(t=0)=5 V: V x
y
out
in
x
(t=0)=0 V, V y
(t=0)=0 V: V x
y
out
in
x
(t=0)=5 V, V y
(t=0)=5 V: V x
y
out
4) Determinare il valore dei segnali nei seguenti istanti
entity esempio is
end;
architecture behavioural of esempio is
signal in1, in2, x, y, out1, out2, clk, rst: bit;
begin
x <= in1 xor in2;
process(clk,rst)
begin
if (rst='1') then
y<= '0'; out2<= '0'; out1<= '0';
else
y<= x after 2 ps;
out2<= y after 2 ps;
out1<= in1 after 2 ps;
end if;
end process;
process
begin
rst <= '1'; in1 <= '0'; in2 <= '0';
wait for 15 ps;
rst <= '0';
wait for 10 ps;
in1 <= '1';
wait for 30 ps;
in2 <= '1';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ps;
end process;
end behavioural;
t(ps) in1 in2 x y out1 out
5V
5V 0V
Vx Vy Vin Vout
5V
0V 5V
Vx Vy Vin Vout
Soluzione Esame di Elementi di Elettronica 13-12-
A B C Z
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
2) Implementare nella seguente PLA le funzioni:
1 2 3 4
3) Utilizzando la mappa di Karnaugh, individuare tutti
gli implicanti primi, evidenziare quelli essenziali e selezionare
una copertura minima della funzione. E=essenziale, M= minima.
Siano ABCD le variabili ON-set = (2,3,6,7,8,9,10,11,15)
4) Determinare il valore dei segnali nei seguenti istanti
entity es_dec_04 is end;
architecture behavioural of es_dec_04 is
signal x, y, clk, rst: bit;
begin
y <= not x;
process(clk,rst)
begin
if (rst='1') then x<= '0';
elsif (clk'event and clk='1') then x<= y after 2 ps;
end if;
end process;
process
begin
rst <= '1';
wait for 15 ps;
rst <= '0';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ps;
end process;
end behavioural
x y rst
t= 25ps 0 1 0
t= 30ps 0 1 0
t= 35ps 1 0 0
t= 40ps 1 0 0
t= 45ps 1 0 0
t= 50ps 1 0 0
t= 55ps 0 1 0
t= 60ps 0 1 0
5) Supponendo che i MOSFET lavorino in saturazione, dati: V in
=50 μA, V dd
β 1
=50μA/V
2 β 2
= 100μA/V
2 −> Vout=1.816V, I (^) D116.7 μA, ID2= 33.3 μA vout/vin = gm2/(gm1+gm2) = 0.
6) Implementare con un circuito CMOS
in logica random la seguente funzione
AB
CD
A
D
B
C
AB
CD
A
D
B
C
1 1
1
1
1 1
(^1 )
1
20ps 40ps 60ps 80ps
Vdd
D
B
A
C
A
D
B (^) C
Z
A
Vdd
B
R
R
R
R
C Z1^ Z2^ Z3^ Z
Vdd
Non connesso Connesso
S
B
X
A
X
A B
X
X
Soluzione Esame di Elementi di Elettronica 11-1-
A B C Z
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
2) Trovare i valori di X1, X2, X3, X4 affinchè il circuito implementi la funzione
3) Utilizzando la mappa di Karnaugh, individuare tutti gli implicanti primi, evidenziare quelli essenziali e selezionare
una copertura minima della funzione. E=essenziale, M= minima. Siano ABCD le variabili
ON-set = (2,3,5,6,7,8,9,12,13,15) AC ( EM ), BD ( EM ), AC ( EM )
4) Determinare il valore dei segnali nei seguenti istanti
entity es_gen_05 is
end;
architecture behavioural of es_gen_05 is
signal x, a, clk, rst: bit;
begin
process(clk,rst,a)
begin
if (rst='1') then
x<= '0';
elsif (clk'event and clk='1') then
x<= a after 15 ps;
end if;
end process;
process
begin
rst <= '1'; a <= '0';
wait for 15 ps;
rst <= '0';
wait for 20 ps;
a <= '1';
wait for 10 ps;
a <= '0';
wait for 16 ps;
a <= '1';
wait;
end process;
clock: process
variable tmp: bit:='1';
begin
tmp:= not tmp;
clk<= tmp;
wait for 10 ps;
end process;
end behavioural;
x a rst
t= 10ps 0 0 1
t= 20ps 0 0 0
t= 30ps 0 0 0
t= 40ps 0 1 0
t= 50ps 0 0 0
t= 60ps 0 0 0
t= 70ps 0 1 0
t= 80ps 0 1 0
t= 90ps 1 1 0
t= 100ps 1 1 0
5) Supponendo che i MOSFET lavorino in saturazione, dati: V in
dd
THn
THp
=-1V, R = 10K Ω , β 1
=β 2
=β 3
=50μA/V
2 , β 4
= β 5
= 100μA/V
2 , trovare:
I (^) D1= 225 μA, I (^) D2 = 225 μA, I (^) D3= 225 μA, I (^) D4= 450 μA, I (^) D5 = 450 μA
Vout= 5.5 V, Vx= 8 V, Vy= 4 V, Vz= 4 V vout/vin=R gm4 gm1/gm3= 3
6) Scrivere la funzione logica implementata
dal seguente circuito in logica pseudo n_MOS
out = x + t ⋅ ( y + z )
M
M3 M
M2 M
R
Vdd
Vin
Vy
Vx
Vz
Vout
Vdd
t
z
x
y
out
AB
CD
A
D
B
C
AB
CD
A
D
B
C
1 1
1
1
1
1
1
1
1
1