Forum Discussion

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

Generating netlist with quartus_eda

I've seen posts where people reported this error after running quartus_eda:

altera.eda.rpt:error: run the fitter (quartus_fit), followed by the timing analyzer (quartus_tan or quartus_sta), before running the eda netlist writer (quartus_eda)

The proposed solution was to generate netlist from Quartus GUI. It worked for me as well.

However, I'd like to run the whole flow - quartus_{map,fit,sta,eda} - in a command line mode using the same QSF and QPF.

Well, for some reason quartus_eda fails with aforementioned error after running map/fit/sta.

Any ideas why ?

Thanks,

Evgeni

4 Replies

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

    Generally people always use the same .qpf/.qsf for all of those modules. I just run the following:

    quartus_sh --flow compile --64bit top -c revision

    Where top is the name of the .qpf file and revision is the name of the .qsf. (Most of the time they're the same name, in which case the -c revision is unnecessary). If you have EDA enabled in your project settings(.qsf) it will run as part of this. This basically mimics hitting the compile button in Quartus GUI.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    For various reasons I need to use individual executables (that's how our build scripts are structured) rather than "quartus_sh --flow compile".

    It looks like using the following parameters to quartus_eda:

    --read_settings_files=off --write_settings_files=off <proj> -c <version> --format=verilog --tool=modelsim --simulation=on

    fixes the problem.

    GUI flow was using the command:

    quartus_eda --read_settings_files=off --write_settings_files=off <proj> -c <version>

    So by adding format, tool and simulation parameters to command line, even though the QSF already contained those options, made it work.

    That sounds like a bug.

    Thanks,

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

    I'm working with an older 9.1sp2 Quartus version. Maybe there is a bug there and I should try the latest 11.1.