Howdy,
I am looking to access the DSP's L2 SRAM in my application. If my understanding is correct, the L2 memory is 288KiB allocated as such:
288 KiB Total
- 32KiB reserved as SRAM
- 128KiB allocated as cache
- 128 KiB allocated as SRAM
The cache allocation is done in my Platform.xdc file, with something like this:
metaonly module Platform inherits xdc.platform.IPlatform { ... instance: ... /* * ======== l2Mode ======== * Define the amount of L2 RAM used for L2 Cache. * * Check the device documentation for valid values. */ config String l2Mode = "128k"; }
There is an issue, though. When I perform the build it appears that I am only getting access to the allocated 128KiB of SRAM, as opposed to the total 160KiB. This can be seen in the .OUT file, copied below:
name origin length used unused attr fill ---------------------- -------- --------- -------- -------- ---- -------- L2SRAM 00800000 00020000 00001a4a 0001e5b6 RW X
The length of the L2SRAM segment coincides with the 128KiB of SRAM. How do I go about increasing the size of the L2SRAM segment? As far as I can tell, it is not defined anywhere and as such am unable to change it.
Thank you in advance.