Altera Quartus II Scripting Instrukcja Użytkownika Strona 376

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 634
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 375
3–246 Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
test_assignment_trait
Usage
test_assignment_trait -name <name> -trait <trait_name>
Options
-name <name>: Assignment name
-trait <trait_name>: Trait name
Description
Checks whether the assignment name has the specified trait. Returns 1, if the assignment name has the
trait; returns 0, otherwise.
Example
## Test if the assignment name is case-sensitive
if {[test_assignment_trait -name VHDL_FILE -trait CASE_SENSITIVE]} {
puts "VHDL_FILE assignment is case-sensitive."
} else {
puts "VHDL_FILE assignment is not case-sensitive."
}
Przeglądanie stron 375
1 2 ... 371 372 373 374 375 376 377 378 379 380 381 ... 633 634

Komentarze do niniejszej Instrukcji

Brak uwag