3.5.3.2.1 Local Memory

SmartHLS uses points-to analysis to determine which memories are used by which functions. If a memory is determined to be used by a single function, where the function is to be compiled to hardware, that array is implemented as a local memory. A local memory is created and connected directly inside the module that accesses it.

The read latency of local memories are determined by 3.6.2.4.3 ENABLE_AUTOMATIC_MEMORY_LATENCY_SETTING on default setting. The local memory read latency can be changed with the3.6.2.2.6 set_operation_latencyTcl parameter.