90 likes | 223 Views
Dott. Salvatore Pontarelli E-mail:pontarelli@ing.uniroma2.it Orario ricevimento: mercoledi ore 11-13. Esercitazioni PLA/PAL. Esercizio 1 (PAL). 0. 0. 1. 1. 0. 0. 1. 1. 1. 1. 0. 0. 1. 1. 0. 0. 1. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 1. 0. 0. 0. 1. F = Σ(2,3,4,5,10,12).
E N D
Dott. Salvatore Pontarelli E-mail:pontarelli@ing.uniroma2.it Orario ricevimento: mercoledi ore 11-13 Esercitazioni PLA/PAL
Esercizio 1 (PAL) 0 0 1 1 0 0 1 1 1 1 0 0 1 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 F=Σ(2,3,4,5,10,12) B A 00 01 11 10 00 01 11 10 C D 1-set: F=AC’D’+AB’C’+A’CD’+A’B’C 0-set: F=(A’C’+BD+AC)’ Scelgo la rappresentazione con meno mintermini
Soluzione 1 OUT1 B’ B A’ A D’ D C’ C 1
Esercizio 2 (PAL) w(A,B,C,D)=Σ(2,12,13) x(A,B,C,D)=Σ(7,8,9,10,11,12,13,14,15) y(A,B,C,D)=Σ(0,2,3,4,5,6,7,8,10,11,15) z(A,B,C,D)=Σ(1,2,8,12,13) w=ABC’ +A’B’CD’ x=A+BCD y=A’B+CD+B’D’ z=ABC’+A’B’CD’+AC’D’+A’B’C’D=w+AC’D’+A’B’C’D Posso usare w per realizzare z
Esercizio 3 (PLA) x(A,B,C)=Σm(2,3,4,6) y(A,B,C)=Σm(3,4,5,6) 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 BC 00 01 11 10 BC 00 01 11 10 A0 1 A0 1 x=A'B+AC' y=A'BC+AB'+AC' Posso condividere i mintermini
Soluzione 3 B’ B A’ A C’ C OUTm Y X
Esercizio 4 (S-PLA) Codice Stato Seq. 000 S0 Start 001 S1 0 010 S2 01 011 S3 010 100 S4 0101 101 S5 01010 110 S6 010101
Esercizio 4 (S-PLA) PS Input y2y1y0 x = 0 x = 1 S0 000 001,0 000,0 S1 001 001,0 010,0 S2 010 011,0 000,0 S3 011 001,0 100,0 S4 100 101,0 000,0 S5 101 001,0 110,0 S6 110 101,0 000,1 111 - - -, - - - -, - Y2Y1Y0; z Y2 = y2y0’x’ + y2y0x + y1y0x Y1 = y1’y0x + y2’y1y0’x’ Y0 = x’ z = y2y1x