Forum Discussion

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

Quartus II Command Line Executables not working

Hello all,

Newbie to Altera here. I am wanting to use the command line scripting capabilities of Quartus II to automate various tasks such as loading firmware and software onto cards. I'm starting out simple by loading just a .pof onto an FPGA. I was able to do so successfully through the Quartus II Programmer GUI. My issue is that the command line doesn't recognize any of the Quartus command line executables. I'm using the command line on Windows 7. I tried entering "quartus_sh", but the command line doesn't recognize it. All the documentation that I've been looking through talks about how to use the command line tools but nothing about how to set it up. So to sum up my questions regarding this issue,

1. Am I missing some installation? Maybe I need to reinstall the Quartus II Programmer?

2. Am I'm using the command line tools wrong? (maybe the command line has to work out of some specific directory?)

Thanks in advance,

Chris

2 Replies

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

    Found the solution. So I didn't realize that the command line executables cannot simply be called from command line without being in the right directory where the Quartus II executable also is.

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

    It also works if you put the directories of the commands you are using in your path environment variable.