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

acdlArtPrintIncludedNetlist

acdlArtPrintIncludedNetlist(
x_artOutfile_file_pointer 
t_filePath
) 
=> t_userSpecified

Description

Controls how an included netlist is included in the main netlist file. This function can be overridden by user settings. If user-override is not specified, the included netlist is copied without any modification. However, if both acdlPrintIncludedNetlist and acdlArtPrintIncludedNetlist are defined, acdlPrintIncludedNetlist is called. acdlArtPrintIncludedNetlist is preferred because the file pointer is not closed and re-initialized.

Arguments

x_artOutfile_file_pointer

An open file pointer to the main netlist.  

You can write to this pointer using the artFprintf SKILL function.

t_filePath

Path to the netlist to be included.

Value Returned

t_userSpecified

Value specified by the user.

Examples

;; (unless getd ... prevents multiple definition warning message.
(unless (getd 'acdlArtPrintIncludedNetlist)
  ;; The identity function, Copy the input to the output without modification. If you are overriding this function, you are likely doing some preprocessing or decoration in artFprintf().
  (define (acdlArtPrintIncludedNetlistBase fp filePath)
    (let ((inport (infile filePath))
          buffer)
      while( gets( buffer inport ) 
         (artFprintf fp "%s" buffer ) 
      )
  t
))


Return to top
 ⠀
X