Altera Quartus II Scripting User Manual Page 376

  • Download
  • Add to my manuals
  • Print
  • Page
    / 634
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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."
}
Page view 375
1 2 ... 371 372 373 374 375 376 377 378 379 380 381 ... 633 634

Comments to this Manuals

No comments