Achronix Speedster22i User Macro Guide Manuel d'utilisateur Page 150

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 224
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 149
Memories BRAM80KFIFO
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 133
Read and Write Count Outputs
Write Count Output
The Write Count (wrcount) output of the FIFO shows the value of the Write Pointer . The
wrcount may be synchronized to either the wrclk or rdclk clock domains by setting the
wrcount_sync_mode parameter bit.Setting the wrcount_sync_mode parameter to 1’b1
outputsthewrcountdirectlyfromtheWritePointer(synchronoustothe
wrclkclock).Setting
thewrcount_sync_modeto1’b0outputsthewrcountsynchronoustotherdclkoutputafterit
has been synchronized to the rdclk clock through a synchonization circuit that is
wrptr_sync_stages + 2 registers deep.Note that if the Write Pointer is synchronized to the
rdclkclockdomain,thevalue
oftheWriteCounterwillbe delayedandhavearateofchange
that will vary dependent on the rdclk clock rate.
Figure 610: Write Pointer Synchronizer
BlockDiagramshowstheWriteCount OutputCircuit.
Figure 6-10: Write Pointer Synchronizer Block Diagram
Read Count Output
The Read Count (rdcount) output of the FIFO shows the value of the Read Pointer. The
rdcount may be synchronized to either the wrclk or rdclk clock domains by setting the
rdcount_sync_mode parameter bit.Setting the rdcount_sync_mode parameter to 1’b1
outputstherdcountdirectlyfromtheReadPointer(synchronoustothe
rdclkclock).Setting
the rdcount_sync_mode parameter to 1’b0 outputs the rdcount synchronous to the wrclk
outputafterithasbeensynchronizedtothewrclkclockthroughasynchonizationcircuitthat
isrdptr_sync_stages +2 registersdeep.Notethatifthe ReadPointeris synchronizedtothe
wrclkclockdomain,the
valueofthe ReadCounterwillbedelayedandhavearateofchange
that will vary dependent on the wrclk clock rate.
Figure 611: Read Pointer Synchronizer
BlockDiagramshowstheReadCountOutputCircuit.
Figure 6-11: Read Pointer Synchronizer Block Diagram
Write
Pointer
Write Pointer Synchronizer
d
q
d
q
d
q
d
q
d
q
wrcount
wrclk
rdclk
wrcount_sync_mode
wrptr_sync_stages
Synchronized
Write Pointer
used for flag
00
01
10
11
0
1
calculations
Read
Pointer
Read Pointer Synchronizer
d
q
d
q
d
q
d
q
d
q
rdcount
rdclk
wrclk
rdcount_sync_mode
rdptr_sync_stages
Synchronized
Read Pointer
used for flag
00
01
10
11
0
1
calculations
Vue de la page 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 223 224

Commentaires sur ces manuels

Pas de commentaire