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
2be076d2
Commit
2be076d2
authored
Aug 01, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added IRQ commnds definitions
parent
bb5dabda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
com.elphel.vdt.VivadoPlace.prefs
.settings/com.elphel.vdt.VivadoPlace.prefs
+1
-2
fpga_version.vh
fpga_version.vh
+3
-2
x393_export_c.py
py393/x393_export_c.py
+6
-1
No files found.
.settings/com.elphel.vdt.VivadoPlace.prefs
View file @
2be076d2
VivadoPlace_@_SkipSnapshotPlace=true
VivadoPlace_@_SkipSnapshotPlace=true
VivadoPlace_@_directive_place=Explore
VivadoPlace_@_verbose_place=true
VivadoPlace_@_verbose_place=true
com.elphel.store.context.VivadoPlace=VivadoPlace_@_verbose_place<-@\#\#@->VivadoPlace_@_SkipSnapshotPlace<-@\#\#@->
VivadoPlace_@_directive_place<-@\#\#@->
com.elphel.store.context.VivadoPlace=VivadoPlace_@_verbose_place<-@\#\#@->VivadoPlace_@_SkipSnapshotPlace<-@\#\#@->
eclipse.preferences.version=1
eclipse.preferences.version=1
fpga_version.vh
View file @
2be076d2
...
@@ -35,10 +35,11 @@
...
@@ -35,10 +35,11 @@
* contains all the components and scripts required to completely simulate it
* contains all the components and scripts required to completely simulate it
* with at least one of the Free Software programs.
* with at least one of the Free Software programs.
*/
*/
parameter FPGA_VERSION = 32'h039300a1; // hispi 81.19%, not met by -0.07
parameter FPGA_VERSION = 32'h039300a2; // hispi trying default placement 81.39% not met by -0.183
// parameter FPGA_VERSION = 32'h039300a1; // hispi 81.19%, not met by -0.07
// parameter FPGA_VERSION = 32'h039300a0; // parallel, re-ran after bug fix, %79.38%, not met -0.072
// parameter FPGA_VERSION = 32'h039300a0; // parallel, re-ran after bug fix, %79.38%, not met -0.072
// parameter FPGA_VERSION = 32'h039300a0; // parallel, else same as 9f 78.91%, not met by -0.032
// parameter FPGA_VERSION = 32'h039300a0; // parallel, else same as 9f 78.91%, not met by -0.032
// parameter FPGA_VERSION = 32'h0393009f; // hispi, adding IRQ status register (placemnt "explore") 81.36%, all met
// parameter FPGA_VERSION = 32'h0393009f; // hispi, adding IRQ status register (placemnt "explore") 81.36%, all met
- broken on one channel?
// parameter FPGA_VERSION = 32'h0393009e; // hispi, adding IRQ status register 80.90%, timing failed by -0.218
// parameter FPGA_VERSION = 32'h0393009e; // hispi, adding IRQ status register 80.90%, timing failed by -0.218
// parameter FPGA_VERSION = 32'h0393009d; // hispi, adding IRQ from multi_saxi 80.95%, timing not met (-0.034 )
// parameter FPGA_VERSION = 32'h0393009d; // hispi, adding IRQ from multi_saxi 80.95%, timing not met (-0.034 )
// parameter FPGA_VERSION = 32'h0393009c; // parallel, adding IRQ from multi_saxi 79.31% , timing met (2015.3)
// parameter FPGA_VERSION = 32'h0393009c; // parallel, adding IRQ from multi_saxi 79.31% , timing met (2015.3)
...
...
py393/x393_export_c.py
View file @
2be076d2
...
@@ -142,7 +142,12 @@ class X393ExportC(object):
...
@@ -142,7 +142,12 @@ class X393ExportC(object):
txt
+=
'// See elphel/x393_map.h for the ordered list of all I/O register addresses used
\n
'
txt
+=
'// See elphel/x393_map.h for the ordered list of all I/O register addresses used
\n
'
txt
+=
'// init_mmio_ptr() should be called once before using any of the other declared functions
\n\n
'
txt
+=
'// init_mmio_ptr() should be called once before using any of the other declared functions
\n\n
'
txt
+=
'int init_mmio_ptr(void);
\n
'
txt
+=
'int init_mmio_ptr(void);
\n
'
txt
+=
"""// IRQ commands applicable to several targets
#define X393_IRQ_NOP 0
#define X393_IRQ_RESET 1
#define X393_IRQ_DISABLE 2
#define X393_IRQ_ENABLE 3
"""
for
d
in
ld
:
for
d
in
ld
:
fd
=
self
.
expand_define_maxi0
(
d
,
mode
=
"func_decl"
,
frmt_spcs
=
None
)
fd
=
self
.
expand_define_maxi0
(
d
,
mode
=
"func_decl"
,
frmt_spcs
=
None
)
if
fd
:
if
fd
:
...
...
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