Altera Nios II C2H Compiler Bedienungsanleitung Seite 49

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 138
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 48
Altera Corporation 9.1 3–9
November 2009 Nios II C2H Compiler User Guide
C-to-Hardware Mapping Reference
Figure 3–6 shows the circuit that results from the following code:
foo = (foo > bar) ? (foo + bar) : (foo * bar);
Figure 3–6. if-else Logic
switch and case Statements
The C2H Compiler converts switch statements to functionally-
equivalent nested if-else statements, and then translates the if-else
statements to hardware, as described in section “if Statement” on
page 3–6.
Seitenansicht 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 137 138

Kommentare zu diesen Handbüchern

Keine Kommentare