Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
21e45a99
Commit
21e45a99
authored
Mar 05, 2015
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more code converted from Verilog to Python
parent
eba342eb
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
737 additions
and
539 deletions
+737
-539
test1.py
py393/test1.py
+6
-2
x393_axi_control_status.py
py393/x393_axi_control_status.py
+0
-537
x393_pio_sequences.py
py393/x393_pio_sequences.py
+731
-0
No files found.
py393/test1.py
View file @
21e45a99
...
...
@@ -42,8 +42,9 @@ from argparse import RawDescriptionHelpFormatter
from
import_verilog_parameters
import
ImportVerilogParameters
from
import_verilog_parameters
import
VerilogParameters
import
x393_axi_control_status
import
x393_mem
import
x393_axi_control_status
import
x393_pio_sequences
__all__
=
[]
__version__
=
0.1
__date__
=
'2015-03-01'
...
...
@@ -222,8 +223,9 @@ USAGE
if
verbose
>
3
:
print
(
"vpars1.VERBOSE__TYPE="
+
str
(
vpars1
.
VERBOSE__TYPE
))
if
verbose
>
3
:
print
(
"vpars1.VERBOSE__RAW="
+
str
(
vpars1
.
VERBOSE__RAW
))
x393mem
=
x393_mem
.
X393Mem
(
verbose
,
True
)
x393mem
=
x393_mem
.
X393Mem
(
verbose
,
True
)
#add dry run parameter
x393tasks
=
x393_axi_control_status
.
X393AxiControlStatus
(
verbose
,
True
)
x393Pio
=
x393_pio_sequences
.
X393PIOSequences
(
verbose
,
True
)
'''
print ("----------------------")
print("x393_mem.__dict__="+str(x393_mem.__dict__))
...
...
@@ -240,6 +242,8 @@ USAGE
print
(
name
+
": "
+
str
(
func_args
))
extractTasks
(
x393_mem
.
X393Mem
,
x393mem
)
extractTasks
(
x393_axi_control_status
.
X393AxiControlStatus
,
x393tasks
)
extractTasks
(
x393_pio_sequences
.
X393PIOSequences
,
x393Pio
)
if
verbose
>
3
:
funcName
=
"read_mem"
funcArgs
=
[
0x377
,
123
]
...
...
py393/x393_axi_control_status.py
View file @
21e45a99
This diff is collapsed.
Click to expand it.
py393/x393_pio_sequences.py
0 → 100644
View file @
21e45a99
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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