MATLAB SIMULINK HDL CODER - RELEASE NOTES Podręcznik Użytkownika Strona 46

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 79
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 45
46 www.xilinx.com System Generator for DSP Getting Started Guide
UG639 (v 14.3) October 16, 2012
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 the “xl_state” function. A
switch-case statement is then used to decode the inputs, branch to the next state and assign the outputs.
Przeglądanie stron 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 78 79

Komentarze do niniejszej Instrukcji

Brak uwag