ecse221_as2 - ‰...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ‰ ƒi˜‡e’m0iQ3…yˆ˜&V—‚y˜(y•yo„0y6Ǧe~‡miAioxi•yx„y~˜x–}y09†C6yD²†v†VxFr…–yi˜di” x–dx l „ —” x ™ – v | |d r x {– ‘ —… t n — ƒ „Ð ƒ¥…– „x | wx t n {” n p… r — dx ™ | v „ –…x p ª n v” n –… w s n… x {– —– ƒ ˆ w |d r d lx–ˆ { p t n… v „ n–” „ r {” ˆx d r „ n–ˆ– „x | w s n x {– „ n…x u ¥ yixo‰Ax|‡vy˜!˜@…y&UoxH‡&V—9†x’†˜(‰}•yo„‡y0x—˜†yyVv·X&i9&V—Y0x—˜(~’irixx‰Ao|vy˜60xt‡i#¢” ƒ wx n–”x s…xd ÅË Ä ƒ „ˆ Å Ê —– t ’xi’l˜†iCi˜9U6Žy&1šš˜šyx„n § ƒ „ s…xdd —” … |d r w ˆ n n | {– x n |dx–x ‘ ƒ — {–x | n–ˆ n n n | r — x n — {” d v —  t n… ¿ ¥ ¤y0—yi˜‡&ivA˜&—V‰&œo|yx„r#xy˜•yo„r˜e˜†yƒŠDy˜†rr„0x—˜(Ux®ro|yx„ra0¤ix”0y~q0’·yx„‡•¢7™ ƒdx d — n {– n ƒ – w x ™ ÏÎ Í w ™ˆ– {– vd– v —  n … | w —” x  ƒÅË Ä – v — p—dd — ™ ƒ „ Ueyƒ˜&}x…y˜Rx„Rix˜yo…onwŠXD̚ox‰(~R‡˜‡…d0’¢o„…y„ryxv0iYy{qQyU6!0j˜‡&CRy&ˆ Å Ê ‘ x” x n ƒ €…– v s– — ƒ „ ˆ ‘Å Ä ƒ „x { ˆd– ™ v… ‘ Æ ‘ ƒ „x v n | ‘Å Ä n p—dd — ™ €…– v s n t ·²&iy„iCxÉy·i˜‰‡v0Èy&²Ç#1‘Šyiy&~y‡9ŕ9Šyiym„oA9•²‘Šo„LJ&i˜‰x„Àyx„n § p w r x – r — … |dx– „ n–”ˆd– ™ v dˆ n ™ —– t n ƒ „ — s…xd —” w ™ˆ {– vd x {– x n |dx–x u ¥ qo—ow0V—•y{‡0‚r˜†‡ro„nt0o—˜e&~‡y‡…A‡(‰o„‰†˜6y„xyy0i‡‡d&i!xx‰(~–œ˜˜‡–!y˜}yo„r˜e˜†#¦’ˆ ƒ– v s– v U‰‡0— p—dd— ™ ƒ „ – v s n p—dd ™ ˆ  ™ – v s– v ddˆ” ƒ „ˆ v s n dd ” x {– t ” w s d‘ n n ƒ ƒˆ —– … v — ˜&y&ˆ‚‰x„‡‡&—!·m1‰‡0—†‡‡(Ušy&Q–‰x„6‡‡(ˆi}y˜#yo„n†&zˆ‰†x˜&Š„0x—˜x–yy&¤˜9y00t § wˆ „ˆ dx „ „ | ˆ n ƒx „ ­ ƒ x ™ „ˆ” „ n ”ˆd– ™ v… d n ™ ‘ ƒx– x | w s wx ˆ { v— { (x—&‰&w†yy&ˆœrÁo„Áiy‰†xy6Ž&UÀ0o—‡–†&~‡y‡‡(ˆ‰o„‰¨Ši˜’„irixx‰Ao|nŽi˜d(~dŽ0ty0y˜–w k d  '©T¡ 57$†¦8 i ƒdx p… „ˆ x { i†vy&Yy˜– o„&˜y&A˜RDy˜†rhi‡‡†Vxi˜y}0’¤‡•h~r˜&V—5wy&Hqa&ro|yo„Aœyo„yy0yi˜‡&iYy˜– n ˆ– ™ — —– ƒ — {–x | ƒxdd rxd s d v —  x… ¿ ¾… |d r ‘ ž ƒ „ ˆ ž ‘ w ˆ n n | t n ƒ „ — s…xdd —” x { x ™ w v — p –ˆ {  ƒ ¼…xdˆ” ¸ „ — ƒº —– ¸ g | — r ƒx {” n p… xdx p e ƒ „ˆ g … |dx– –ˆ {– x… — s s ¥ C¢oƒy0‚}(‰½1y‡†˜(U…»–Š0yŒ˜v¹…¶0˜zd†yX‡x–}¤‡†v·Ry&š…r‡†˜…(‰˜¤‡0Cyv ™ ¨ƒ ƒ „ n–” „ r x |ˆ… x { Š0x—˜†yyVv#r&˜¤y˜– —– ƒ „ — s…xdd—” ™ ƒ „ˆ ˆ …–dˆ ± d r ƒx nˆ– ™— … |d r wˆ n n | x {– –ˆ {– wˆ nˆd ™x wˆ x l—d ± ¥ ˜Ry0Ci˜&iŽRy&š!˜‡(²}&V—iyx„&~y&…r˜&V—&œx|yo„rwy˜}(‰˜rxxw&Uo”&˜y†0ot&Y’˜¬¢” ƒxdx {  ƒ „ˆ { dxl x ™ –{ n | |d r wˆ v &˜†y¦y&‰¦‡†’wq’0otr¶˜&V—¨µ§&‰yƒ x {– € n ´ ƒ¥ ‘ ª |d r … | v r §–” v ƒ —d s w ˆ n n | x {– d r x n– n {– – v ™ ‘ ˆ –dˆ ± –ˆx sx ° ¥ y˜vU–’o„•}e…wFž³˜&V—#ry¨…o§0¨—y†yy¤˜y&ro|yo„A6y˜•&V—Yrx|˜cx…y˜•‰7#(²#(U†}¢7™ ƒ¥ „ n– w— X¨0o—˜xv0‡… ‰ „ˆ { xd— | x ˆ | xdx { ª ƒ ƒ — {–x | sˆ | { t vˆ „dˆ ¯ x {– t n… v „x {– ƒ „ˆ ‘ „ n–ˆ n p&‰˜–˜&rš™ŽUœr˜ey…©Š¤y˜er(œ‚0y&‰‡(Yšy˜Ryo„y‚iy˜Œy&‹Š0o—‡(Uo®rx|n § n | nˆ ™x wˆ n… v …d ­ ‡ d r ¥ ª |d r ¥ ž ª …–” v ƒ —d r § | v… wˆ n n | x {– x n |dx–x u ¥ ¤o„r}o”&~dy†0xt&tyo„‡y‚–˜yˆQ&V—¬~)…h˜&V—9wq«‘w‡†yy¤˜y©so§0¨—šyy&œo|yx„r!y˜…yo„r˜e˜†#¦’ˆ ƒ t n p w r x {– — ƒ p— yyo„}o—ow0V—¤y˜šyj•£ ˜—–‰ ¢” e” ¡” ”‰” g“ ž  ’DU”~~¤X~0U†Ÿ‡ €… p w …ˆ … |dx €ˆ | … n r … |dx– n ‡ n”x s… — wˆ „ˆ” x p ‘ wd n i}x—ow0V—rc&qA˜†˜–¤Eœ}‡x–¦0—…r˜e˜¢x„›¢zor†iš‡o…&R&UY‚D’x‡(zˆowAo|n ™ ˜— ‰” h‰” f‰ ‰‰” g‰” – • h” f“  ’•iU¤i¤U”00UU¤X”y˜~¤E!‘’ˆ‡ x…0o—‡†yyVv}x…y˜– n „ n–” „ r n { d&V—¢0o—˜(~&—yŽy&‰{‡‡&y‡…Yyq‚0‰0Œy&‰0g0‹00‰a00Š‘‰a0‰¨0‰‰000¨0•&V—r r „ n–ˆ– „ ƒ „ˆ –d— { x {  ƒ g‰ ‰ ƒ „ˆ ‘‰ ‰‰ ‘ gg‰ ‘‰‰ g‰ g‰ g ‘‰ g g ‘ gg g ‘‰‰ gg ‘ g‰ gg d x d– n { n { ‡ „ –” „ ˆ dx n… „ „ ƒx w r n { n { d r … dx– ˆ | d ‘x v – n „ n–” „ r x { yv˜‚o…t~o”y}pˆt0o—n˜eyyVvr†…†yoƒ‡y0—v1&‡x…&$ˆ‚o…nv–tXx”ycpQ&V—1r|‡†˜€Erv&—&y˜dQo…t0o—‡†yyVv•y˜– { n p d r … |d – n | x { nx n n”x s  ™ n … „ n ” „ r „ˆ — — u n– x…xd s d r  p –„ n l „— ~o”y{}¦&V—ar˜†x‡mx„r3d†y‡x–i!tyx„zxriiy…[email protected]…3y0o—˜–eyyVvY&Uxxw0¤v#tyo„˜’„i‡†˜y†x˜¤0—wUˆq3’iox¤m0†” k f  '©T¡ j7$†¦8 i h g d ™ – “ ‘ˆ ƒ…x „ ƒx  €x v 0g0&f7‘e•ex&—˜†”•C’‰‡†yyi‚1(ywu d © ¡   'T t37$BUUT s g B '§¡¡ ' B  §¡© 8 £   4 ©  '©% 8 2 §© g f d db ` 4 @FE¤D¦F7¦#rD@976qp7)&33aihC7ecaAY W 'T§¡ '  P ' I% XV©U(D7$S3RQF")"¢¤HG B '§¡¡ 'B  §¡© 8 £  4 2 ¥ "¥ '§©% "  ©¡ ©§¥ £¡ ¦FE¤D¦)C¦#A¤@97653¨1¨0)%(&$¡#!¨¨¦¤¢ f ƒ hggf ‘ •f dx ™ |x– s ø Ò ± 00&¨y(•†6i˜yex ™ ¬Q9Ò ƒ ƒf „ n–…x v × n …ˆ „ n– w v n Š(h0o—‡iy•ho„…&R0x—˜(zˆyx|‡… x |ˆ x {– t n „ „ vd  ™ „ n…x ƒ d v— x–ˆ wˆ ä ƒ ˆ –dˆ ± |— r dx € w n w v | – v s §• x {– { n A&˜…†y˜œyo„yyy‡Rm0to‡iy!0’w˜(‰xƒon&Qv#‡(²Ù0‡zdc†eox‰s˜x–y•‰x„¨n(†y‡˜x–}p –yi˜xd†”i’†xx¨we˜(’#y˜6yx„ni&zˆ‰†‡œDt(0x—˜iy•¶0˜zd…&˜†&˜‡y‡xwyVvwy‡vmiAiox‰Ax|¨e}° n v” n wx l §x– ˆ t x {– t ” w sxd  ™ ƒ f „ n–…x v × | — r d —–” ˆd– ™ v… w r x {– – „x | w s n§x ƒdx € w n v | – v s ÷ ö ˆ t n… v „ n–” r x {– – „x | w s n —– w n…… — s — wˆ n n ‘dx l U†yXox‰xs‡x–wyr‰x„¨n§ @cõ f‚yx„‡yp0o—‡†y„yVvRy˜’irixx‰Ao|Á˜¢xx‰x™‡0Áo…&šo…šx–‚Ue’†x § p — ´ ƒ– v s v — w ™ ˆ § {– vd– {– —– … ƒ „ — s… dd —” – v s n {” ˆx xdx { p ‘dx € w n w v | – v s n§ õ q•QU‰‡–0¤ox‰(~©–¤˜˜‡#xy˜·˜!yy0†x˜‡&i}‰o„Ž~&U¤˜†y}U†yXox‰xs‡x–y!‰x„¨c&f ˆ t n… v …– v s n £ { n p „ n–” „ r „ ˆ w — — u – „x | w s n – ƒd ˆ pd r– { n ˆd–… wx n– wxd n –Ð ¥ 6yx„‡yQ˜‰„xŸš˜x–}r0o—˜eyyvVš&Uxx0¤vYˆ1’irixx‰Ao|¤—˜A˜(v‡&V—˜’0ot&~‡yxi’l˜(zˆi‡1o…1Û¦7™ ƒ „ n– w n… … Ôd—  nt— Ó x– nd Š0x—˜(zˆyvx|‡}¤‡&‚†x”[email protected]˜(oˆ˜ys §—d s sˆ „ˆ { n „ n…x ƒ d v— x– wˆ ä ƒx–ˆ u £ – v §• wt … ˆ ƒ „ˆ ‘…x–ˆt u (˜yy(&h˜x–}p0ot‡†y!0’¤‡(ˆ‰oƒon&Q‚&˜(’tڕ£ k !‰so„¨n(Yox0yo„nAhy&i†˜(’Ú•£ k £ – v s § — p– • ‘dx —”x ƒ n § f ˆ t … v dx € w n w | – v s § „ ˆ n ™ —– — { – v — xd v n Ò ¥ ‰o„«n(vÛÁ‚i†yƒ¤i†yA–‰«™Œyo„n‡y·†eox‰s˜x–yvA‰o„¨n(•â&pxƒowyv‰Á‡¶py·0R˜0xt9¦’ˆ ƒ…– v s n r— dx ™ v „ x {– r— ë ê è … … p—dt  wx „ n–ˆtˆ —d s x {– „ n… ƒ x – r— Ԕˆ ™ pˆd i˜‰o„@0!†C6|yD¤y˜@0#mFé…&ˆc}‡&¢Uzˆ†yƒR0o—‡(’&¨s&˜y¤y˜¬§¢0xt‡ixy¤y{˜@0¢˜&¨}U~ƒ w n” nd s x {– — wˆ n {  ƒ¥ôó ì ò ñ ð ïî í ì ªë ê &ˆ¨siyo„‡yry˜Ž‡o…&x…n6o…yqŽe‡‰¨¤m(ËU†¢7hFç(mFé趐 t˜†xy}@6ޘ–y†yqr0txi˜Rˆ ˜&V—Ž˜– ç xd { p ‘ £ { sx ƒ — xd– |d r — …x ” n p… t n– v —d ˆ p p– t n ƒ ˆ”… ˆ” „ ƒx… ˆ ™ n …… w n ƒ n ƒ –… x p „ n…x ƒ x n w v | x { iy{~˜–c6yx„˜0˜šq†—‚Ç6yx„y&U‡&Uœ0—ti‡&¨1o…v‡&oˆi”œo„tixxyyv˜!vœ0tx‡iy‚dey€exxw‰xs˜–y·•yq å  '©T¡ æ7$†¦8 i ƒ „ n– w v n… … Ôd—  nt— Ó x– nd s—d s sˆ „ˆ t n n lx ƒ  Š0o—˜(oˆyo|‡…‡&†o”00‹Y˜(oˆ˜y&˜yy(R&ryo„o…eyRm™ –yi˜xd†Yy˜•˜(‰xƒon&Q1a…‡(²ã0‡zd}ixxyy¤r¤y˜Ayx„‡y!&˜e&~‡y‡aowyVv}x–‰©™(A•ey˜‡y0v” n v” n” x {– x–ˆ wˆ ä ƒ ™ –dˆ ± | — r … w v ƒ — | x {– t n… v d—–”ˆd– ™ v… w r n §• ˆ –” vd–… „ — „ ¥ ƒ¥x n–  wx ƒ x– ˆ t n …x t „ ˆ {” dx n… „ —” €– n ª ƒ…– v s– v — — p– x {– „xx p–x eUro|˜tUzˆiyw˜(’¢o„!i0y&‰~c†yoƒ‡y0†1U’o„•)´!i‡‰‡0AvÛwy˜iivۆC™ … n” „x sxd” n ƒ  „ˆ n w s € á ƒ…– v s– v — „ n– w v n… wˆ n– „x n dˆx „ –x t w v — {… v —  ‘–”xdd— iox†yi†‡†‡o…ym&Ào„&oˆ‰²w†˜‰‡0Ž0o—‡(zˆyo|‡9&io”˜’iyoƒ#(iy#†0Áxƒy0y‡À0’U†i˜&i” …x‚ow&cyÁA(²âx„¦’(piy0ot‡†yâ0’6i˜(’¦y˜hyo„˜‡x–˜‰QŠ(Â0x—˜iy•r(U†}¢7™ n w ˆ rÐ ƒ ˆ –dˆ ± n x l— ™ˆ ƒx „ n…x ƒ v —  …x–ˆ t x {– t n– v n–… ™ v… ‘ ƒf „ n–…x v × –ˆx sx ° ¥ ƒ…x–ˆ t n t w r — n | r d v —  t n–” vd–… „ —” n Ԕ w ii˜(’wo”00x—¦0œowr&$ˆc0’Ayo„‡†y˜‡y0†Ro„¦˜¤x—‰™ t n n v ™ ˆ …ˆ x… v ƒ „ˆ n v” n t n w v…xd x {– x– w v… sˆ” „ á ƒ dˆd w ƒdˆ ƒ „ˆ–… x {– | — yo„yxƒowy‰rw&#x–n‡yÀy&wx–y†˜xdi”¦yo„‡x–y‡i‡†y˜6˜(zˆy‡‰(iyQ•’‡(~y™onÀ˜(‰y&~6y‡à0˜zdr dx–dx l n ƒ „ ˆ x– ˆ ß „ ˆ t n… v x „ x– ˆ nd ™ r ˆ | v —  ‘ {” n p… x s – ¥ ª x n–” ˆ „ ˆ x lˆ { – — †‡‡†’’o„ry&}˜(’¨t§!·&6yo„y}y0—}˜(Uo”‡y($ˆ6rA0’DŠ~˜–cy}C¤Û¦’©g’’xl‡†&r&c’‰1&y„ …iDyY&‚†o”00‹txiyo„n ™ i˜’irixxixœ’xl‡&¨Œ’&Èo„n&~’0i6&y†yÞ0xt‡iy60Q¢U‰x„n x — ƒ … Ôd—  n t — Ó ” ƒ…– „x | w x n……ˆ s  „ˆ ˆ– „ —” –— „ –… v | „ n…x ƒ d v — Ý ƒ– v s xx0tyo„‡Œxy0†&‰‚~x”nyc†e˜‡†’’o„‚&ˆq06(‰‡¤o…œ&ˆU¢yx„˜x–Ao|onAy…¢i˜‰x„v06˜†6ym„ w n… ˆ w „ — …ˆ { { { p dx–dx l n „ r — –ˆ {– n x… ” t n n w x {  ƒ…– v s n r — …dx ™ | v –„x x n ƒ d r –„ v—””ˆ – …d—lˆ Ü wˆdxlx ƒxx „ n p — dxlx p— ƒ ƒx n v Öxd x ™ n p x s  ’i˜d†CxÉy¤&V—†’y0ii&¢—˜w‡&’¨²&~†’†…iiy3xwow}Áv0’w†’†v•´·Ši˜xdyDi˜3xwow}·C¤Û– x–ˆt w „— ‘…x–ˆt ° “ d— u £ r— w n–„x ƒx nd |—” n „ n…x ƒ d v— x” ƒ f „ n ˜(’‰‚y0Šii˜(’Ú•w£#&›•£ k ¬0xix˜d˜’iÁ†‡o…˜ysš0i•o…Á0to‡iy#0’6iyx„n ™ ¤Á0x—˜– §…x v × dˆd w ƒdˆ ƒ „ ˆ– x {– | — r ƒx… v —  …x–ˆ t x { r — {” ˆ t n „ n…x ƒ  ™ É — –dˆ ¥ yiy•Ào„nR‡(~y™onh˜(‰y&~…6y‡Ù0˜zdÀi‡yŽv0’!i˜(’6y‡–²0h~&Uxtyo„y0tx‡iyŽm&•(~– ™ ’ˆ ƒ… ƒdˆ ps v wxl w x–ˆt x {– — r nt w x– s |—” {– –„x | w s iy˜(qmai’†xo#˜(’¤y˜Ø|0˜zdwo”00—ow˜†xxw‰A0iwxy˜qm†riox‰šo|n ƒ „ ˆ „ n…x — w ˆ n p v —  ‘ n–…xdx– n xd — | … n {– x Ԉ |  ƒ |x … … §• –” vd–… „ —” — y&q0xt‡iyƒh‡x…&‚owxwcÈ0’9ytyo„˜yi˜†˜’o„œ‡&r0tyo„y˜A’(rÀ—@ÁRi˜–¤x–n‰©™(Àˆš†y˜y0ih˜– f „ n–…x v × ƒx „ n…x ƒ v —  Ô w ™ t n n v ™ d—–” d– ™ v w r x – x… v p v — „ n …x v Ö n {– „ R0o—˜†y#Ro„n¢iy0ot‡†y¢0’r˜”Do—‰yo„yoƒxwy‰q&˜†&ˆ~‡y¨…§xwyVv#y{˜wyCowxwnct0’œ0—o˜–yiy¤qo…y‡¦ÇÐ Õ  '©T¡ ½7$†¦8 i ƒ w–”xdd—” ƒx– „x | w s ’˜†i˜&iRi‡miAiox‰Ax|n …xÁ~&U•(‰‡Rzor‡†’œ˜R0o—‡(zˆyo|‡6‡(zˆ˜y&˜yy(À&6o…ewc&oxyyDr#&˜†&~y‡¨…µ§owyVv#x–‰©™†‰ n {”ˆx –ˆ {– ndx l —– „ n– w v n… x– nd s—d s sˆ „ˆ x n lx u ƒ w v ƒ — | d—–”ˆd– ™ v w r n § ˆ |d r —– ÅË Ä ƒ „ˆ Å Ê —– t n ƒ „ — s…xdd—” … „ n–” „ r x {– t n– w v… sˆ” „x  ™ n tx u ƒ dˆd ¶˜&V—·˜9URy&Q··˜Ayo„yy0Ci˜&i!y0o—‡†yyVv¤y‡šyo„‡(zˆy‡‰(Uy†Rm¦x„0iv¬’‡(~yx™xnw ƒd ˆ ƒ „ ˆ–… x {– n …x– ˆ t x {– t n… v … Ôd —  n t — Ó n … „ n–” „ r d v —  –…x– ƒ „ ˆ – „x | w s |Ð ¥ ˜(‰y&~Ry˜po„r†˜(’Žy˜yo„yr‡&†o”00‹Âo„œy0x—˜†yyVvœ0’ryi˜Ây&œ’irixx‰AǦ¨ƒ ƒ |d r dx { n ˜&V—c†y˜–ix – „x | w s n ˆ | v —  ‘ n– ˆ r — x…ˆ” x {– d— Ò ƒ |d r ° “ § ° “ £ d— u § u £ … n — ’ir†ox‰Ax|ŽrÁ0’Š&xx˜tQ0š&Ušy‡w&¨†‡&V—Õw¨£q#ww&ѕ£ k «£!•£ k w‡x–¦˜– Question 2d 7 Question 2d: cont. Timing file for Question 2d: $T 0 $D 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 $I Bin 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 $I A 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 $I B 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 $I D-ref 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 $I Br-ref 0 1 0 0 1 1 0 1 0 1 0 0 1 1 0 1 0 8 Question 3a: 10 Question 3a: cont. 11 Question 3a: cont. 12 Question 3a: cont. 13 Question 3b 14 Question 3b: cont. Timing file used for Questions 3a and 3b $T 0 $D 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 $I D 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 $I C 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 $I B 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 $I A 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 15 Question 3c Implementation using NAND-NAND modules. See next page for test sequence. Each output is XOR’ed with its reference signal to form an error signal. Since only glitches appear on these lines, we conclude that all outputs match their expectations. 16 17 Question 3c: cont. Implementation using NOR-NOR modules. See next page for test sequence. Notice that the output is identical to the NAND-NAND case. This is expected as gate delays are identical. 18 19 Timing file used for Question 3c This is a bit overkill relative to what was asked for (a set of 10 or so test cases would have been fine). However, using a spreadsheet an exhaustive table like the one shown is fairly easy to generate. $T $D $I A3 $I A2 Ref1 $I Ref0 0 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 1 100 1 1 0 100 1 1 0 100 1 1 0 100 1 1 0 100 1 1 0 100 1 1 0 100 1 1 0 $I A1 $I A0 $I B3 $I B2 $I B1 $I B0 $I Ref3 $I Ref2 $I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 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0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 22 100 100 100 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 23 Question 4a Multiplexer design using a 2-bit decoder. Verification of mux design 25 Question 4a: cont. Timing file used to generate the previous output. $T 0 $D 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 $I S1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 $I S0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 $I D3 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 1 $I D2 1 1 0 0 1 1 0 0 1 0 0 1 1 1 0 0 $I D1 1 1 0 0 1 0 0 1 1 1 0 0 1 1 0 0 $I D0 1 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 26 Question 4b Multiplexer implementation 27 Question 4b: cont. Re-running test sequence from Question 2d Timing file used to generate output identical to that on Page 8. 28 ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online