Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI'd move project_close before running quartus_stp for safety as that process modifies the .qsf file on disk. In addition, I'd remove the following two redundant assignments that will be updated by quartus_stp --stp_file mystp.stp --enable project_name:
set_global_assignment -name ENABLE_SIGNALTAP ON set_global_assignment -name USE_SIGNALTAP_FILE mystp.stp Alternatively, I'd change the command arguments to simply be "quartus_stp project_name" if you'd like to set those two up explicitly. Having two just makes the script harder to maintain. Here is what I'd do in one .tcl script evaluated by quartus_sh: project_open project_name source setup.tcl project_close qexec "quartus_stp --stp_file mystp.stp --enable project_name" project_open project_name source comp.tcl project_close