Altera Quartus II Scripting Uživatelský manuál Strana 472

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 634
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 471
3–342 Chapter 3: Tcl Packages & Commands
sdc_ext
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
set_time_format
Usage
set_time_format [-decimal_places <decimal_places>] [-unit <unit>]
Options
-decimal_places <decimal_places>: Number of decimal places to use
-unit <unit>: Default time unit to use
Description
Sets time format, including time unit and decimal places.
Time units are assumed to be nanoseconds (ns) by default. The "-unit" option overrides the default time
units. Legal time unit values are: ps, ns, us, ms.
Time units are displayed with three decimal places by default. The "-decimal_places" option overrides the
default number of decimal places to show.
The smallest resolution of all times units is one picosecond (ps). Any additional specified precision will be
truncated.
Example
# Create two clocks with a clock period of 8 nanoseconds.
create_clock -period 8.000 clk1
set_time_format -unit ps -decimal_places 0
create_clock -period 8000 clk2
Zobrazit stránku 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 633 634

Komentáře k této Příručce

Žádné komentáře