IAF 0610 Hardware test design coursework

download IAF 0610 Hardware test design coursework

of 20

Transcript of IAF 0610 Hardware test design coursework

  • 8/10/2019 IAF 0610 Hardware test design coursework

    1/20

    !"##$%% '%$()*+$!, -. !)/0%-#-1,

    "#$%&'(#)' *+ ,*($-'#& .)/0)##&0)/

    )234 5678

    1234526789

    9:;3?2 @:;@ A$". BCDBE:%&0%)' 13 ,*-&;#%??0)) 3@15

  • 8/10/2019 IAF 0610 Hardware test design coursework

    2/20

    Design of a combinational circuit for the following functionality

    if x = 0, z = 0, then Y = k1A + k2B, else

    if x = 0, z = 1, then Y = k3A - k1C, else

    if x = 1, z = 0, then Y = (k1A !k1B "k2C) !(k3C !NOT (k3A) "k1B), else

    if x = 1, z = 1, then Y = k4A2

    + k5A + k6

    In order to avoid confusion, then using the boolean operation priority (from high to

    low: NOT, "(AND), !(OR) ) I add parenthesis in the following way:

    if x = 0, z = 0, then Y = k1A + k2B, else

    if x = 0, z = 1, then Y = k3A - k1C, else

    if x = 1, z = 0, then Y = (k1A !(k1B "k2C)) !(k3C !(NOT (k3A) "k1B)), else

    if x = 1, z = 1, then Y = k4A2

    + k5A + k6

    Then, given variant 12I use the following coefficients k1=0;k2=k3=1; k4=1,5;

    k5=0,8; k6=0,5. Because 1 means inversion and 0 means the lack of inversion on every

    bit of the word, the functionality the following form:

    1. if x = 0, z = 0, then Y = A + NOT(B), else

    2. if x = 0, z = 1, then Y = NOT(A) - C, else

    3. if x = 1, z = 0, then Y = (A !(B "NOT(C) )) (NOT (C) !(A "B)), else

    4. if x = 1, z = 1, then Y = 1,5*A2

    + 0,8 *A + 0,5

  • 8/10/2019 IAF 0610 Hardware test design coursework

    3/20

    Quadratic equation function (fourth)

    I started with findingout the last (x=1, z=1) function's Y = 1,5*A2 + 0,8 *A + 0,5limit:

    A A(3 downto 0) Y Y round Y (3 downto 0)

    0 0000 0,5 1 0001

    1 0001 2,8 3 0011

    2 0010 8,1 8 1000

    3 0011 16,4 15 1111

    4 0100 27,7 15 1111

    5 0101 42 15 1111

    6 0110 59,3 15 1111

    7 0111 79,6 15 1111

    8 or

    higher1000

    102,915 1111

    Because every bit of Y can have either 0 or 1, we need to build a total of 4 Karnaugh

    maps for Y(0) to Y(3).

  • 8/10/2019 IAF 0610 Hardware test design coursework

    4/20

    Y(0):

    Karnaugh map:

    Y(0)A(3)A(2)

    00 01 10 11

    A(1)A

    (0)

    00 1 1 1 1

    01 1 1 1 1

    10 0 1 1 1

    11 1 1 1 1

    A*&(-?%B

    CD@E F G DG72 7H" G73 7H" 71 7H" G7@E

    8IJ#(%'0IB

    .3

  • 8/10/2019 IAF 0610 Hardware test design coursework

    5/20

    Y(1):

    Karnaugh map:

    Y(0)A(3)A(2)

    00 01 10 11

    A(1)A

    (0)

    00 0 1 1 1

    01 1 1 1 1

    10 0 1 1 1

    11 1 1 1 1

    A*&(-?%B

    CD1E F G DG72 7H" G73 7H" G7@E

    8IJ#(%'0IB

  • 8/10/2019 IAF 0610 Hardware test design coursework

    6/20

    Y(2):

    Karnaugh map:

    Y(0)A(3)A(2)

    00 01 10 11

    A(1)A

    (0)

    00 0 1 1 1

    01 0 1 1 1

    10 0 1 1 1

    11 1 1 1 1

    A*&(-?%B

    CD3E F 72 KL 73 KL D71 7H" 7@E

    8IJ#(%'0IB

  • 8/10/2019 IAF 0610 Hardware test design coursework

    7/20

    Y(3):

    Karnaugh map:

    Y(0)A(3)A(2)

    00 01 10 11

    A(1)A

    (0)

    00 0 1 1 1

    01 0 1 1 1

    10 1 1 1 1

    11 1 1 1 1

    A*&(-?%B

    CD2E F 72 KL 73 KL 71

    8IJ#(%'0IB

  • 8/10/2019 IAF 0610 Hardware test design coursework

    8/20

    H#M' % N-%O&%'0I #N-%'0*) +-)I'0*)

  • 8/10/2019 IAF 0610 Hardware test design coursework

    9/20

    Logic function (third)

    The implementation of third function was analogous to quadratic equation functions

    one. At first reusable logic 1bit function was exported as cellview.

    >J#) 'J0; 1P0' ?*/0I

  • 8/10/2019 IAF 0610 Hardware test design coursework

    10/20

    "LL:2 >8=O@3?= A>32;@E

    >J# 0($?#(#)'%'0*) *+ I*($?#'# %OO#& +-)I'0*) 0)I?-O#; 5 ;0)/?# P0' %OO#&;B '

  • 8/10/2019 IAF 0610 Hardware test design coursework

    11/20

    .3

  • 8/10/2019 IAF 0610 Hardware test design coursework

    12/20

    +8G@26O@?2 >8=O@3?= A;:O?=LEA*& ;-P'&%I'*& +-)I'0*) 1P0' +-?? %OO#& %)O 1P0' %OO#&

  • 8/10/2019 IAF 0610 Hardware test design coursework

    13/20

    ]63= O32O83@

    .36O:

    .36O:

    .36O:

  • 8/10/2019 IAF 0610 Hardware test design coursework

    14/20

    UJ#) I0&I-0';

  • 8/10/2019 IAF 0610 Hardware test design coursework

    15/20

    A%-?' I*V#&%/#B

    .368I@ O?H:26* P# $I0;#Q 0'

  • 8/10/2019 IAF 0610 Hardware test design coursework

    16/20

    Y$#Y- AY83I@F3= #?

  • 8/10/2019 IAF 0610 Hardware test design coursework

    17/20

    /+!` A/32O8I62 +:I> !:;@ `6@PE

    ttbist -ginit 00000000000001 -gpoly

    10000000001101 -ainit 00000000000001 -apoly

    10000000001101 -simul cstp -optimize maincircuit4

    23 56.9%

    ttbist -ginit 00000000000001 -gpoly

    11001011110001 -ainit 00000000000001 -apoly

    11001011110001 -simul cstp -optimize maincircuit4

    45 92.2%

    ttbist -ginit 00000000000001 -gpoly

    10010101001001 -ainit 00000000000001 -apoly

    10010101001001 -simul cstp -optimize maincircuit4

    174 97.6%

    ttbist -ginit 00000000000001 -gpoly

    10001100010010 -ainit 00000000000001 -apoly

    10001100010010 -simul cstp -optimize maincircuit4

    72 93.4%

    ttbist -ginit 00000000000001 -gpoly

    00110011100101 -ainit 00000000000001 -apoly00110011100101 -simul cstp -optimize maincircuit4

    60 91.5%

    ttbist -ginit 00000000000001 -gpoly

    11001100011101 -ainit 00000000000001 -apoly

    11001100011101 -simul cstp -optimize maincircuit4

    35 85.1%

    ttbist -ginit 00000000000001 -gpoly

    10011011001010 -ainit 00000000000001 -apoly

    10011011001010 -simul cstp -optimize maincircuit4

    112 98.7%

    ttbist -ginit 00000000000001 -gpoly

    11110110101001 -ainit 00000000000001 -apoly

    11110110101001 -simul cstp -optimize maincircuit4

    163 98.9%

    ttbist -ginit 00000000000001 -gpoly

    10001100110010 -ainit 00000000000001 -apoly

    10001100110010 -simul cstp -optimize maincircuit4

    83 93.9%

    ttbist -ginit 00000000000001 -gpoly

    01001100110010 -ainit 00000000000001 -apoly

    01001100110010 -simul cstp -optimize maincircuit4

    178 99.7%

    H-(P#& *+ ,8>d /%'#;B7?'J*-/J 1@@^ d /%'#; 0; cQ5^ J0/J#& I*($%O '* R6eRKS 7?;* 0' ?**=; 'J%' R6eRK )##O;

    ;(%??#& I*-)'#& +*& %IJ0)/ 1@@^ A,S R6eRK 0; % $+#&O *$'0*)S

  • 8/10/2019 IAF 0610 Hardware test design coursework

    18/20

    9:;3 @P: ;3J# P#;' ;#' +*-)O 0) R6eRK '%;=

  • 8/10/2019 IAF 0610 Hardware test design coursework

    19/20

    jTP&0O '#;' D5g P0' 0)'#&+%I#E

    K) 'J0; /&%$J %) *$'0(%? $*0)' I*-?O P# IJ*;#)Q P%;#O *) =)*

  • 8/10/2019 IAF 0610 Hardware test design coursework

    20/20

    /?=OI8;3?=

    6 dQ 0) I-&)' I%;# 6 d %)O 0) %OO0'0*) '* 'J%' +*& ,8>d #;'

    d%''#&)

    X#)#&%'*&

    l)0'

    l)O#&>#;'

    ,*-)'#&

    5ZP0'80/)%'-

    7)%?T_#&

    ,e