Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

vmsUpdateCellViews

vmsUpdateCellViews(
[ ?lib t_lib ]
[ ?cell t_cell ]
[ ?view t_view ]
[ ?viewt t_viewType ]
)
=> t / nil 

Description

Updates AMS Designer information with the current state of verilog, systemVerilog, veriloga, verilogams and vhdl text views. You might use this function, for example, when you have updated a Verilog-AMS source file outside of the AMS Designer environment. You might also use it when you receive a Verilog-AMS library in a single source file, bring it into the Library.Cell:View structure using xmvlog -use5x, and then need to prepare the library for use in the AMS Designer environment.

If you run this function without any arguments, a pop-up appears asking for lib/cell/view and viewType information.

Argument

?lib t_lib

A string, which is the name of a library or a list of library names to look in for cellviews to update. If this argument is not specified (with just "") or is specified as nil, all libraries defined in the cds.lib file are searched.

?cell t_cell

A string, which is the name of a cell or a list of cell names to be searched for update in the libraries. If this argument is not specified (with just "") or is specified as nil, all cells are searched.

?view t_view

A string, which is the name of a cellview or a list of cellview names to be searched for update. If this argument is not specified (with just "") or is specified as nil, all views are searched.

?viewt t_viewType

The type of view that you want to update.

Valid values:

text.ahdl

Analog HDL text view

text.veriloga

Verilog-A text view

VHDLAMSText

VHDL-AMS text view

vhdl

VHDL text view

text.v

Verilog text view

VerilogAMSText

Verilog-AMS text view

systemVerilogText

SystemVerilog text view

Value Returned

t

The function runs successfully.

nil

Returns nil when:

  • The function runs unsuccessfully
  • The individual shadow generation results of any of the views return nil.
  • The view is of an unsupported type.
  • The source file corresponding to a cellview is read-only.

Example

This example updates the specified text cellview.

vmsUpdateCellViews(?lib "myLib" ?cell "myCell" ?view "verilogAMS" ?viewt "VerilogAMSText" )

The next example updates verilogAMS views in all the cells in the myLib library.

vmsUpdateCellViews(?lib "myLib" ?view "verilogAMS" ?viewt "VerilogAMSText" )

Return to top
 ⠀
X