Altera Quartus II Scripting Bedienungsanleitung Seite 297

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 634
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 296
Chapter 3: Tcl Packages & Commands 3–167
misc
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
checksum
Usage
checksum [-algorithm <crc32|adler32>] <input_file>
Options
-algorithm <crc32|adler32>: Option to specify the checksum algorithm. Uses the CRC-32
algorithm by default.
<input_file>: Option to specify the input file
Description
Returns the checksum value in hexadecimal format based on the specified algorithm which defaults to
crc32.
Example
set file "one_wire.sof"
# Use CRC-32
puts "$file -> [checksum $file]"
puts "$file -> [checksum $file -algorithm crc32]"
# Use ADLER-32
puts "$file -> [checksum $file -algorithm adler32]"
Seitenansicht 296
1 2 ... 292 293 294 295 296 297 298 299 300 301 302 ... 633 634

Kommentare zu diesen Handbüchern

Keine Kommentare