Product Documentation
Virtuoso MultiTech Framework User Guide
Product Version IC23.1, November 2023

vmtcsvCreateComponentCellViewsFromCsv

vmtcsvCreateComponentCellViewsFromCsv(
t_templateLibName 
t_templateCellName
t_footPrintLibName
t_csvFileName
x_cdfParamNameLineNumber
t_destLibName 
t_destCellName
[?ignoreLineNumbers t_ignoreLineNumbers] 
[?ignoreColumnNumbers t_ignoreColumnNumbers] 
[?cdfParamPromptLineNumber x_cdfParamPromptLineNumber] 
[?partNameToImport t_partNameToImport]
[?termMap t_termMap] 
[?termOrder t_termOrder] 
[?paramMap t_paramMap] 
[?sparamModel g_sparamModel] 
[?spiceModel g_spiceModel]
[?overwriteSymbol g_overwriteSymbol] 
[?mode t_mode] 
[?footPrintViewName t_footPrintViewName] 
[?draDir t_draDir] 
[?pinNameToNumberFileName t_pinNameToNumberFileName]
[?class t_class] 
[?sipFileName t_sipFileName]
)
=> t / nil

Description

Imports a CSV file and creates CDF parameters for the column values in the CSV file and symbol, TILP, and other simulation views.

Arguments

t_templateLibName

The template library name from where the symbol and other simulation views with aesthetics are copied.

t_templateCellName

The template cell name in the template library from where the symbol and other simulation views with aesthetics are copied.

t_footPrintLibName

The name of the library that contains the footprint symbols. This is specified to check if footprintCellName is available.

t_csvFileName

The CSV file to be processed.

x_cdfParamNameLineNumber

The line number of the CSV file that is treated as the header row. You can specify only one line number.

t_destLibName

The name of the library where the component cellviews need to be created. If the library does not exist, it is created automatically.

t_destCellName

The name of the cell in t_destLibName, where the component cellviews are created.

?ignoreLineNumbers t_ignoreLineNumbers

A space- or comma-separated string of line numbers that are ignored. The default value is "".

?ignoreColumnNumbers t_ignoreColumnNumbers

A space- or comma-separated string of column numbers that are ignored. The default value is "".

?cdfParamPromptLineNumber x_cdfParamPromptLineNumber

The line number of the CSV file, which is considered as a prompt for CDF properties. If not specified, the header is considered as the prompt. Only one line number can be specified. The default value is -1.

?partNameToImport t_partNameToImport

The PART column values to be copied. If this argument is specified, only the rows that have the PART column values matching the t_partNameToImport are copied to the processed CSV file. The default value is "".

?termMap t_termMap

The term mapping for the terminals. For example, if a symbol has terminals as PLUS and MINUS and you want to update them to A and B, specify the term mapping as "PLUS A MINUS B". The default value is "".

?termOrder t_termOrder

The order of terminals. The default value is "".

?paramMap t_paramMap

The mapped name for each column. The default value is "".

?sparamModel g_sparamModel

Specifies whether the sparamModel view should be created. The default value is t.

?spiceModel g_spiceModel

Specifies whether the spiceModel view should be created. The default value is t.

?overwriteSymbol g_overwriteSymbol

Specifies whether the existing symbol and simulation views can be overwritten. The default value is nil.

?mode t_mode

The mode in which the CSV file is updated. If the value of this argument is a, the existing CSV file is opened in append mode and data is added to the end of the file. The header data of the existing CSV file and csvFileName must match. If the value of this argument is w, the existing CSV file is overwritten. The default value is w.

?footPrintViewName t_footPrintViewName

The name of the footprint view. The default value is base.

?draDir t_draDir

The directory containing the DRA files. The default value is "".

?pinNameToNumberFileName t_pinNameToNumberFileName

The file that contains the mapping information between pin names and numbers. The default value is "".

?class t_class

The placement class of the compDef object to be created. The default value is DISCRETE.

?sipFileName t_sipFileName

The name of the SiP file used in the Virtuoso Multi-Technology Solution. The default value is "".

Value Returned

t

CSV import is successful.

nil

CSV import failed.

Example

vmtcsvCreateComponentCellViewsFromCsv("sipLibTemplate" "ind" "jedecLib1" "./ind_jedec_mojito.csv" 1 "testlib9" "ind")

Copies the symbol and simulation views from sipLibTemplate/ind to testlib9/ind and creates the part.csv file in testlib9/ind along with the CDF parameters.

Related Topic

Variant Definitions in CSV Files


Return to top
 ⠀
X