02-19-2015 05:31 PM
I have a problem that the HLS generates 2 port output memory interface automaticlly.
Because the memory cannot be writen by 2 ports simultaneously,
I should prepare 2 memories for the ports and combine the data.
It is a strange process. How to avoid the 2 port memory output?
02-19-2015 05:38 PM
you can check the resource directive - use either pragma or tcl command but looks like you want to always do this so C pragma may be better.
***UG920 Chapter 4: High-Level Synthesis Reference Guide***
To specify which memory element in the library to use to implement an array, use the
set_directive_resource command. For example, this allows you to control whether
the array is implemented as a single or a dual-port RAM. This usage is important for arrays
on the top-level function interface, because the memory associated with the array
determines the ports in the RTL.
02-21-2015 08:20 PM