ipgen.exe -o <location of the IP in your project> -ip <location of the ip in Radiant> -name <IP instance name> -cfg <location of the cfg file of the ip> -cfg_value <ID:Value> -p <DEVICE> -t <PACKAGE> -sp <PERFORMANCE> -a <ARCHITECTURE>
example for IP on Local:
MIPI_DPHY: ipgen.exe -o <proj_path>/<ip_module_name> -ip <radiant_install_path>/ip/lifcl/mipi_dphy -name test_mipi -cfg <proj_path>/<ip_module_name>/test_mipi.cfg -p LIFCL-17 -t UWG72 -sp 8_Low-Power_1.0V -a LIFCL
Note: The important part to perform the ip re-generation is to define the IP folder location from your project under the option -o. In this manner, it will update/overwrite all the necessary files including the cfg data.
Updating setting during IP re-generation example for IP on Local:
MIPI_DPHY: ipgen.exe -o C:/Users/wbasbas/Documents/Radiant/ipgen_test/test_mipi -ip C:/lscc/radiant/3.2/ip/lifcl/mipi_dphy -name test_mipi -cfg C:/Users/wbasbas/Documents/Radiant/ipgen_test/test_mipi/test_mipi.cfg -cfg_value INTF:CSI2_APP -p LIFCL-17 -t UWG72 -sp 8_Low-Power_1.0V -a LIFCL
Note: -cfg_value is use to modify the existing options for specific IP setting ID. The information of id and options can be located on the metadata.xml under the ip folder (for this example: <radiant_install_path>\ip\lifcl\mipi_dphy\metadata.xml)


example for IP on Server: DPHY_TX: ipgen.exe -o <proj_path>/<ip_module_name> -ip <RadiantIPLocal_path>/latticesemi.com_ip_dphy_tx_1.7.1 -name dphy_tx_1 -cfg <proj_path>/<ip_module_name>/dphy_tx_1.cfg -p LIFCL-17 -t UWG72 -sp 8_Low-Power_1.0V -a LIFCL
Updating setting during IP re-generation example for IP on Server:
DPHY_TX: ipgen.exe -o <proj_path>/<ip_module_name> -ip <RadiantIPLocal_path>/latticesemi.com_ip_dphy_tx_1.7.1 -name dphy_tx_1 -cfg <proj_path>/<ip_module_name>/dphy_tx_1.cfg -cfg_value TX_INTF:CSI2 -p LIFCL-17 -t UWG72 -sp 8_Low-Power_1.0V -a LIFCL
Note: The id and options for -cfg_value can be found on the metadata.xml file under the RadiantIPLocal folder path (example: <RadiantIPLocal_path>/latticesemi.com_ip_dphy_tx_1.7./metadata.xml).