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
2f59e590
Commit
2f59e590
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added section 2f Generate IP.diff
parent
c0269078
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/hdltool_readme.txt
+32
-11
32 additions, 11 deletions
tools/hdltool_readme.txt
with
32 additions
and
11 deletions
tools/hdltool_readme.txt
+
32
−
11
View file @
2f59e590
...
...
@@ -8,11 +8,12 @@ Contents:
c) Tool environment setup scripts
d) Compiling the Altera libraries for simulation with Modelsim
e) Quartus user_components.ipx
f) Tool start scripts
g) How to start Modelsim for RadioHDL
h) How to start Quartus for RadioHDL
i) How to start Modelsim for UNB
j) How to start Quartus for UNB
f) Generate IP
g) Tool start scripts
h) How to start Modelsim for RadioHDL
i) How to start Quartus for RadioHDL
j) How to start Modelsim for UNB
k) How to start Quartus for UNB
3) HDL environment configuration files
a) Tools and libraries
...
...
@@ -156,7 +157,27 @@ In a Unix system this goes to the personal folder at ~ (= $HOME):
Maybe coping the user_components.ipx from SVN location to the personal ~ location avoids having to copy it into the installation location.
f) Tool start scripts
f) Generate IP
The IP needs to be generated before it can be simulated or synthesized. The Quartus IP is generated using Qsys or the Megawizard.
Initialy the GUI was used to create and generate the IP, but once it works and is stable then the IP can be generated uisng a script.
Therefore each library with IP has a dedicated generate_ip.sh, for example:
> cd $RADIOHDL/libraries/technology/ip_stratixiv/mac_10g
> ./generate_ip.sh
The IP for all libraries of a certain FPGA technology can also be generated automatically in one command using:
# ip_stratixiv
> cd $RADIOHDL/libraries/technology/ip_stratixiv
> ./generate-all-ip.sh
# ip_arria10
> cd $RADIOHDL/libraries/technology/ip_arria10
> ./generate-all-ip.sh
g) Tool start scripts
The definitions for actually running Modelsim and Quartus are not kept in the ~/.bashrc file or the setup script but are
set in a tool start script:
...
...
@@ -171,7 +192,7 @@ the advantages of using a seperate tool start script is:
only apply to the started tool environment
g
) How to start Modelsim for RadioHDL
h
) How to start Modelsim for RadioHDL
To start Modelsim for RadioHDL do:
...
...
@@ -198,7 +219,7 @@ The commands.do defines the following extra commands that can be used at the Mod
. ds : delete all signals from the wave window
h
) How to start Quartus for RadioHDL
i
) How to start Quartus for RadioHDL
To start Quartus for RadioHDL do:
...
...
@@ -219,7 +240,7 @@ Now only the toolsets 'unb1' and 'unb2' are defined
The Quartus unb_* bash commands for $UNB have also been ported to $RADIOHDL. They use quartus 11.1 so they only support Stratix IV and UniBoard1.
For Arria10 and UniBoard2 these commands will have to be ported to an equivalent in Python. The following Quartus run_* bash commands are kept in
$RADIOHDL/tools/quartus. These run_* bash commands can be used in $RADIOHDL. The run_* bash commands assume that the design library
projects are in the central $HDL_BUILD_DIR = $RADIOHDL/build
/quartus
:
projects are in the central $HDL_BUILD_DIR = $RADIOHDL/build:
For building a SOPC system use:
> run_sopc unb1 unb1_minimal_sopc
...
...
@@ -240,7 +261,7 @@ For building a QSYS system use:
> run_sof unb1 unb1_minimal_qsys 0
i
) How to start Modelsim for UNB
j
) How to start Modelsim for UNB
GUI:
...
...
@@ -251,7 +272,7 @@ GUI:
See the setup_unb.sh environment script and ASTRON_RP_1354_unb_minimal.pdf for more description.
j
) How to start Quartus for UNB
k
) How to start Quartus for UNB
GUI:
...
...
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