Changes between Version 1 and Version 2 of SpecificationAdddaccu


Ignore:
Timestamp:
Apr 5, 2007, 11:25:26 PM (17 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SpecificationAdddaccu

    v1 v2  
    88Le circuits possède 4 entrées :
    99 * '''CK'''
    10  * '''a\[3:0\]'''
    11  * '''b\[3:0\]'''
     10 * '''a[3-0]'''
     11 * '''b[3-0]'''
    1212 * '''sel'''
    1313
    1414Il possède une seule sortie :
    15  * '''s\[3:0\]'''
     15 * '''s[3-0]'''
    1616
    1717= Registres internes =
    1818
    19 Le circuit contient un registre accumulateur '''accu\[3:0\],
     19Le circuit contient un registre accumulateur '''accu[3-0],
    2020dont l'écriture est contrôlée par le front montant du signal d'horloge '''CK'''.
    2121
    2222= Comportement =
    2323
    24 Si (sel == 0) x = a + b
    25 Sinon         x = accu + b
     24Si (sel == 0) '''x''' <= '''a''' + '''b'''
     25Sinon         '''x''' <= '''accu''' + '''b'''
    2626
    27 s = x
     27'''s''' <= '''x'''
    2828
    29 Quand (CK passe de 0 à 1) accu = x
     29Quand ('''ck''' passe de 0 à 1) '''accu''' <= '''x'''
    3030
    3131