Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
AMS.pdf
Скачиваний:
70
Добавлен:
05.06.2015
Размер:
2.68 Mб
Скачать

Virtuoso AMS Environment User Guide

Quick-Start Tutorial

This script first removes any existing design compilation.(pak) files and then compiles the text files using twocompile and one compilevhdl scripts.

Notice the option -nowarn DLCRDB that is appended to the ncelab command. This option filters out warning messages about missing temporary libraries. The libraries are not needed for this tutorial.

2.When you are finished looking at the script, close the file.

3.Go to the digitalLib directory.

4.Use a viewing tool to examine the contents of the compile script, which is called by the runBehavioral script that you looked at in Step 1.

This compile script calls ncvhdl to compile the clock.vhd file and then calls ncvlog to compile the other text modules.

#!/bin/csh -f

ncvhdl -use5x clock.vhd

foreach i ($argv)

echo " Compiling $i " ncvlog -ams -use5x $i

end

5.When you are finished looking at the script, close the file.

6.Go up to the directory where your copy of the tutorial is located.

7.Type runBehavioral at the command line to run the runBehavioral script.

This script compiles the text modules, elaborates the design, and then opens the SimVision windows so you can simulate the design. You can safely ignore the warning messages about resolving modules during the elaboration step.

8.Exit from SimVision.

(The tutorial demonstrates how to use SimVision later.)

Running within the AMS Environment

Before you begin this part of the tutorial, be sure that you have followed the steps described in “Running from a Script” on page 27.

In this part of the tutorial, you use the AMS environment to netlist, compile, elaborate, and simulate the design.

April 2004

28

Product Version 5.3

Virtuoso AMS Environment User Guide

Quick-Start Tutorial

Opening the Command Interpreter Window

You use the Command Interpreter Window (CIW) to control the design session.

Type icms at the command line.

The CIW appears.

For more information on the CIW, see “Using the Command Interpreter Window” in

Cadence Design Framework II User Guide.

Opening the Schematic and Design Configuration

The tutorial design, at the highest level, consists of a schematic and a corresponding configuration. To open them,

1. In the CIW, choose Tools Library Manager.

April 2004

29

Product Version 5.3

Virtuoso AMS Environment User Guide

Quick-Start Tutorial

The Library Manager form appears.

2.In the Library column, click amslib to show all the cells in the amslib library.

3.In the Cell column, click top to show all the views in the top cell.

4.In the View column, double-click on config.

The Open Configuration or Top CellView form appears.

5.Turn on both Configuration and Top Cell View.

6.Click OK.

®

The hierarchy editor appears, displaying the top config view and the Virtuoso schematic editor appears, displaying the top schematic view.

April 2004

30

Product Version 5.3

Virtuoso AMS Environment User Guide

Quick-Start Tutorial

The top schematic is shown below:

April 2004

31

Product Version 5.3

Virtuoso AMS Environment User Guide

Quick-Start Tutorial

The top config view data is displayed in the Cadence hierarchy editor, as shown below:

Notice that analogLib is included in the Library List field. This library must be in the library list because one of the components in the library, vsource, is used in a text cellview.

7. In the View List field, add the viewdaconv_behav.

The added view contains the entity and architecture for the daconv cell. After this change, the View List field displays

schematic module vhdl_behavioral spectre daconv_behav

8.Choose View – Update (Needed), which updates the configuration. The daconv cell is bound to the daconv_behav view.

April 2004

32

Product Version 5.3

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]