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
a2f208ee
Commit
a2f208ee
authored
Oct 30, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i2c sequencer frame ahead of the system frame number
parent
eb0f6b26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
fpga_version.vh
fpga_version.vh
+4
-2
sensor_i2c.v
sensor/sensor_i2c.v
+2
-1
x393_parallel.bit
x393_parallel.bit
+0
-0
No files found.
fpga_version.vh
View file @
a2f208ee
...
@@ -35,8 +35,10 @@
...
@@ -35,8 +35,10 @@
* 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'h039300c4; //parallel - option to use EOF for i2c sequencer timing met, 79.66%
parameter FPGA_VERSION = 32'h039300c6; //parallel - same -0.132 /31, 80.73%
// parameter FPGA_VERSION = 32'h039300c3; //parallel - fixing timestamps -0.209/47, 79.86%
// parameter FPGA_VERSION = 32'h039300c5; //parallel - made i2c ahead of system frame number for eof -0.027/12 , 82.08%
// parameter FPGA_VERSION = 32'h039300c4; //parallel - option to use EOF for i2c sequencer timing met, 79.66%
// parameter FPGA_VERSION = 32'h039300c3; //parallel - fixing timestamps -0.209/47, 79.86%
// parameter FPGA_VERSION = 32'h039300c2; //parallel - external sync for Eyesis -0.160/71 79.84%
// parameter FPGA_VERSION = 32'h039300c2; //parallel - external sync for Eyesis -0.160/71 79.84%
// parameter FPGA_VERSION = 32'h039300c1; //parallel - modified after troubleshooting simulation -0.069/41, 79.90 %
// parameter FPGA_VERSION = 32'h039300c1; //parallel - modified after troubleshooting simulation -0.069/41, 79.90 %
// parameter FPGA_VERSION = 32'h039300c0; //parallel - changing LOGGER_PAGE_IMU 3->0 (how it was in 353) -0.044/16, 79.59%
// parameter FPGA_VERSION = 32'h039300c0; //parallel - changing LOGGER_PAGE_IMU 3->0 (how it was in 353) -0.044/16, 79.59%
...
...
sensor/sensor_i2c.v
View file @
a2f208ee
...
@@ -361,7 +361,8 @@ module sensor_i2c#(
...
@@ -361,7 +361,8 @@ module sensor_i2c#(
if
(
reset_cmd
)
wpage0
<=
0
;
if
(
reset_cmd
)
wpage0
<=
0
;
else
if
(
wpage0_inc
[
0
])
wpage0
<=
wpage0
+
1
;
else
if
(
wpage0_inc
[
0
])
wpage0
<=
wpage0
+
1
;
else
if
(
sync_to_seq
||
sync_to_eof
)
wpage0
<=
sync_to_eof
?
(
frame_num_seq
-
1
)
:
frame_num_seq
;
// else if (sync_to_seq || sync_to_eof) wpage0 <= sync_to_eof?(frame_num_seq-1):frame_num_seq;
else
if
(
sync_to_seq
||
sync_to_eof
)
wpage0
<=
frame_num_seq
;
// i2c frame is ahead of the frame sync one
if
(
reset_cmd
)
wpage_prev
<=
4'hf
;
if
(
reset_cmd
)
wpage_prev
<=
4'hf
;
else
if
(
wpage0_inc
[
0
])
wpage_prev
<=
wpage0
;
else
if
(
wpage0_inc
[
0
])
wpage_prev
<=
wpage0
;
...
...
x393_parallel.bit
View file @
a2f208ee
No preview for this file type
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