Query on I/O accessors used by Xilinx SystemACE Driver
Synopsys has Xilinx ML50x boards with our internal FPGA workflows, which we sometimes use for internal development and customer evaluations. In that light Alexey has been working on getting the stock systemACE driver to work with ARC Linux Port.
One of things that he wants me to fix is introduce the PPC/m68k/microblaze style in_8, in_le16, .... I/O accessors in ARC port, used specifically by driver.
I'm not an expert in that driver or the specific needs of those accessors on respective arches, but was wondering, if it would be possible to convert the driver to use the vanilla IO accessors (read{b,w,l}. Microblaze at least, seem to be defining them as straight wrappers over the standard raw accessors.
Ben, Geert could you please comment ?
Thx,
-Vineet
Quoted 6 lines · Vineet Gupta
I'm not an expert in that driver or the specific needs of those accessors on respective arches, but was wondering, if it would be possible to convert the driver to use the vanilla IO accessors (read{b,w,l}. Microblaze at least, seem to be defining them as straight wrappers over the standard raw accessors.
Ben, Geert could you please comment ?
If your HW is little-endian, then by all means use the standard accessors, either readb,w,l or the iomap.h ones (ioread*)
Cheers,
Ben.