1
0
mirror of https://github.com/bmartini/zynq-axis.git synced 2024-09-05 19:19:27 +08:00

7 Commits

Author SHA1 Message Date
Berin Martini
66f4315fdd Add some more configuration bus functions
Similar functions could be constructed using calls to the already existing
functions, however, it seems more efficient to add them to the library in case
the application cannot optimizes external library calls.
2015-01-09 17:17:34 -05:00
Berin Martini
76e102294b Add function to help configure the axis ports
This frees the application writer from having to know low level details like
the physical memory address of arrays etc.
2015-01-09 17:15:12 -05:00
Berin Martini
00541db077 Add function to library to allocate CMA memory
Arrays that will be used to pass data between the host and fpga need to be page
aligned and be slices of the DMA array the driver has reserved. These new
functions allocate slices from the DMA array and ensures that the starting
address is page aligned.
2015-01-09 13:44:46 -05:00
Berin Martini
2f10fb29d2 Memory map CMA array from driver
The driver sets ups a DMA contiguous array that will be used as a memory area
to share data between the PS and PL. The library memory maps this DMA array to
make it available to the host applications. The array is cache coherent and
thus data written or read from it bypass the CPU cache and read/write directly
from main memory. This ensures that the data is always the same between the
host and fpga but at a cost of long data accesses from the host CPU.
2015-01-09 13:07:51 -05:00
Berin Martini
c943552e52 Add cfg bus read/write function to interface lib
Test new functions in test-cfg application.
2014-12-31 13:30:36 -05:00
Berin Martini
f553747076 Add exit function to interface library
Include usage of new exit function in the test-cfg application.
2014-12-31 13:16:19 -05:00
Berin Martini
11ec4ddca7 Stub of an axis interface library
Attempts to mmap the axis AXI4Lite memory region.
2014-12-31 11:49:12 -05:00