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
0fc224f6
Commit
0fc224f6
authored
Mar 16, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed timing measurement with the same start/end signal. v.03930102
parent
c1295294
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
fpga_version.vh
fpga_version.vh
+2
-1
sens_hispi12l4.v
sensor/sens_hispi12l4.v
+2
-2
x393_hispi.bit
x393_hispi.bit
+0
-0
No files found.
fpga_version.vh
View file @
0fc224f6
...
@@ -36,7 +36,8 @@
...
@@ -36,7 +36,8 @@
* with at least one of the Free Software programs.
* with at least one of the Free Software programs.
*/
*/
parameter FPGA_VERSION = 32'h03930101; // serial - 17.4 - disabling SOF when setting interface
parameter FPGA_VERSION = 32'h03930102; // serial - 17.4 - disabling SOF when setting interface, bug fix
// parameter FPGA_VERSION = 32'h03930101; // serial - 17.4 - disabling SOF when setting interface - met
// parameter FPGA_VERSION = 32'h03930100; // serial - 17.4 - disabling SOF when setting interface timing OK
// parameter FPGA_VERSION = 32'h03930100; // serial - 17.4 - disabling SOF when setting interface timing OK
// parameter FPGA_VERSION = 32'h039300ff; // serial - 15.3 - same, suspected bitstream problems
// parameter FPGA_VERSION = 32'h039300ff; // serial - 15.3 - same, suspected bitstream problems
// parameter FPGA_VERSION = 32'h039300fe; // serial - 17.4 - same, suspected bitstream problems no timing errors
// parameter FPGA_VERSION = 32'h039300fe; // serial - 17.4 - same, suspected bitstream problems no timing errors
...
...
sensor/sens_hispi12l4.v
View file @
0fc224f6
...
@@ -174,8 +174,8 @@ module sens_hispi12l4#(
...
@@ -174,8 +174,8 @@ module sens_hispi12l4#(
else
if
(
tim_ibusy
[
0
]
&&
tim_f
)
tim_ibusy
<=
2
;
else
if
(
tim_ibusy
[
0
]
&&
tim_f
)
tim_ibusy
<=
2
;
else
if
(
tim_ibusy
[
1
]
&&
tim_t
)
tim_ibusy
<=
0
;
else
if
(
tim_ibusy
[
1
]
&&
tim_t
)
tim_ibusy
<=
0
;
if
(
tim_ibusy
[
0
]
||
tim_f
)
tim_icntr
<=
0
;
// reset if repeated start (e.g. to measure last sol to eof)
if
(
tim_ibusy
[
0
]
||
(
tim_f
&&
!
tim_t
)
)
tim_icntr
<=
0
;
// reset if repeated start (e.g. to measure last sol to eof)
else
if
(
tim_ibusy
[
1
])
tim_icntr
<=
tim_icntr
+
1
;
else
if
(
tim_ibusy
[
1
])
tim_icntr
<=
tim_icntr
+
1
;
end
end
always
@
(
posedge
mclk
)
begin
always
@
(
posedge
mclk
)
begin
tim_busy_r
<=
{
tim_busy_r
[
0
]
,
|
tim_ibusy
};
tim_busy_r
<=
{
tim_busy_r
[
0
]
,
|
tim_ibusy
};
...
...
x393_hispi.bit
View file @
0fc224f6
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