Switch between different Altera Quartus II versions

Many times FPGA developers have needs to switch between different versions of a tool set running on the same machine. Having multiple versions of the same tool(s) installed on a given machine (in this case running Windows) is a perfectly accepted methodology. Here we show how to switch between Altera’s Quartus II version 13.1 and 14.1 from a Windows batch (.bat) script. The script sets all the required Windows environment variables required for each version being initialized.


@echo off
REM ========================================================================
REM Name: Altera_Tool_Switch.bat
REM Tool: Version switching batch script for Altera's IP, Nios II EDS, and Quartus II
REM Default install path settings (change to match your installation paths for each version).
REM Execute from a DOS command shell.
REM Some users have benefited from additionally moving C:\Quartus\bin and Quartus\win to the front of the PATH env var.
set Altera_13_1=D:\altera\13.1
set Nios_13_1=D:\altera\13.1\nios2eds
set Quartus_13_1=D:\altera\13.1\quartus
set IP_13_1=D:\altera\13.1\ip\altera
set Altera_14_1=D:\altera\14.1
set Nios_14_1=D:\altera\14.1\nios2eds
set Quartus_14_1=D:\altera\14.1\quartus
set IP_14_1=D:\altera\14.1\ip\altera
REM ========================================================================
REM Use the first parameter as the specified version if available.
REM This will skip menu echo below if there exists a first parameter.
set ALT_VER=%1
REM ========================================================================
if not defined ALT_VER (
   echo ****************************************************************
   echo * Altera Environment Switcher
   echo ****************************************************************
   echo * Choose an Altera version to update your environment variables.
   echo *
   echo * Note:  Before making a selection, close any open Altera tools.
   echo *        After running this script, exit the shell from which it 
   echo *        was launched.  Only new environments will inherit the 
   echo *        new system environment settings.
   echo *
   echo * Note:  Some of these versions may not exist yet, or the paths 
   echo *        may not match your installation.  If you install to 
   echo *        non-standard locations, modify the paths at the top of 
   echo *        this batch file for each non-standard install path per 
   echo *        version.
   echo *
   echo *        For example, to modify the installation path information 
   echo *        for version 13.1, update 3 variables in this batch file: 
   echo *        Nios_13_1, Quartus_13_1, and IP_13_1.
   echo *
   echo * 1.     Version 13.1
   echo * 2.     Version 14.1
   echo * 3.     Do not make any changes
   echo *
   echo * Choose a number to select a version [1, 2, or 3]
   set /p ALT_VER=%1
if not defined ALT_VER (
   echo Valid Altera Tools Version not specified.
REM ========================================================================
REM Set Nios II 13.1
if %ALT_VER% == 1 (
   echo Setting environment for version 13.1
   setx ALTERA %Altera_13_1%
   setx QUARTUS_ROOTDIR %Quartus_13_1%
   setx SOPC_BUILDER_PATH %Nios_13_1%;%IP_13_1%
   setx SOPC_KIT_NIOS2 %Nios_13_1%
   setx IP_ROOTDIR D:/altera/13.1/ip
   goto END
REM ========================================================================
REM Set Nios II 14.1
if %ALT_VER% == 2 (
   echo Setting environment for version 14.1
   setx ALTERA %Altera_14_1%
   setx QUARTUS_ROOTDIR %Quartus_14_1%
   setx SOPC_BUILDER_PATH %Nios_14_1%;%IP_14_1%
   setx SOPC_KIT_NIOS2 %Nios_14_1%
   setx IP_ROOTDIR D:/altera/14.1/ip
   goto END
REM ========================================================================
REM Do not make any changes
if %ALT_VER% == 3 (
   echo Exiting script with no changes.
   goto END
REM ========================================================================
REM ALT_VER is not recognized
set ALT_VER=
echo Valid Altera Tools Version not specified.
REM ========================================================================

163 comments on “Switch between different Altera Quartus II versions”

  1. Pingback: Leandro Farland

  2. Pingback: Lincoln Georgis

  3. Pingback: Lila Lovely Thanksgiving

  4. Pingback: MILFCity

  5. Pingback: Cory Chase MILFCity

  6. Pingback: domain-portfolio

  7. Pingback: Pay for Assignments

  8. Pingback: Urgent Assignment Help

  9. Pingback: sleep aid. best sleep aid

  10. Pingback: personalized baby shower gift

  11. Pingback: valentine gift for her

  12. Pingback: Click Here

  13. Pingback: Click Here

  14. Pingback: Click Here

  15. Pingback: Click Here

  16. Pingback: Click Here

  17. Pingback: Click Here

  18. Pingback: Click Here

  19. Pingback: Click Here

  20. Pingback: Click Here

  21. Pingback: Click Here

  22. Pingback: Click Here

  23. Pingback: Click Here

  24. Pingback: Click Here

  25. Pingback: Click Here

  26. Pingback: Click Here

  27. Pingback: Click Here

  28. Pingback: Click Here

  29. Pingback: Click Here

  30. Pingback: Click Here

  31. Pingback: Click Here

  32. Pingback: remote control robotics

  33. Pingback: moveit studio

  34. Pingback: no code robotics

  35. Pingback: Click Here

  36. Pingback: Click Here

  37. Pingback: Reputation Defenders

  38. Pingback: Reputation Defenders

  39. Pingback: Click Here

  40. Pingback: Reputation Defenders

  41. Pingback: Reputation Defenders

  42. Pingback: Click Here

  43. Pingback: Click Here

  44. Pingback: Click Here

  45. Pingback: Click Here

  46. Pingback: Click Here

  47. Pingback: Click Here

  48. Pingback: Click Here

  49. Pingback: Click Here

  50. Pingback: Click Here

  51. Pingback: Click Here

  52. Pingback: Click Here

  53. Pingback: Click Here

  54. Pingback: Click Here

  55. Pingback: Click Here

  56. Pingback: Click Here

  57. Pingback: grand rapids dentist

  58. Pingback: Click Here

  59. Pingback: https://gquery.org/

  60. Pingback: Click Here

  61. Pingback: Click Here

  62. Pingback: Click Here

  63. Pingback: Click Here

  64. Pingback: Click Here

  65. Pingback: Click Here

  66. Pingback: Click Here

  67. Pingback: 안전한카지노사이트

  68. Pingback: Click Here

  69. Pingback: Click Here

  70. Pingback: Click Here

  71. Pingback: Click Here

  72. Pingback: Click Here

  73. Pingback: Click Here

  74. Pingback: Click Here

  75. Pingback: Click Here

  76. Pingback: Click Here

  77. Pingback: Click Here

  78. Pingback: Click Here

  79. Pingback: Click Here

  80. Pingback: Click Here

  81. Pingback: Click Here

  82. Pingback: Click Here

  83. Pingback: Click Here

  84. Pingback: Click Here

  85. Pingback: 최고 등급 카지노 사이트

  86. Pingback: 하이 롤러 카지노

  87. Pingback: premium-domains-for-sale

  88. Pingback: premium-domains

  89. Pingback: cardano stake pool ranking

  90. Pingback: running bottoms

  91. Pingback: get investment for startup

  92. Pingback: free website for small business

  93. Pingback: Google reviews

  94. Pingback: Porn Star in Australia

  95. Pingback: reputation defenders

  96. Pingback: curso formula negócio online funciona?

  97. Pingback: 2023 Books

  98. Pingback: marriage records

  99. Pingback: funeral directory

  100. Pingback: find people

  101. Pingback: memorial

  102. Pingback: IRA Empire

  103. Pingback: how to bet on football and win

  104. Pingback: Chirurgie Tunisie

  105. Pingback: Chirurgiens esthétique Tunisie

  106. Pingback: Chirurgiens esthétique Tunisie

  107. Pingback: National Chi Nan University

  108. Pingback: madridbet

  109. Pingback: meritking

  110. Pingback: madridbet

  111. Pingback: مرتبات جامعة المستقبل

  112. Pingback: Sustainability initiative

  113. Pingback: Certificate programs

  114. Pingback: افضل جامعه فى مصر

  115. Pingback: البحث العلمي والنشر

  116. Pingback: Admissions process fue

  117. Pingback: Experienced professional instructors

  118. Pingback: MBA tuition fees

  119. Pingback: ما هو افضل تخصص في ادارة الاعمال

  120. Pingback: Get in Touch with Faculty of commerce

  121. Pingback: Admission Process

  122. Pingback: اقتصاد

  123. Pingback: What is the relation of Political Science with history and sociology

  124. Pingback: Bureaucracies

  125. Pingback: Political science

  126. Pingback: mission faculty of economics and political science

  127. Pingback: خطوات التقديم بالكلية

  128. Pingback: Department of Pharmacology

  129. Pingback: Microbiology and Immunology

  130. Pingback: علاج الاسنان بالمجان

  131. Pingback: Healthcare standards

  132. Pingback: Dental hygiene

  133. Pingback: Oral and Dental Medicine programs

  134. Pingback: engineering education

  135. Pingback: scientific visits

  136. Pingback: كليات هندسة في التجمع الخامس

  137. Pingback: The speech of the Dean of the College of Engineering to welcome the students of the college

  138. Pingback: meritking

  139. Pingback: Online Education

  140. Pingback: Computer Science Co-Op Programs

  141. Pingback: FCIT Admission Requirements

  142. Pingback: Community engagement

  143. Pingback: charity

  144. Pingback: training

  145. Pingback: Faculty of Oral and Dental Medicine

  146. Pingback: top university in egypt

  147. Pingback: international achievement

  148. Pingback: Prof. Ebada Sarhan

  149. Pingback: Dental Surgery Education

  150. Pingback: دراسة ادارة الاعمال بجامعة المستقبل

  151. Pingback: علم العقاقير والسموم

  152. Pingback: كلية طب الأسنان

  153. Pingback: MBA in Future university in egypt

  154. Pingback: Pharmaceutical Analytical Chemistry

  155. Pingback: grandpashabet

  156. Pingback: Msc in dental

  157. Pingback: Application deadlines for future university

  158. Pingback: Undergraduate programs at future university

  159. Pingback: برامج البكالوريوس في جامعة المستقبل

  160. Pingback: Application fee for future university

  161. Pingback: meritking

  162. Pingback: meritking

  163. Pingback: madridbet

Comments are closed.