MATLAB FIXED-POINT TOOLBOX - RELEASE NOTES Betriebsanweisung Seite 66

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 99
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 65
66 www.xilinx.com System Generator for DSP Getting Started Guide
UG639 (v 12.2) July 23, 2010
Chapter 4: Getting Started
State Machine Example
The figure below shows a simple 2-state FSM. This can be easily extended to more states. Notice that a variable
called “state” is declared to be persistent and is initialized to 2 bits, unsigned using thexl_state” function. A
switch-case statement is then used to decode the inputs, branch to the next state and assign the outputs.
Seitenansicht 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 98 99

Kommentare zu diesen Handbüchern

Keine Kommentare