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
|
An open file pointer to the main netlist.
You can write to this pointer using the |
|
Value Returned
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