Cadence® system design and verification solutions, integrated under our System Development Suite, provide the simulation, acceleration, emulation, and management capabilities.
System Development Suite Related Products A-Z
Cadence® digital design and signoff solutions provide a fast path to design closure and better predictability, helping you meet your power, performance, and area (PPA) targets.
Full-Flow Digital Solution Related Products A-Z
Cadence® custom, analog, and RF design solutions can help you save time by automating many routine tasks, from block-level and mixed-signal simulation to routing and library characterization.
Overview Related Products A-Z
Driving efficiency and accuracy in advanced packaging, system planning, and multi-fabric interoperability, Cadence® package implementation products deliver the automation and accuracy.
Cadence® PCB design solutions enable shorter, more predictable design cycles with greater integration of component design and system-level simulation for a constraint-driven flow.
An open IP platform for you to customize your app-driven SoC design.
Comprehensive solutions and methodologies.
Helping you meet your broader business goals.
A global customer support infrastructure with around-the-clock help.
24/7 Support - Cadence Online Support
Locate the latest software updates, service request, technical documentation, solutions and more in your personalized environment.
Cadence offers various software services for download. This page describes our offerings, including the Allegro FREE Physical Viewer.
Get the most out of your investment in Cadence technologies through a wide range of training offerings.
This course combines our Allegro PCB Editor Basic Techniques, followed by Allegro PCB Editor Intermediate Techniques.
Virtuoso Analog Design Environment Verifier 16.7
Learn learn to perform requirements-driven analog verification using the Virtuoso ADE Verifier tool.
Exchange ideas, news, technical information, and best practices.
The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information.
It's not all about the technlogy. Here we exchange ideas on the Cadence Academic Network and other subjects of general interest.
Cadence is a leading provider of system design tools, software, IP, and services.
Hi all! I'm writting a skill to check at start point & end point of a cline if pin exist or not, if pin exist and pin's netname ="dummy", then assign that cline to that pin. AND , if the coordinate is in the restrict area (box_xy) then do nothing. But I got the problem, when I put the code to get restrict area, the code still run but the function axlSingleSelectPoint not accurately, otherwise, it's ok. Who can show me where's wrong? and how can I fix it?. ..............
; =====Get box xy, (default: leftdonwn- rightup)=====box_xy = axlEnterBox(?prompts list("First rectangle point, please...", "Second rectangle point, please..."))axlClearSelSet()loc1_x = xCoord(car(box_xy))loc1_y = yCoord(car(box_xy))loc2_x = xCoord(cadr(box_xy))loc2_y = yCoord(cadr(box_xy));=====process if user pick from any coner for making axlEnterBox()=====if(loc1_x < loc2_x && loc1_y < loc2_y then box1x = loc1_x box1y = loc1_y box2x = loc2_x box2y = loc2_yelseif(loc1_x < loc2_x && loc1_y > loc2_y then box1x = loc1_x box1y = loc2_y box2x = loc2_x box2y = loc1_yelseif(loc1_x > loc2_x && loc1_y < loc2_y then box1x = loc2_x box1y = loc1_y box2x = loc1_x box2y = loc2_yelse box1x = loc2_x box1y = loc2_y box2x = loc1_x box2y = loc1_y);enf if 1);end if 2);end if 3;=====Prepare =====axlSetFindFilter(?enabled '(noall pins) ?onButtons '(noall pins))axlClearSelSet()axlVisibleDesign(nil)axlVisibleUpdate(t)axlVisibleLayer("Pin/top" t)axlUIWUpdate(nil)axlClearSelSet();=====Main process=====foreach(clines allWiresInDesignnetname = clines->net->nameif(stringp(netname) thenwhen(nindex(netname, "__") ;=====get location xy at start cline & end cline=====cline_seg = clines->segments ;get all segment in a clinefirst_seg = car(cline_seg) ;get first segment last_seg = car(last(cline_seg)) ;get last segmentfirst_seg_xy = car(first_seg->startEnd)last_seg_xy = cadr(last_seg->startEnd) x1= xCoord(car(first_seg->startEnd)) y1= yCoord(car(first_seg->startEnd))x2= xCoord(lastelem(last_seg->startEnd))y2= yCoord(lastelem(last_seg->startEnd));===CHECK LOCATION X1:Y1 IF PIN EXIST OR NOT=====if(and(x1>box1x, x1<box2x, y1>box1y, y1<box2y) == nil thenpinselect = axlGetSelSet(axlSingleSelectPoint(x1:y1))axlClearSelSet()if( pinselect != nil then pinselect = car(pinselect)sym_name = pinselect->component->namepin_net_name = pinselect->net->namepin_number = pinselect->numberif(pin_net_name == "" then fprintf(writeOutFile, "%s %s\n", "FORM mini netlist ", netname) fprintf(writeOutFile, "%s %s.%s\n", "FORM mini pinname ", sym_name, pin_number) fprintf(writeOutFile, "next\n"));endif);end if pinselect==nil);end if;===CHECK LOCATION X2:Y2 IF PIN EXIST OR NOT=====if(and(x2>box1x, x2<box2x, y2>box1y, y2<box2y) == nil thenpinselect = axlGetSelSet(axlSingleSelectPoint(x2:y2))axlClearSelSet()if( pinselect != nil thenpinselect = car(pinselect)sym_name = pinselect->component->namepin_net_name = pinselect->net->namepin_number = pinselect->numberif(pin_net_name == "" then fprintf(writeOutFile, "%s %s\n", "FORM mini netlist ", netname) fprintf(writeOutFile, "%s %s.%s\n", "FORM mini pinname ", sym_name, pin_number) fprintf(writeOutFile, "next\n"));end if - (1-24) );end if pinselect==nil));end if );end when);end if stringp);end foreach via allWiresInDesign.........
I think your logic is reversed in the two lines:
if(and(x1>box1x, x1<box2x, y1>box1y, y1<box2y) == nil then
and if(and(x2>box1x, x2<box2x, y2>box1y, y2<box2y) == nil then
Should they have == nil at the end?
Also, I suggest you look at using min and max functions :
;=====process if user pick from any corner for making axlEnterBox()=====
box1x = min(loc1_x, loc2_x)
box1y = min(loc1_y, loc2_y)
box2x = max(loc1_x, loc2_x)
box2y = max(loc1_y, loc2_y)
In reply to eDave:
Thank for your advices, and I want to check at all position except for checking in restrict area, it's mean if a location having co-ordinate is in restrict area, skill will inorge it and check other position. so I think command "if(and(x1>box1x, x1<box2x, y1>box1y, y1<box2y) == nil" is right. But I don't know when I "only" put the function "axlEnterBox" in the code (all "IF" condition for checking positon in restrict area are skipped), axlSingleSelectPoint will not run exactly. Otherwise, my skill run OK. Could you please show me what's wrong in my code?.
In reply to luanvn81:
You need to thoroughly check your logic.
Try using "when" and "unless" instead of "if(a == b" and "if(a != b".
Don't forget that axlSingleSelectPoint depends on the trap size so will give arbitrary results if you are not careful.
Hi Dave! Sorry for announcement to you too late, but as your advice, the reason that my code didn't run exactly depend on trap size, and i have repaired it by function axlZoomToDbid. Once more, thank you very much.