Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
c58f5a12
Commit
c58f5a12
authored
Jul 01, 2016
by
Jens Korinth
Browse files
Bugfix
parent
90e7cca7
Changes
1
Show whitespace changes
Inline
Side-by-side
package.py
View file @
c58f5a12
...
...
@@ -33,10 +33,10 @@ def run_vivado(script):
output
=
p
.
communicate
(
input
=
script
)[
0
]
print
output
.
decode
()
def
parse_args
:
def
parse_args
()
:
parser
=
argparse
.
ArgumentParser
(
description
=
'Package a hardware module specified by JSON as IP-XACT.'
)
parser
.
add_argument
(
'json'
,
help
=
'path to JSON file'
)
return
parser
.
parse_args
()
args
=
parse_args
args
=
parse_args
()
run_vivado
(
make_vivado_script
(
args
.
json
))
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment