Solution:
(A) For Propel 2023.1 or older version, the Tcl command "sbp_design config_ip" can be use.
Here is an example of how to use it.
Note: Using "-meta_loc" you can indicate the CFG settings or just insert the CFG file.
(A.1) If the user does not have CFG file, see example below:
sbp_design config_ip -vlnv {latticesemi.com:ip:sysmem0:2.0.0} -meta_loc {ADDR_DEPTH:16384,INIT_FILE: ./mem32.mem,INIT_MEM:true,MEMORY_TYPE:LRAM,PORT_COUNT:2}
(A.2) If the user has their own CFG file, see example below:
sbp_design config_ip -vlnv {latticesemi.com:ip:sysmem0:2.0.0} -meta_loc {./.lib/latticesemi.com/ip/sysmem0/2.1.0/sysmem0.cfg}
(B) For the Propel 2023.2 or later, the Tcl command is revised from sbp_design config_ip to sbp_config_ip. The information of the revised Tcl command is documented on the Propel User Guide as shown below.
Two examples are shown below in generating/re-generating the System Memory IP from Propel:
(B.1) If the user does not have CFG file, see example below:
% sbp_config_ip -vlnv {latticesemi.com:ip:sysmem0:2.1.0} -meta_vlnv {latticesemi.com:ip:system_memory:2.1.0} -cfg_value {ADDR_DEPTH:16384,INIT_FILE:../../Downloads/mem32.mem,INIT_MEM:true,MEMORY_TYPE:EBR,PORT_COUNT:2,REGMODE_S0:true,REGMODE_S1:true}
(B.2) If the user has their own CFG file, see example below:
% sbp_config_ip -vlnv {latticesemi.com:ip:sysmem0:2.1.0} -meta_vlnv {latticesemi.com:ip:system_memory:2.1.0} -cfg_value {./.lib/latticesemi.com/ip/sysmem0/2.1.0/sysmem0.cfg}