Professional Documents
Culture Documents
Full download Digital Systems Design Using Verilog 1st Edition Roth Solutions Manual all chapter 2024 pdf
Full download Digital Systems Design Using Verilog 1st Edition Roth Solutions Manual all chapter 2024 pdf
https://testbankfan.com/product/digital-systems-design-using-
vhdl-3rd-edition-roth-solutions-manual/
https://testbankfan.com/product/advanced-digital-design-with-the-
verilog-hdl-2nd-edition-ciletti-solutions-manual/
https://testbankfan.com/product/digital-design-with-an-
introduction-to-the-verilog-hdl-vhdl-and-systemverilog-6th-
edition-mano-solutions-manual/
https://testbankfan.com/product/fundamentals-of-logic-design-7th-
edition-roth-solutions-manual/
Digital Design 5th Edition Mano Solutions Manual
https://testbankfan.com/product/digital-design-5th-edition-mano-
solutions-manual/
https://testbankfan.com/product/communication-systems-analysis-
and-design-1st-edition-stern-solutions-manual/
https://testbankfan.com/product/digital-signal-processing-using-
matlab-3rd-edition-schilling-solutions-manual/
https://testbankfan.com/product/microwave-circuit-design-a-
practical-approach-using-ads-1st-edition-yeom-solutions-manual/
https://testbankfan.com/product/digital-design-and-computer-
architecture-2nd-edition-harris-solutions-manual/
Chapter 6: Designing with Field Programmable Gate Arrays
6.1 (a) 4 Cells, if N is used as the clock enable. When N = 1 then
X0+ = S' D0 + S X1 (3 variable function) (two 3 variable functions
X1+ = S' D1 + S X2 (3 variable function) will fit into one cell)
If the clock enable is not used each bit requires a separate cell: 8 cells total.
X0+ = N S' D0 + N S X1 + N' X0 (5 variable function)
(b)
6.2 (a) QA0+ = En (Ld U + Ld' QA0') + En' QA0 = En (X) + En' QA0
QA1+ = En (Ld V + Ld' (QA0 QA1) + En' QA1 = En (Y) + En' QA1
(b)
X = Ld U + Ld' QA0'
Y = Ld V + Ld' (QA0 QA1)
123
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Q0+ = EN' Q0 + EN (Ld D0 + Ld' Q1)
(b) Two cells
(c) Y = Ld D3 + Ld' Si
X = Ld D2 + Ld' Q3
6.4 (a) The next state equation of Q1 can be implemented using the X function generator with the inputs
R, S, Q1, and Q2. The next state equation of Q2 can be implemented using the Y function
generator with the inputs T, Q1, and Q2. The output P can be implemented using the Z function
generator with the inputs T (C input) and the X function generator.
(b)
6.5 (a) M = S2'S1'S0'I0 + S2'S1'S0I1 + S2'S1S0'I2 + S2'S1S0I3 + S2S1'S0'I4 + S2S1'S0I5 + S2S1S0'I6 + S2S1S0I7
The 8-to-1 MUX can be decomposed into seven 2-to-1 MUXes, and implemented in four Figure
6-1(a) logic blocks.
124
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
M = S2'MX + S2MY
Mx = S1'M1 + S1M2
MY = S1’M3 + S1M4
M1 = S0'I0 + S0I1
M2 = S0'I2 + S0I3
M3 = S0'I4 + S0I5
M4 = S0'I6 + S0I7
The X and Y functions for each block each implement one 2-to-1 mux as labeled:
125
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(b) Three 2-to-1 MUXes (or a 4-to-1 mux) can be implemented in each Figure 6-3 logic block. In
total, three blocks are required to implement seven 2-to-1 MUXes. The X, Y, and Z function
generators for each block implement a 2-to-1 MUX as labeled:
(c) Each function generator used implements a 2-to-1 mux, and has the same LUT contents:
0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1
126
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.6 (a) module Figure6_1a(X_in, Y_in, clk, CE, Qx, Qy, X, Y, XLUT, YLUT);
input [1:4] X_in, Y_in;
input clk, CE;
input [0:15] XLUT, YLUT;
inout X, Y;
output Qx, Qy;
initial begin
Qx = 1'b0;
Qy = 1'b0;
end
6.7 (a) module Figure6_3(X_in, Y_in, clk, CE, C, Qx, Qy, X, Y, XLUT, YLUT,
ZLUT,
SA, SB, SC, SD);
input [1:4] X_in, Y_in;
input clk, CE, C;
input [0:15] XLUT, YLUT;
input [0:7] ZLUT;
input SA, SB, SC, SD;
output X, Y;
output reg Qx, Qy;
127
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
initial begin
Qx = 1'b0;
Qy = 1'b0;
end
assign X = MuxB;
assign Y = MuxD;
endmodule
Figure6_3 B0(D_in, D_in, clk, 1'b1, 1'b0, Q3, Q2, T1, T2,
16'b0001111111000000,
16'b0110000001000000, 8'b00000000, 1'b0, 1'b0, 1'b0,
1'b0);
Figure6_3 B1(D_in, D_in, clk, 1'b1, 1'b0, Q1, T3, T4, Zout,
16'b1010001110000000,
16'b1010010110011000, 8'b00000000, 1'b0, 1'b0, 1'b0,
1'b0);
endmodule
6.8 (a) A 4-to-16 decoder requires 16 outputs, and each function needs no more than 4-variables. 8
Figure 6-1 (a) logic blocks are required.
6.10 Expanding F around X6 results in 4 variable functions which can be realized using one function
generator each.
F = X6 (X1' X2 X3 + X2 X3' X4' + X2 X3 X4') + X6' (X2' X3' X4 + X2 X3' X4' + X3' X4 X5) + X7
F = X6 (F1) + X6' (F2) + X7
For block one: X LUT has inputs X1, X2, X3, and X4 and realizes F1 = X1' X2 X3 + X2 X3' X4' + X2 X3
X4'.
Y LUT has inputs X2, X3, X4, and X5 and realizes F2 = X2' X3' X4 + X2 X3' X4' + X3' X4 X5
For block two: X LUT has the outputs of block one’s X LUT (F 1) and Y LUT (F2), X6, and X7 as
inputs. The X LUT realizes F = X6 (F1) + X6' (G1) + X7. The Y LUT is unused.
6.11 Expanding Q+ around U Q results in 4 variable equations which can be realized using one function
generator each.
For block one: X LUT has inputs V, W, X, and Y and realizes V' W + X' Y + V W'
Y LUT has inputs V, X, and Y and realizes V X' Y' + V' Y + X Y + V' X
129
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
For block two: X LUT has U, Q, and block one’s Xfunc and Yfunc as inputs and realizes
Q+ = U Q (Xfunc) + U' Q'(Yfunc)
6.12 To realize the next-state equations, we need to use at least four Kintex logic slices (Figure 6-13).
One Kintex logic slice is ¼ CLB. Therefore, only 1 CLB is needed.
6.13 One cell. Expanding around X5 results in 4 variable equations which can be realized using one
function generator each and X5 can be used as the C input.
X = X5 (X1' X2' X3' X4' + X1 X2 X3 X4) + X5' (X6 X7' X8' X9 + X6' X7 X8 X9')
Xfunc = (X1' X2' X3' X4' + X1 X2 X3 X4)
Yfunc = (X6 X7' X8' X9 + X6' X7 X8 X9')
Zfunc = X5 (Xfunc) + X5' (Yfunc)
130
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.14
6.15 (a) Expanding Z around Y results in 4 variable equations which can be realized using one function
generator each.
Z = Y (V W' X + U' V' W) + Y' (V W' X + T V' W)
Z = Zfunc = Y (Xfunc) + Y' (Yfunc)
131
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Implement internal logic cell connections in a manner similar to Problem 6.12 Solution with U,
V, W, and X as inputs to the X-function generator, T, V, W, and X as inputs to the Y-function
generator and Y as the C input.
Block 2: X-LUT has Y and Block 1’s Xfunc and Yfunc as inputs and realizes Z = Y (Xfunc) + Y'
(Yfunc)
Y-LUT is unused
6.16 F = X6 (X1' X2 X3' X4 + X2' X4' + X3 X4 X5 + X1 X3) + X6' (X2' X3' X4 + X2 X4 + X3' X4 + X1 X3)
132
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.18 Y = e'f ' Y00 + e'f Y01 + ef ' Y10 + efY11
Y00 = 0
Y01 = abcd
Y10 = a' bc'd ' + b'c'
Y11 = ab'cd + a'bc'd'
6.19 (a) Y = a' (bc'd'e + b'c'e) + a (b'cd'e + b'c'e + bcde) = a' (Y1) + a (Y2)
Y1 = bc'd'e + b'c'e
Y2 = b'cd'e + b'c'e + bcde
(b)
133
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(c)
bcde Y1 (Xfunc) Y2 (Yfunc)
0000 0 0
0001 1 1
0010 0 0
0011 1 1
0100 0 0
0101 0 1
0110 0 0
0111 0 0
1000 0 0
1001 1 0
1010 0 0
1011 0 0
1100 0 0
1101 0 0
1110 0 0
1111 0 1
6.20 (a) Eight LUTs are required. Each bit of the adder requires one LUT to generate the sum and one
LUT to generate the carry-out.
(b) Four LUT4s are required. Each bit of the adder requires one LUT4 to generate the sum.
Dedicated carry chain logic generates the carry-out.
134
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(c) When Su is 1, the circuit should add a to the 2’s complement of b by inverting each bit of b and
setting bit 0’s Cin to.
Su ai bi Cin Outi
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
135
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
136
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.21 (a) 14 cells total.
(b) 14 cells total: 6 for adders and 8 for AND gates but propagation delay is less.
6.22 (a) Z = A'(BC 'D ' EF ' + B'C 'E ' F + BC ' E ' F ') + A(B'CD ' E ' F + B'C ' E ' F + BCDE)
Z = A'(Z0) + A(Z1)
Z0 = D'(Y00) + D(Y01)
Y00 = BC ' EF ' + B'C ' E ' F + BC ' E ' F
Y01 = B'C ' E ' F + BC ' E ' F '
Z1 = D'(Y10) + D(Y11)
Y10 = B'C ' E ' F + B'CE ' F
Y11 = B'C ' E ' F + BCE
137
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(b)
138
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.23 (a) No solution available
(b)
(c)
139
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(d)
6.25 The sequential circuit requires 3 Virtex slices. For the first slice, the G inputs are Q2, C, D, and E (G
= Q2' C D E). The F inputs are Q2, A, B, and C (F = Q2 A B C). The BX input is Q1. Then the X flip-
flop implements the Q1 flip-flop. Also, if the FXA input is 1, the FXB input is 0, and the BY input is
Q1, then the Y flip-flop implements Q2. For the second slice, the G inputs are Q2, A, and B (G = Q2'
A B + Q2' A' B'). The F inputs are Q2, A, B, and C (F = Q2' A B' + Q2 (A' + B + C)). The BX input is
Q1. Then the output to the F5 MUX implements Z1. For the third slice, the G inputs are Q1, Q2, A,
and B (G = Q1 A' + Q1 B + Q2'). Then the Y combinational output implements Z2.
6.27 Stratix V logic module is similar to Stratix IV logic module, except that there are four flip flops
existing per logic module instead of the two in Stratix IV.
140
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
6.28
6.29 (a)
141
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
(c)
6.30 S0: Q0Q1Q2Q3 = 1000, S1: 0100, S2: 0010, S3: 0001
Q0+ = St'Q0 + Q3
Q1+ = StQ0 + K 'M 'Q1 + K 'Q2
Q2+ = MQ1
Q3+ = KM 'Q1 + KQ2
Load = StQ0
Done = Q3
Sh = M'Q1 + Q2
Ad = MQ1
6.31 S0: Q0Q1Q2Q3Q4Q5Q6 = 1000000, S1: 0100000, S2: 0010000, S3: 0001000, S4: 0000100, S5:
0000010,
S6: 0000001
142
© 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Another random document with
no related content on Scribd:
estavam ja lligats de mans, y en tal situació deguérem presenciar com
després prenia volada la Reforma, y mes tart se preparava la
Revolució que debia continuar la transformació comensada. La gent
directiva de la agrupació espanyola, portada per son carácter oposat
al nostre y per las circunstancias en que’s trobava, va veure aquells
fets trascendentals ab molts distints ulls que no los hauriam vist
nosaltres. Lo nostre carácter propi, no tenint camp d’acció, va haver
de deturarse en son desenrotllo, y es lley de la naturalesa que quan
un ser que viu troba obstacles invencibles que impedeixen sa
creixensa, s’enmalateix y degenera. De la nostra malaltia y
degeneració, donchs, no’n som responsables nosaltres sols. Gran part
de la culpa, sino tota, toca als que’ns tenian subjectes y lligats quan
ab més vigor hauriam hagut de creixer. No teniam altre cami que
debilitarnos y corrómprens, y debilitats y corromputs várem quedar.
Per aixó, desde fa alguns sigles se nota en Catalunya aquella barreja
de avens y de retrás; de costums suaus y fins afeminadas y d’instints
de feresa y de barbarisme. Quan Cervantes ab sa fina penetració va ja
notarho, fent que los peus d’uns bandolers penjats per collas,
deixessin conéixer á D. Quijote que habia arrivat prop de Barcelona,
en qual ciutat havia de trobar, en cambi, obsequis refinadíssims;
quan va condensar lo contrast y barreja en la persona d’en Roch
Guinart, no va atinar tal vegada que de aquella situació ne tocava una
bona part de culpa á sos compatricis, que empenyats en dominar á
un poble de temperament y carácter oposat al d’ells, no habian lograt
mes que espatllarlo y torsarlo, com espatlla y tors lo clau lo que
s’empenya en ferlo entrar á cops de martell per la cabota.
Lo signe del esclau era tenir que parlar la llengua del amo, y
nosaltres portem aquest estigma al damunt. La nostra llengua may
s’ha mort, puig encara que la hagin durant llarch temps olvidada los
sabis y gent de lletras, l’ha conservada’l poble viva en son tracte,
parlantla sempre. Aixó no obstant, en tot lo oficial hem d’emplearne
un’altra. En la llengua dels vencedors se’ns mana, se’ns judica, se’ns
ensenya. Fins quan la autoritat, lo jutje ó’l mestre son fills de la terra,
no poden exercir llurs funcions sino empleant lo castellá. La
imposició del llenguatje es un recort constant de la nostra subjecció.
Ell es lo que marca més durament la distancia que hi ha desde’ls que
manan als que obeheixen. La llengua es lo distintiu dels que’s
creuhen ser de rassa superior, y á la inferior no li correspón res més,
que abaixar lo cap y llepar encara la ma que’s digna fuhetejarla.
Inútil es, donchs, que’l catalanisme busqui térmes mitjos pera arrivar
á un acomodo. Mentres nos mostrem indecisos, la gent del centre
nos creurá débils, y avansará cada dia més passos en la via de la
absorció. La degeneració de son carácter la fa insolent y capritxosa, y
la insolencia y’ls capritxos sols se deturan davant de qui’ls planta
cara ab dignitat y enteresa. Hem de ser decidits y llógichs. Si volem
conservar la nostra situació jurídica especial, precís es que reclamem
tot lo necessari pera conseguirho: y lo necessari pera assegurar una
llegislació separada, es un cos llegislatiu separat, ab tribunals també
separats, y ab autoritat executiva que, encara que sigui comuna,
goberni separadament á cada una de las regions de dret especial. En
aquest punt ha de ser intransigent lo catalanisme. Nos reservem
completar la demostració en la part d’aquest llibre que destinarem á
las solucions prácticas particularistas.
Lo que s’ha fet en industria y arts útils, s’ha fet á pesar de las
circunstancias en que hem viscut y sens poder utilisar quasi cap dels
medis ab los quals los Estats previsors ajudan á llurs membres á
sostenir la competencia per la vida y á sortirne ab victoria ó al menys
airosos. Lluytant ab tantas contrarietats, s’ha lograt reunir en
algunas de las nostras comarcas la aglomeració d’elements
industrials de que hem parlat en un dels capítols anteriors. Mes, tan
bon punt com los nostres dominadors la han vista en estat de fer
goig, lluny de sentirne orgull, li han posat enveja y la miran ab odi.
Res de darli la ma pera que pugui arrivar á la perfecció que li manca,
sino tot lo contrari. La miran com enemiga, y al tractar ab las nacions
extranjeras procuran ferli tot lo mal que poden. ¡Ni’l dret de
queixarnos nos concedeixen! Basta que sentin la nostra veu pera que
la motejin de veu del egoisme.
En aquest terreno no tenen ni la excusa del seu idealisme y esperit
d’abstracció, puig sempre que’ls convé saben prescindirne. No’s
prenen la molestia d’amagar que al tractar de lo nostre no’ls guia més
que la malavolensa. Quan van creure que’ns darian un cop fatal
tractant ab la Gran Bretanya, lo gobern captava’ls vots dels diputats
castellans contra la protecció á la nostra industria, prometentlos
protegir los seus productes agrícols. Tot son afany es deixarnos
aislats, especialment dels que més units deurian estar ab nosaltres
per historia y per carácter. Als culliters valencians se’ls ofereix
protecció ab tal de que combatin la que nos favoréix á nosaltres.
Tals son los agravis que pot alegar Catalunya, que llegitiman no ja lo
catalanisme sino qualsevol altre sentiment més accentuat y enérgich.
Moltas vegadas, llegint ab fredor y perfecta tranquilitat la memorable
“Declaració de independencia” que van fer los representants de las
Colonias inglesas al rompre solemnement ab la metrópoli y
declararse Estats Units, hem comparat las queixas estampadas en
aquell document solemne ab las que podríam alegar nosaltres, y hem
hagut de convencerns de que la nostra Declaració resultaría molt
mes contundent y fundada que la redactada per Jefferson. Ab tanta
rahó com los que rompian ab la Gran Bretanya, podriam estampar:
“que, sempre y quan una forma de gobern, sigui la que sigui, va á
parar á destruhir lo fi pera la que fou establerta, lo poble te’l dret de
cambiarla ó abolirla, y de instituir un nou gobern, fundantlo en los
principis y organisant sos poders en la forma que’ls sembli més
propia pera proporcionarse la tranquilitat y la felicitat. La prudencia,
en veritat, aconsella que per motius petits y causas pasatjeras no
deuhen los pobles cambiar los goberns, quan aquestos están
establerts desde algun temps: pero també la experiencia de tots los
temps ensenya, que’ls homens están més disposats á sufrir, mentres
los mals siguin soportables, que no pas á fer us de llur propi dret,
destruhint la forma de gobern á que estan acostumats. Pero quan
una llarga serie de abusos y d’usurpacions ab tendencias á un meteix
fí, revela en tota sa realitat lo propósit de junyir un poble al jou d’un
despotisme absolut, aquest poble té’l dret y fins lo deber de tirar á
terra tal gobern, y de subvenir ab novas garantias á sa seguretat en lo
pervenir.”
“Ha creat una munió d’empleos fins als nostres temps desconeguts, y
ha enviat á aquest pays aixams de funcionaris pera oprimir al nostre
poble y devorar sa substancia.”
Entra luego la Declaració á formular los agravis rebuts del poder real
en combinació ab lo Parlament, qual jurisdicció sobre las Colonias
nega, y’ls capitols principals son los següents:
“Pera derogar las nostras Cartas, abolir las nostras mes preciosas
lleys, y destruhir fundamentalment las formas dels nostres goberns.”
“Per tots los medis dits y molts altres que fora llarch condensar,
empleats ab constant tenacitat durant un llarch período histórich, no
sols s’ha rebaixat lo nostre carácter, sino que se l’ha desnaturalisat
fins al extrem de que no se veu cap esperansa de millora sinó en una
conmoció tan forta, que fassi trontollar fins los fonaments de la
organisació nacional á que estem subjectes.”