Forum Discussion
Ali8
New Contributor
2 years agoSlave Memory in OneAPI HLS Flow
In intel HLS compiler, we can implement a slave memory inside a component using hls_avalon_slave_memory_argument(N). The slave memory can also be implemented with M20K embedded RAM and can have the s...
- 2 years ago
Hi Ali,
Currently only the fpga_register attribute works on device globals (to force them into your datapath as registers).
whitepau_altera
Contributor
2 years agoHello Ali8!
The closest thing we have to the old hls_avlaon_agent_memory_argument is the device_global type. There is a code sample here:
device_global tutorial
The other option is to create a memory-mapped host interface using a global memory (either using a Shared/Host Unified Shared Memory or an Accessor) and connect it to a BRAM instance in Platform Designer.