Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
shanshe
zz9000-firmware
Commits
7aff0790
Unverified
Commit
7aff0790
authored
Jun 16, 2020
by
mntmn
Browse files
mntzorro: stub out axi dma read for Zorro 2
parent
ec729f5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
mntzorro.v
View file @
7aff0790
...
...
@@ -19,8 +19,8 @@
*/
// ZORRO2/3 switch
//
`define ZORRO2
`define
ZORRO3
`define
ZORRO2
//
`define ZORRO3
// use together with ZORRO2:
//`define VARIANT_ZZ9500
...
...
@@ -1188,8 +1188,7 @@ module MNTZorro_v0_1_S00_AXI
assign
m01_axi_wstrb
=
4'b1111
;
assign
m01_axi_wvalid
=
m01_axi_wvalid_out
;
// FIXME i think this process can be dissolved
// AXI DMA arbiter
// AXI DMA defaults
always
@
(
posedge
S_AXI_ACLK
)
begin
m00_axi_awlen
<=
'h0
;
// 1 burst (1 write)
m00_axi_awsize
<=
'h2
;
// 2^2 == 4 bytes
...
...
@@ -1220,6 +1219,13 @@ module MNTZorro_v0_1_S00_AXI
m01_axi_awqos
<=
'h0
;
m01_axi_wlast
<=
'h1
;
m01_axi_bready
<=
'h1
;
`ifdef
ZORRO2
// ZORRO2 doesn't implement AXI DMA read yet
m00_axi_araddr
<=
0
;
m00_axi_arvalid
<=
0
;
m00_axi_rready
<=
0
;
`endif
end
reg
[
9
:
0
]
videocap_x_sync
;
...
...
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