Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

quartus_sh always invokes quartus_map with "--write_settings_files=off" argument...

Hello,

I have a problem where if I run "Analysis and Elaboration" from the quartus_sh using a Tcl script, the .qsf file doesn't get updated with the information from the SignalTap file. I am using the following command invocation (under Linux):

/auto/edatools/altera/quartus/v7.2_sp1/bin/quartus_sh -t <my_tcl_script.tcl>

My Tcl script refers to the SignalTap file, and contains the commands to run the mapper, fitter, etc. The problem is, when it runs the mapper (quartus_map), it always runs it with a "--write_settings_files=off" argument. I see the following info message printed out:

Info: Command: quartus_map --read_settings_files=on --write_settings_files=off <project name, etc....> --analysis_and_elaboration

It is supposed to grab the .stp file's information and write it into the .qsf. I've tried explicitly adding a "--write_settings_files=on" argument to the mapper invocation in my .tcl script, but it doesn't seem to solve the problem: when the Quartus shell invokes the mapper, it just appends my argument onto the end of its own argument list, like this:

quartus_map --read_settings_files=on --write_settings_files=off <project name, etc....> --write_settings_files=on --analysis_and_elaboration

And the .qsf still does not get updated. Is there something I'm missing? Does anyone know a fix or workaround for this?

Thanks,

Andy