Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21587 Discussions

execute different quartus version in command prompt

Altera_Forum
Honored Contributor II
1,980 Views

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?
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
683 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
683 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
683 Views

 

--- 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
0 Kudos
Altera_Forum
Honored Contributor II
683 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
683 Views

 

--- 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
0 Kudos
Altera_Forum
Honored Contributor II
683 Views

Thank, it is work when i add the path.

0 Kudos
Reply