CoolFace
Apppublic

gofeco/support

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
api.replace_sub_module_svf.txt23 linesDownload Raw Back to src_en
1<h3 id='___replace_sub_module_svf'>replace_sub_module_svf</h3>2<pre>Replace sub-module SVF in the design by a new re-synthesized sub-module SVF file content3<b>Usage:</b> replace_sub_module_svf($new_top_design_svf);4$new_top_design_svf: The replaced and new top level full SVF file to be written out5 6<b>Examples:</b>7 8#1. Replace sub-module 'mem_controller', 'ahb_arb' hierarchically in netlist and SVF, replace 'mem_ahb_top' module only,9    and write out to a new full SVF file and a new netlist10 11read_library("tsmc.lib");12read_svf("-imp", "top_ref.svf");13read_design("-imp", "top_ref.gv");14read_sub_module_svf("new_mem_controller.svf", "-module", "mem_controller");15read_sub_module_svf("new_ahb_arb.svf", "-module", "ahb_arb");16read_sub_module_netlist("new_mem_controller.gv", "-module", "mem_controller");17read_sub_module_netlist("new_ahb_arb.gv", "-module", "ahb_arb");18read_sub_module_netlist("new_mem_ahb_top.v", "-module", "mem_ahb_top", "-sub_only"); # This module is parent module with instantiation only19 20replace_sub_module_netlist("new_top_ref.gv"); # Run netlist replacement first 21replace_sub_module_svf("new_top_ref.svf");    # Then SVF replacement22 23</pre>