Changes between Initial Version and Version 1 of SpecificationAddaccu


Ignore:
Timestamp:
Apr 5, 2007, 11:34:19 PM (18 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SpecificationAddaccu

    v1 v1  
     1{{{
     2#!html
     3<h1> Spécification fonctionnelle du circuit addaccu </h1>
     4
     5
     6}}}
     7
     8= Interface =
     9
     10Le circuits possède 4 entrées :
     11 * '''CK'''
     12 * '''a[3:0]'''
     13 * '''b[3:0]'''
     14 * '''sel'''
     15
     16Il possède une seule sortie :
     17 * '''s[3:0]'''
     18
     19= Registres internes =
     20
     21Le circuit contient un registre accumulateur '''accu[3:0]''',
     22dont l'écriture est contrôlée par le front montant du signal d'horloge '''CK'''.
     23
     24= Comportement =
     25
     26Si (sel == 0) '''x''' <= '''a''' + '''b'''
     27Sinon         '''x''' <= '''accu''' + '''b'''
     28
     29'''s''' <= '''x'''
     30
     31Quand ('''ck''' passe de 0 à 1) '''accu''' <= '''x'''
     32
     33