MATLAB SIMULINK HDL CODER - RELEASE NOTES Betriebsanweisung Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 79
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 44
System Generator for DSP Getting Started Guide www.xilinx.com 45
UG639 (v 14.3) October 16, 2012
Lesson 3 - System Control
The Xilinx “xl_state” Data Type
When implementing a state machine using the MCode block, a Xilinx-provided MATLAB function called “xl_state”
must be used to initialize a persistent variable. This function has two arguments, the first is the initial condition, the
second is the quantization of the assigned variable. For example, if your state machine has 6 states, you need a
quantization of 4-bits unsigned.
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 78 79

Kommentare zu diesen Handbüchern

Keine Kommentare