Hello, View that mathematical operations take a long time in software, I made these operations in hardware using VHDL (i m using vivado 2014.4). My problem that haw can i call hardware accelerator from sotware code using keil 4.
please help me best regards.
Hello yasmine
You can perform hardware mathematical calculations using specific compiler derivatives which would remove the need of doing the same using VHDL.
However, it also depends on your hardware if it supports this functionality:
You can use, for ex: infocenter.arm.com/.../index.jsp
So did you implement this as a coprocessor or memory mapped. If memory mapped, then access it via normal memory accesses at the address(es) in question.
uint32_t *hw = (uint32_t *)0xD0000000; hw[0] = 1; hw[1] = 2; printf("%u\n", hw[2]);