1, GUI way
We all know, assignment editor -> category -> logic options -> to -> virtual pin -> on;
2, tcl script mode
The basic architecture of the following links: https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-examples/design-software/tcl/all_virtual_pins.html?wapkw=virtual+ pin
Tcl directly run the script is not enough, the following reference examples that can be run:
package require ::quartus::flow
load_package flow
proc make_all_pins_virtual {} {
execute_module -tool map
set name_ids [get_names -filter * -node_type pin]
foreach_in_collection name_id $name_ids {
set pin_name [get_name_info -info full_path $name_id]
post_message "Making VIRTUAL_PIN assignment to $pin_name"
set_instance_assignment -to $pin_name -name VIRTUAL_PIN ON
}
# Commit assignments
export_assignments
}
make_all_pins_virtual
execute_flow –compile
An increase of 2 points Content:
(1) implementation process;
(2) at the start of the final script compiler;
Qii method in the script is run, enter the tcl console in: source xxx.tcl