pcUserGenerateInstancesOfMaster
pcUserGenerateInstancesOfMaster(d_masterCV l_instanceList t_tag p_port) =>t / nil
Description
A user-defined procedure called by the compiler for every master Pcell in a master Pcell. The compiler calls the procedure before it generates code for instances (but not arrays) for the master. The procedure is normally used to generate code to switch masters.
Arguments
|
List of database IDs for all instances of d_masterCV in the master Pcell. |
|
|
Name of the master that can be used in SKILL code for placing instances of the master. |
|
Value Returned
Examples
procedure( pcUserGenerateInstancesOfMaster(master instances tag port )
if( master~>cellName == \"userSpecialNand\" then
; switch master to generic one
fprintf(port %s = dbOpenCellViewByType(pcLib \"nand\" \"%s\")\n"
tag master~>viewName)
)
; always want code for instances to be generated by
; compiler
nil
)
Replaces instances of userSpecialNand cell with instances of nand cell.
Return to top