Forum Discussion

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

execute different quartus version in command prompt

Hi,

I have install quartus version 12.1sp1 in windows. When I taip quartus_sh <> in command prompt, it will execute v12.1 32-bits. Can i run it in 64-bits without go to the bin64 directory?

6 Replies

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

    Not as far as I can tell.

    If I want the 64-bit version to run I use a NIOS II IDE shell and type

    
    $ export PATH=`cygpath -u $QUARTUS_ROOTDIR/bin64`:$PATH
    $ quartus
    

    which puts the 64-bit executable in the path first (the cygpath call is needed to get the path format correct).

    Cheers,

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

    --- Quote Start ---

    does "quartus_sh --64bit" load the 64 bit version?

    --- Quote End ---

    Nope, you get an error indicating that the --64bit option is not available with the current executable (a message about being 32-bit would be a little more informative!).

    Cheers,

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

    thank for reply, then got anyway can change the default path to 64bits in command prompt? because I am not using NIOS II IDE shell. quartus_sh --64bit command is not work also.

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

    --- Quote Start ---

    I am not using NIOS II IDE shell. quartus_sh --64bit command is not work also.

    --- Quote End ---

    That comment is not consistent with your original question - you asked about using the command-line. The NIOS II IDE shell *is* the command-line - its the Cygwin terminal.

    If you only ever want to use the 64-bit applications, add the bin64 directory to your path. You can probably create or edit a .bashrc file for the Altera Cygwin terminal to use, and inside that set your path.

    The --64bit option won't work until you try it on the 64-bit version of the application, i.e., the version in the bin64 folder.

    Cheers,

    Dave