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

cphSbSaveSoftBlocks

cphSbSaveSoftBlocks(
g_cphId
t_fileName
[ ?mode t_fileMode ]
)
=> t / nil

Description

Saves soft block data to the specified floorplan property file.

Arguments

g_cphId

ID of the physical configuration cellview

t_fileName

Name of the floorplan property file in which soft block data needs to be stored

?mode t_fileMode

Mode in which the floorplan property file needs to be opened. Supported modes are:

  • "w" - Write mode: Writes the soft blocks data into the file. Any existing file with the same name will get overwritten by the data. This is the default option.
  • "a" - Append mode: Appends the soft blocks data to the existing file. Ensure that soft blocks have been generated from the same logical views, although they can have different physical configuration cellviews.
    This mode does not check for duplication of soft blocks data while appending the floorplan property file.

Value Returned

t

Soft block data was written to the specified floorplan property file.

nil

Write operation failed. Soft block data was not written to the specified floorplan property file.

Example

cphSbSaveSoftBlocks(cphId "softBlocks.txt")
cphSbSaveSoftBlocks(cphId "softBlocks.txt" ? mode "a")

Return to top
 ⠀
X