I wrote a simple Allegro SKILL check routine shown below: nets) net_cnt++ foreach(branch (net->branches) foreach(child (branch->children) if((child->objType) then if(((child->objType) == "pin") then (Fp = car(child->functionPins)) when((Fp->use == "NC") err_cnt++ (SubClass = cadr(parseString(car(child->startEnd) "/"))) (Class = upperCase(sprintf(nil "DRC ERROR CLASS/%s" SubClass))) (SubClass = sprintf(nil "NC_pin on %s" net->name)) (axlDBCreateExternalDRC SubClass (child->xy) Class child nil nil) ) ) ) ) ) ) (axlMsgPut "%d nets processed, %d DRC flags added" net_cnt err_cnt) ) ) >>>> Below is the journal file entry when running it: \i (00:00:29) skill Check_Nc_Pins \t (00:00:29) 565 nets processed, 5 DRC flags added (00:00:29) t \i (00:00:46) browse drcs
↧