Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

Quartus Prime add file from tcl

NicZU
Novice
518 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
506 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"
}
}

0 Kudos
Kenny_Tan
Moderator
485 Views

thank you for your sharing.


0 Kudos
Reply