Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI've never really understood the SignalTap interface via Tcl, but it's definitely non-standard. Here's something I put together for somebody else that worked. Change project_name to your project name:
project_open project_name post_message "Setting SignalTap II Logic Analyzer settings." post_message "Assignments --> Settings --> SignaTap II Logic Analyzer" # Note that these assignments are unnecessary, as the quartus_stp call really adds the .stp, but this makes the .qsf match what was run set_global_assignment -name SIGNALTAP_FILE mystp.stp set_global_assignment -name ENABLE_SIGNALTAP ON set_global_assignment -name USE_SIGNALTAP_FILE mystp.stp set_global_assignment -name PARTITION_NETLIST_TYPE STRICT_POST_FIT -section_id Top set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top export_assignments; post_message -type info "Exporting Assignments..." qexec "quartus_stp --stp_file mystp.stp --enable project_name" qexec "quartus_map --read_settings_files=on --write_settings_files=off project_name -c rev_name" qexec "quartus_cdb project_name --merge" qexec "quartus_fit --read_settings_files=off --write_settings_files=off project_name -c rev_name" qexec "quartus_asm --read_settings_files=off --write_settings_files=off project_name -c rev_name" project_close