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

Quartus II TCL: Analyze vhd files in a directory using quartus_map executable

Altera_Forum
Honored Contributor II
1,058 Views

Hello, 

 

I would like to analyze specific vhd files in a directory, not all of the design files (as part of an incremental compilation flow). 

 

I tried to use --analyze_file option of the quartus_map executable but it seems not to like a list as argument.  

 

... set filename_list if {} { ... } else { ... }  

 

So i tried a foreach loop to execute the module for each file, it's working but it's redundant and slow.  

 

Is there a better way to do it please?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
407 Views

The following appears to work for me, if what you are aiming for is to only analyse the file for syntax and or logic errors.  

 

quartus_map --64bit --no_banner not_a_project --family="xxx" --part=yyy --set=HDL_INTERFACE_OUTPUT_PATH=./test_compile --generate_hdl_interface=zzz.vhd --source=zzz.vhd 

 

I learned how to do this by looking at what the analyse files button in the QSYS component editor does.
0 Kudos
Reply