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
0c3fc4d2
Commit
0c3fc4d2
authored
Oct 24, 2017
by
Raimundas Bastys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added simul fifo to sensor/sensor_i2c.v
parent
2ddc7805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
sensor_i2c.v
sensor/sensor_i2c.v
+19
-0
No files found.
sensor/sensor_i2c.v
View file @
0c3fc4d2
...
...
@@ -475,7 +475,23 @@ module sensor_i2c#(
.
rvalid
(
i2c_rvalid
)
// output
)
;
`ifdef
SENSOR_SPI
simul_fifo
#(
.
WIDTH
(
32
)
,
.
DEPTH
(
64
)
)
simmul_fifo_i
(
.
clk
(
mclk
)
,
.
reset
(
mrst
)
,
.
data_in
(
di_r
)
,
.
load
(
i2c_cmd_we
)
,
.
input_ready
()
,
.
data_out
(
data_spi
)
,
.
valid
(
valid_spi
)
,
.
ready
(
read_spi
))
;
`else
ram_var_w_var_r
#(
.
REGISTERS
(
1
)
,
// try to delay i2c_byte_start by one more cycle
...
...
@@ -494,5 +510,8 @@ module sensor_i2c#(
.
data_in
(
di_r
)
// input[31:0]
)
;
`endif
endmodule
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