Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
afbff1bf
Commit
afbff1bf
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Corrected check on run script only once.
parent
c9f0af06
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/modelsim/modelsim_version.sh
+0
-6
0 additions, 6 deletions
tools/modelsim/modelsim_version.sh
tools/quartus/quartus_generic.sh
+15
-11
15 additions, 11 deletions
tools/quartus/quartus_generic.sh
tools/quartus/quartus_version.sh
+0
-6
0 additions, 6 deletions
tools/quartus/quartus_version.sh
with
15 additions
and
23 deletions
tools/modelsim/modelsim_version.sh
+
0
−
6
View file @
afbff1bf
...
...
@@ -20,10 +20,6 @@
#
###############################################################################
# Only run this script once
if
[
-z
"
${
MODELSIM_VERSION_SH
}
"
]
;
then
export
MODELSIM_VERSION_SH
=
true
MODELSIM_VERSION
=
${
1
}
echo
"Select Modelsim version:
${
MODELSIM_VERSION
}
"
...
...
@@ -35,5 +31,3 @@ fi
# Must not define MODEL_TECH, because it gets defined when the tool starts. Therefore define MODEL_TECH_DIR to denote the modeltech version directory
export
MODEL_TECH_DIR
=
/home/software/Mentor/
${
MODELSIM_VERSION_DIR
}
/modeltech
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tools/quartus/quartus_generic.sh
+
15
−
11
View file @
afbff1bf
...
...
@@ -20,9 +20,10 @@
#
###############################################################################
#
Only run
this script once
#
Detect if
this script
has already ran
once
if
[
-z
"
${
QUARTUS_GENERIC_SH
}
"
]
;
then
export
QUARTUS_GENERIC_SH
=
true
export
QUARTUS_GENERIC_SH
=
true
fi
echo
"Run quartus_generic.sh"
# Derive generic Quartus tool version related paths from $QUARTUS_DIR that gets defined in quartus_version.sh
...
...
@@ -32,18 +33,21 @@ export QUARTUS_ROOTDIR_OVERRIDE=${QUARTUS_DIR}/quartus
export
NIOSDIR
=
${
QUARTUS_DIR
}
/nios2eds
export
SOPC_KIT_NIOS2
=
${
NIOSDIR
}
# Add to the $PATH, therefor run this script only once to avoid double entries
export
PATH
=
${
PATH
}
:
\
${
QUARTUS_ROOTDIR
}
/bin:
\
${
QUARTUS_ROOTDIR
}
/sopc_builder/bin:
\
${
NIOSDIR
}
/bin:
\
${
NIOSDIR
}
/bin/gnu/H-i686-pc-linux-gnu/bin:
\
${
NIOSDIR
}
/sdk2/bin
echo
$QUARTUS_DIR
echo
$QUARTUS_ROOTDIR
# Add to the $PATH, only once to avoid double entries
if
[
-z
"
${
QUARTUS_GENERIC_SH
}
"
]
;
then
export
PATH
=
${
PATH
}
:
\
${
QUARTUS_ROOTDIR
}
/bin:
\
${
QUARTUS_ROOTDIR
}
/sopc_builder/bin:
\
${
NIOSDIR
}
/bin:
\
${
NIOSDIR
}
/bin/gnu/H-i686-pc-linux-gnu/bin:
\
${
NIOSDIR
}
/sdk2/bin
fi
# Qsys
export
ALTERA_HW_TCL_KEEP_TEMP_FILES
=
1
# User synthesis timestamp in FPGA image
export
UNB_COMPILE_STAMPS
=
1
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tools/quartus/quartus_version.sh
+
0
−
6
View file @
afbff1bf
...
...
@@ -20,10 +20,6 @@
#
###############################################################################
# Only run this script once
if
[
-z
"
${
QUARTUS_VERSION_SH
}
"
]
;
then
export
QUARTUS_VERSION_SH
=
true
QUARTUS_VERSION
=
${
1
}
echo
"Select Quartus version:
${
QUARTUS_VERSION
}
"
...
...
@@ -32,5 +28,3 @@ export QUARTUS_DIR=/home/software/Altera/${QUARTUS_VERSION}
# Select the path to the technology libraries that is used in the [libraries] section of the modelsim.ini
export
MODEL_TECH_ALTERA_LIB
=
/home/software/modelsim_altera_libs/
${
QUARTUS_VERSION
}
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment