3.6.2.2.3 set_custom_config_file

If you want to add advanced SmartHLS Tcl constraints that are not listed in the SmartHLS IDE constraints dialog you need to use a custom config file. Be careful not to modify the config.tcl constraints file directly, since config.tcl will be overwritten whenever you make changes in the SmartHLSIDE constraints dialog.

To add a custom config file:
  1. Open the SmartHLS Constraints Menu.
  2. Select Set custom config file from the dropdown and enter the Constraint Value as "custom_config.tcl".
  3. Click Add:
  4. Now click OK:

  5. Now in the Project Explorer, right click and select New > File:

  6. Enter the name of "custom_config.tcl". This should match the file name entered in the Set HLS Constraints previously. Click Finish: