Intel: When reading/writing registers implemented in the FPGA part on a system running Linux, use the ALT_WRITE_WORD / ALT_READ_WORD API functions described in socal.h of SoC EDS. Can you do it?

SoC EDS/DS-5 SoC FPGA

Category: SoCs
Tools: SoC EDS
device:-

No.
Not directly accessible by API functions in socal.h. The bodies of these functions are just pointer accesses

example)

#define alt_read_word(src) (*ALT_CAST(volatile uint32_t *, (src)))

Since it is a virtual address by MMU (Memory Management Unit) on Linux, it cannot be accessed unless the physical address is obtained using the mmap() function.

 

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.