Forum Discussion

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

quartus_sta won't run after "Succesful" Fitter run

Hi, I'm trying to move to a shell script for this first time with Altera tools and I am getting an error:

Error: Can't run TimeQuest Timing Analyzer (quartus_sta) -- Fitter (quartus_fit) failed or was not run.

when a few commands lines earlier I get a successful fitter completion.

I'm guessing this has to do with a setting issue or my not understanding some of the options (it seems like it is not saving the fitter information in the database or something).

1. Why isn't the fitter completion being saved?

Two related Qs:

2. Like for example: what is "read_settings_files=on" do?

3. (And what documentation is this information in - none that I can find?)

I am running this script:

#!/bin/sh
set PROJECT="htc_prj"
set TOP_LEVEL="htc_top"
set DEVICE_FAMILY="Stratix III"
set DEVICE_PART="EP3SE260F1517C2"
set PACKING_OPTION="maximize_speed"
time quartus_map -c "$TOP_LEVEL" --read_settings_files=on --write_settings_files=on --parallel=24 $PROJECT
time quartus_fit -c "$TOP_LEVEL" --read_settings_files=on --write_settings_files=on --parallel=24 $PROJECT
time quartus_asm $PROJECT
time quartus_sta $PROJECT

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think this is related to my order of arguments ... I'm creating a project with a different name ... now called $TOP_LEVEL.qpf (it's value).

    I'm confused when to use cmd [-options] [project] and when to use cmd [project] [-options] at least quartus_sh and quartus_map seem to be inconsistent ....
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    >>> Error: Can't run TimeQuest Timing Analyzer (quartus_sta) -- Fitter (quartus_fit) failed or was not run.

    In most cases this error is real. For some reason quartus_map or quartus_fit did fail. Take a look at the end of <your qsf name>.map.rpt and <your qsf name>.fit.rpt and make sure it's successfully completed.

    >>> 1. Why isn't the fitter completion being saved?

    Here is an example of the simplest possible working script:

    quartus_map --64bit --read_settings_files=on --write_settings_files=off <qpf_name> -c <qsf_name>

    quartus_fit --64bit --read_settings_files=off --write_settings_files=off <qpf_name> -c <qsf_name>

    quartus_asm --64bit --read_settings_files=off --write_settings_files=off <qpf_name> -c <qsf_name>

    quartus_sta <qpf_name> -c <qsf_name>

    >>> 2. Like for example: what is "read_settings_files=on" do?

    >>> 3. (And what documentation is this information in - none that I can find?)

    You can find this info in "Quartus II Scripting Reference Manual". Just google the name.