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
d25716a2
Commit
d25716a2
authored
7 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added contents and sections.
parent
63aaa440
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/oneclick/prestudy/YAML/args_readme.txt
+37
-1
37 additions, 1 deletion
tools/oneclick/prestudy/YAML/args_readme.txt
with
37 additions
and
1 deletion
tools/oneclick/prestudy/YAML/args_readme.txt
+
37
−
1
View file @
d25716a2
Howto for new tools.
This readme is an introduction to py_args_lib.
Contents:
1) Demo of py_args_lib
2) How to develop new tool scripts that use py_args_lib
3) Examples of tool scripts that use py_args_lib
1) Demo of py_args_lib
./args_demo.py -h # help
./args_demo.py -s unb1_minimal_sopc -v INFO # show system.yaml contents
./args_demo.py -p unb1_board dp -v INFO # show peripheral.yaml contents
2) How to develop new tool scripts that use py_args_lib
# import all from py_args_lib
# import all from py_args_lib
from py_args_lib import *
from py_args_lib import *
...
@@ -21,3 +38,22 @@ system = System(filename=[*.system.yaml])
...
@@ -21,3 +38,22 @@ system = System(filename=[*.system.yaml])
peripheral = system.peripherals['peripheral_name']
peripheral = system.peripherals['peripheral_name']
3) Examples of tool scripts that use py_args_lib
a) Create pdf documentation (very draft)
./args_documentation.py -s unb1_minimal_sopc # system with all it peripherals
okular unb1_minimal_sopc.pdf
./args_documentation.py -p unb1_board dp # only the peripheral
okular unb1_board.pdf
b) Create ROM system info for Uniboard
./uniboard_rom_system_info.py -s unb1_minimal_sopc # with self generated base addresses
more unb1_minimal_sopc.reg
./uniboard_rom_system_info.py -s unb1_minimal_sopc -q # using base addresses from sopc file (via -q)
more unb1_minimal_sopc.reg
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