Quantcast
Viewing all articles
Browse latest Browse all 33813

RE: Avoid/Blacklist model instance from PDK

Now, its working. I was missing a backtick " ' " at " ?checkCB 'checkHWeCheck" and I had to rearrange the functions. Also I removed the let() for simplicity. Here is the working code: defun(checkHWeCheck (cv ruleObject) foreach(inst cv~>instances schReportCheckFailure( ?object inst ?checkRule ruleObject ?short "CntDFM" ?message sprintf(nil "DFM options not to set in %s (%s)" inst->name inst->cellName ) ) ;schReport ) ;foreach ) ; defun /*************************************************************** * * * abRegExampleSchematicCheckNew([?customerName "Customer"]) * * * * PUBLIC GLOBAL function used to register the new check group * * and any specific check - in this case an example of a naming * * convention. * * * ***************************************************************/ defun(abRegExampleSchematicCheckNew (@optional (customerName "CNTchecks")) ;---------------------------------------------------------------- ; This registers a new tab on Check->Rules Setup ;---------------------------------------------------------------- schRegisterCheckGroup( ?name concat(customerName) ?title customerName ?description strcat(customerName " checks") ) ;---------------------------------------------------------------- ; This registers the specific rule and default severity ;---------------------------------------------------------------- schRegisterCheckRule( ?title "My HWE check" ?name 'myhweCheck ?groupName concat(customerName) ?severity 'error ?checkCB 'checkHWeCheck ) ) abRegExampleSchematicCheckNew() /*************************************************************** * * * checkComponentsInCategory (cv libName categName severity) * * * * Private function to check for any components which * * are in a category of the PDK intended not to be used. * * * ***************************************************************/Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 33813

Trending Articles