Product Documentation
Spectre AMS Designer and Xcelium Simulator Mixed-Signal User Guide
Product Version 22.09, September 2022

Cloning of Replicated Modules

In the monolithic elaboration flow of Xcelium, the entire design hierarchy is elaborated. This leads to repetitive work for designs that have a high replication factor.

The cloning enhancement improves elaboration performance in designs where a module in the design hierarchy is instantiated many times. Cloning the replicated module ensures that only one instance of the replicated module is elaborated in the form of a snapshot, and the same snapshot is then cloned to fill in for other instances. Therefore, the tool avoids elaborating repetitive instances of the same module.

In mixed-signal designs, you can clone a replicated module using the following two command-line options:

The following are some limitations with the cloning of modules:

Examples

The following is an example of a manual instance replication using the -autoreplicated_top option, where the module driver1 has been instantiated three times.

xrun top.sv -rnm_tech -autoreplicated_top module top;

import cds_rnm_pkg::*;
  wrealsum w;
  driver1 d1(w);
  driver1 d2(w);
  driver1 d3(w);
endmodule

// primary
module driver1 (dr_1);
import cds_rnm_pkg::*;
  inout dr_1;
  wire dr_1;
endmodule

The following is an example of a for-loop construct replication using the -autoreplicated_top option, where the module items have been instantiated multiple times.

xrun top.sv -rnm_tech -autoreplicated_top

import cds_rnm_pkg::*;
module top();
  wrealsum a;
  genvar i;
  for(i=0; i<31;i++)
    mid x1_0(a);
endmodule

module mid(inout clk);
  wire clk;
endmodule
Related Topics



 ⠀
X