Forum Discussion

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

quartus_fit switches equivalent for quartus fit QSF commands

Hi all,

I trying to find an equivalents to quartus fit QSF settings commands in quartus_fit switches

For example:

set_global_assignment -name FITTER_EFFORT <"STANDARD FIT" | "FAST FIT" | "AUTO FIT">

has the equivalent

--effort=<standard|fast|auto>

I can find equivalents only for the following four commands:

* set_global_assignment -name FITTER_EFFORT <"STANDARD FIT" | "FAST FIT" | "AUTO FIT">

To

--effort=<standard|fast|auto>

* set_global_assignment -name OPTIMIZE_IOC_REGISTER_PLACEMENT_FOR_TIMING [ON | OFF]

To

--optimize_io_register_for_timing[=on|off]

set_global_assignment -name AUTO_PACKED_REGISTERS_<family> <OFF | NORMAL | "MINIMIZE AREA" | "MINIMIZE AREA WITH CHAINS" | AUTO>

To

--pack_register=<off|normal|minimize_area

|minimize_area_with_chains|auto>

set_global_assignment -name PLACEMENT_EFFORT_MULTIPLIER <value>

To

--inner_num=<value>

There are a lot of Quartus Fit QSF commands which I cannot find equivalent for

For example

set_global_assignment -name WEAK_PULL_UP_RESISTOR [ON | OFF]

set_global_assignment -name AUTO_MERGE_PLLS [ON | OFF]

......

Can Anyone advice where I can search for equivalents for those QSF quartus fit commands?

Thanks,

Abdelrahman

2 Replies

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

    It is not recommended to run all your commands from quartus_fit. A few things were added that are commonly used, and really seed is probably the only common one. Everything else should be stored in your .qsf. That being said, two options:

    1) There is a generic --set option that allows you to put in your own values, i.e. .qsf settings directly.

    2) Rather than passing arguments via quartus_fit, have a separate .tcl file you call with quartus_sh --t filename.tcl

    project_open <project_name>

    set_global_assignment -name WEAK_PULL_UP_RESISTOR [ON | OFF]

    set_global_assignment -name AUTO_MERGE_PLLS [ON | OFF]

    project_close

    This puts them in the .qsf and they will be used by the fitter.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all,

    Thank you so much for your answers they are really helpful

    I have another question, I am trying to set Timing optimization to extra effort for Quartus fitter through command line switches so I wrote

    execute_module -tool fit -args {--set=optimize_timing="EXTRA EFFORT"}

    But Quartus fitter errors out with

    Error: Unknown argument "EFFORT". Refer to --help for legal arguments.

    I face same problem with any option which accept values with spaces in between

    Any suggestions?