Intel® Quartus® Prime Standard Edition User Guide: Scripting

Download
ID 683325
Date 9/24/2018
Public
Document Table of Contents

2.10.3.2. The get_collection_size Command

Use the get_collection_size command to get the number of elements in a collection. The following example prints the number of global assignments in an open project.

get_collection_size Example

set all_global_assignments [get_all_global_assignments -name *]
set num_global_assignments [get_collection_size $all_global_assignments]
puts "There are $num_global_assignments global assignments in your project"

Did you find the information on this page useful?

Characters remaining:

Feedback Message