Product Documentation
SpectreVerilog/UltraSimVerilog Migration to AMS Designer
Product Version IC23.1, June 2023

1


Setting Up the Migration Example

SpectreVerilog and UltraSimVerilog are not available for 64-bit platforms. Hence, if you are using a 64-bit platform, and have set the CDS_AUTO_64BIT environment variable to ALL, unset the environment variable if you are using SpectreVerilog or UltraSimVerilog.

Before the Spectre AMS Designer simulator, the major mixed-signal solutions on the market were SpectreVerilog and UltraSimVerilog. The AMS Designer simulator provides faster simulation speed, increased capacity, and enhanced features for handling more complicated mixed-signal designs with new technologies. More and more chip designers use Spectre AMS Designer for mixed-signal simulation and verification.

This migration example shows you how you would simulate a PLL design using UltraSimVerilog, SpectreVerilog, and, finally, AMS Designer using the same config view. You will learn about the OSS netlister, the ncverilog flow, using -v and -y command-line options, compiled Verilog-A, fastcross, and other AMS Designer features.

Use IC 6.1.3, MMSIM 6.2 or later, and IUS 6.11 or later for this example.

To set up the migration example, do the following in a terminal window:

  1. Make and change to a directory for the migration example:
    mkdir migrateToAMS
    cd migrateToAMS
  2. Copy the migration example files to this directory:
    cp -r $CDSHOME/tools/dfII/samples/tutorials/AMS/MigrateFromCBNToOSSN.tar.gz .
  3. Decompress the archive file:
    gunzip MigrateFromCBNToOSSN.tar.gz
    tar xf MigrateFromCBNToOSSN.tar
  4. Change to the following directory:
    cd MigrateFromCBNToOSSN
  5. Source the setup file:
    source SETUP
    The SETUP file sets the TUT_DIR environment variable to your current directory:
    setenv TUT_DIR `pwd`
  6. Start Cadence software:
    virtuoso &

See also:

Features of the Migration Example

The migration example is a PLL design that has

Testbench for the PLL Design

Here is the testbench schematic for the migration example (a PLL design).

Figure 1-1 Testbench Schematic for PLL Design

Inside the PLL_160MHZ Instance

Inside the I3 instance (PLL_160MHZ), the I23 instance (PLL_160MHZ_PDIV) outputs a 5 MHz reference signal for the loop. The I24 instance (PLL_160MHZ_MDIV) outputs a 160 MHz signal and a 5 MHz feedback signal for the PLL_FPD instance (I11).

Figure 1-2 Inside the I3 Instance

When the two PD input signals to I3 (see Figure 1-1) are out of sync, the PFD (PLL_PFD) generates corrective pulses (UP, DN) to adjust the charge pump output voltage (vCNTL) which controls the frequency of the VCO (PLL_VCO_320MHZ).

Figure 1-3 PFD Corrective Pulses, Charge Pump Output, VCO Input

Whenever the PLL is locked, the FBCLK and 5MHZ_CLK signals are in phase and the VCO control signal (vCNTL) is stable.


Return to top
 ⠀
X