DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 5/27/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.6.1. Reading the Added Latency Value for an IP Block


Select the block and type the following command:
get_param(gcb, 'latency')
You can also use this command in an M-script. For example when you want to use the returned latency value to balance delays with external circuitry.
Note: If you use an M-script to get this parameter and set latency elsewhere in your design, by the time it updates and sets on the IP block, it is too late to initialize the delays elsewhere. You must run your design twice after any changes to make sure that you have the correct latency. If you are scripting the whole flow, your must run once with end time 0, and then run again immediately with the desired simulation end time.