Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15332 Discussions

Quartus Prime add file from tcl

NicZU
Novice
189 Views

Hello!
I am trying to setup a script that automatically adds files to my project  and I am struggling to find the correct options list.

Currently I am using the following command

set_global_assignment -name $file_type $current_file

Where:

  • $current_file is the file to add to the project
  • $file_type isa file type identifier

Where can I find a complete list of the supported file type identifiers?

0 Kudos
3 Replies
NicZU
Novice
177 Views

Hi,

thanks but it seams to me there is no full list of filetypes in the documents you listed.

for anyone who might be interested here's what I come up with by adding different files and porducing the tcl for the project

switch $extension {
.stp {
set file_extension "USE_SIGNALTAP_FILE"
}
.vhd {
set file_extension "VHDL_FILE"
}
.vhdl {
set file_extension "VHDL_FILE"
}
.v {
set file_extension "VERILOG_FILE"
}
.sv {
set file_extension "SYSTEMVERILOG_FILE"
}
.sdc {
set file_extension "SDC_FILE"
}
.qsf {
set file_extension "SOURCE_FILE"
}
.ip {
set file_extension "IP_FILE"
}
.qsys {
set file_extension "QSYS_FILE"
}
.qip {
set file_extension "QIP_FILE"
}
.sip {
set file_extension "SIP_FILE"
}
.bsf {
set file_extension "BSF_FILE"
}
.bdf {
set file_extension "BDF_FILE"
}
.tcl {
set file_extension "COMMAND_MACRO_FILE"
}
.vqm {
set file_extension "VQM_FILE"
}
}

Kenny_Tan
Moderator
156 Views

thank you for your sharing.


Reply