Guidelines for Maximum Operating Frequency
Maximum operating frequency (fmax) achieved by kernels largely depends on FPGA speed since most of the IPs should already be optimized . However, there might be some fmax loses depending on the BSP floorplan. For example, usually the number of cut-outs in the kernel region of BSP affects kernel fmax.
As illustrated in the following figure, to acquire the best base seed that yields the best average fmax:
- Perform a seed sweep on the base compilation instead of selecting the first base seed that meets the timing.
- Perform import compilation (by using few kernels from the example designs) on all the passing base seeds.
- Compute the average fmax for all base seeds.
- Select the base seed that yields the highest average fmax.
Figure 2. Identifying the Best Base Seed
Tip:
- To understand how fast the kernel can run without floorplan restrictions:
- Perform a flat compilation of the kernel and observe the fmax.
- Perform an import compilation on the same kernel and observe the fmax.
- Compare fmax results.
- Never compare kernel fmax from a base compilation with a flat or an import compilation. Kernel clock targets are relaxed during base compilation and hence, you will never obtain good results.
- Observe the kernel clock critical path in base or import compilation. If the critical path is crossing from the kernel to the static region in the floorplan, change the floorplan or run few more base seeds to avoid this critical path.