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.
Altera_Tool_Switch.bat:
@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 ========================================================================
:ALT_VER_OPTIONS
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.
goto ALT_VER_OPTIONS
)
REM ========================================================================
REM Set Nios II 13.1
REM
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
REM
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
REM
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.
goto ALT_VER_OPTIONS
REM ========================================================================
:END
Pingback: Leandro Farland
Pingback: Lincoln Georgis
Pingback: Lila Lovely Thanksgiving
Pingback: MILFCity
Pingback: Cory Chase MILFCity
Pingback: domain-portfolio
Pingback: Pay for Assignments
Pingback: Urgent Assignment Help
Pingback: sleep aid. best sleep aid
Pingback: personalized baby shower gift
Pingback: valentine gift for her
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: remote control robotics
Pingback: moveit studio
Pingback: no code robotics
Pingback: Click Here
Pingback: Click Here
Pingback: Reputation Defenders
Pingback: Reputation Defenders
Pingback: Click Here
Pingback: Reputation Defenders
Pingback: Reputation Defenders
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: grand rapids dentist
Pingback: Click Here
Pingback: https://gquery.org/
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: 안전한카지노사이트
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: Click Here
Pingback: 최고 등급 카지노 사이트
Pingback: 하이 롤러 카지노
Pingback: premium-domains-for-sale
Pingback: premium-domains
Pingback: cardano stake pool ranking
Pingback: running bottoms
Pingback: get investment for startup
Pingback: free website for small business
Pingback: Google reviews
Pingback: Porn Star in Australia
Pingback: reputation defenders
Pingback: curso formula negócio online funciona?
Pingback: 2023 Books
Pingback: marriage records
Pingback: funeral directory
Pingback: find people
Pingback: memorial
Pingback: IRA Empire
Pingback: how to bet on football and win
Pingback: Chirurgie Tunisie
Pingback: Chirurgiens esthétique Tunisie
Pingback: Chirurgiens esthétique Tunisie
Pingback: National Chi Nan University
Pingback: madridbet
Pingback: meritking
Pingback: madridbet
Pingback: مرتبات جامعة المستقبل
Pingback: Sustainability initiative
Pingback: Certificate programs
Pingback: افضل جامعه فى مصر
Pingback: البحث العلمي والنشر
Pingback: Admissions process fue
Pingback: Experienced professional instructors
Pingback: MBA tuition fees
Pingback: ما هو افضل تخصص في ادارة الاعمال
Pingback: Get in Touch with Faculty of commerce
Pingback: Admission Process
Pingback: اقتصاد
Pingback: What is the relation of Political Science with history and sociology
Pingback: Bureaucracies
Pingback: Political science
Pingback: mission faculty of economics and political science
Pingback: خطوات التقديم بالكلية
Pingback: Department of Pharmacology
Pingback: Microbiology and Immunology
Pingback: علاج الاسنان بالمجان
Pingback: Healthcare standards
Pingback: Dental hygiene
Pingback: Oral and Dental Medicine programs
Pingback: engineering education
Pingback: scientific visits
Pingback: كليات هندسة في التجمع الخامس
Pingback: The speech of the Dean of the College of Engineering to welcome the students of the college
Pingback: meritking
Pingback: Online Education
Pingback: Computer Science Co-Op Programs
Pingback: FCIT Admission Requirements
Pingback: Community engagement
Pingback: charity
Pingback: training
Pingback: Faculty of Oral and Dental Medicine
Pingback: top university in egypt
Pingback: international achievement
Pingback: Prof. Ebada Sarhan
Pingback: Dental Surgery Education
Pingback: دراسة ادارة الاعمال بجامعة المستقبل
Pingback: علم العقاقير والسموم
Pingback: كلية طب الأسنان
Pingback: MBA in Future university in egypt
Pingback: Pharmaceutical Analytical Chemistry
Pingback: grandpashabet
Pingback: Msc in dental
Pingback: Application deadlines for future university
Pingback: Undergraduate programs at future university
Pingback: برامج البكالوريوس في جامعة المستقبل
Pingback: Application fee for future university
Pingback: meritking
Pingback: meritking
Pingback: madridbet