Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'll wager you forgot to open the project. You are running this from a PRE_FLOW_SCRIPT_FILE ?
This worked for me: set project [lindex $quartus(args) 1] set revision [lindex $quartus(args) 2] project_open $project -revision $revision set verfiles [get_all_global_assignments -name VERILOG_FILE] foreach_in_collection afile $verfiles { post_message "file: $afile" } In Quartus 13.1 I saw these sorts of output: Info: file: {} VERILOG_FILE ../../../ip_cores/wr-cores/platform/altera/arria5_pll/sys_pll5/sys_pll5_0002.v {} {} Info: file: {} VERILOG_FILE ../../../ip_cores/wr-cores/platform/altera/arria5_pll/ref_pll5/ref_pll5_0002.v {} {} Info: file: {} VERILOG_FILE ../../../ip_cores/wr-cores/platform/altera/arria5_pll/dmtd_pll5/dmtd_pll5_0002.v {} {}