bmartini / zynq-axis Goto Github PK
View Code? Open in Web Editor NEWHardware, Linux Driver and Library for the Zynq AXI DMA interface
License: Other
Hardware, Linux Driver and Library for the Zynq AXI DMA interface
License: Other
Hi,
Is this driver tested on the linux kernel 5.x version?
Thanks.
I modified the testbench to demonstrate at line 209 as follows
``ifdef TB_VERBOSE
$display("test read");
`endif
ready <= 1'b1;
repeat(5) @(posedge clk);
axi_rdata <= {32'd8, 32'd7, 32'd6, 32'd5, 32'd4, 32'd3, 32'd2, 32'd1};
axi_rvalid <= 1'b1;
@(posedge clk);
axi_rdata <= {32'd9, 32'd8, 32'd7, 32'd6, 32'd5, 32'd4, 32'd3, 32'd2};
while ( ~axi_rready) @(posedge clk);
axi_rvalid <= 1'b1;
@(posedge clk);
axi_rdata <= 'b0;
axi_rvalid <= 1'b0;
**repeat(5) @(posedge clk);
ready <= 1'b0;
repeat(5) @(posedge clk);
ready <= 1'b1;**
repeat(15) @(posedge clk);
ifdef TB_VERBOSE $display("END");
endif`
If you look at the marker, valid deasserts, but by the AXIS protocol it needs to be held until ready completes the transfer. In this case the data value 0x3 would be missed by the downstream slave.
I'm speculating, but maybe there's a similar error in axis_write_data (even though
I've never seen that interface to the HP port deassert tready)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.