- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your sharing.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page