- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Why I cannot run quartus_sh --flow compile top_level.v in my command prompt? the error message shown is 'quartus_sh' is not recognized as an internal or external command, operable program or batch file. can anyone help me?Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you set your PATH environment variable to the bin directory of your quartus? Try this and then re-run
Considering you're using Linux: export PATH=$PATH:<installed_quartus_directory>/<version>/quartus/bin- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank for reply, I am using windows, so "export PATH=$PATH:<installed_quartus_directory>/<version>/quartus/bin" command should be taip at where?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this steps for windows
1) Open up your command prompt (cmd) 2) Type set PATH=%PATH%;C:\altera\12.1\quartus\bin Change the back party of the PATH after ';' according to your quartus installation directory Then try to run quartus_sh again- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank, I can set the path, but i don't know how to remove the 32bits path. However, i exchange the name of bin64 with bin and it is work. It run version 64bits in command prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is actually another way to set or remove certain paths from your environment variable. In windows,
1) Open Control Panel --> Systems --> Advanced system settings --> 'Advanced' Tab --> Environment variables 2) Look for Path and click 'Edit' 3) Type the path manually and/or remove the ones you don't want- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am using this way, but is it same as when i type "path" in my command prompt? because when i type path in my command prompt, it show many applicationpath like MATLAB or other, but if i open environment variables, i only can see modelsim and quartus path.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page