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.
Does anyone know of a function to calculate the angle of an arc given 2 coordinates and the radius
or calculate the arc length
Either one would work out, but I've not been able to find such a function.
I know about axlDBGetLength but the problem is that my arc does not have it's own dbid since I'm traversing segments of shapes.
Thanks in advance
Try using these functions:
defun( DE_angleBetweenPtsWithRadius (pt2, pt1, r, cw), DE_radius2Angle(car(pt2) - car(pt1), cadr(pt2) - cadr(pt1), r) * if(cw, 1, -1))
defun( DE_circularArcLength (pt1, pt2, r), abs(0.017453 * r * DE_angleBetweenPtsWithRadius(pt1, pt2, r, nil)))
defun( DE_radius2Angle (x, y, r)
if(zerop(x) && zerop(y) then 0.0 else DE_Rad2deg(2 * asin(DE_Rndp(if(zerop(x), y / (2 * r * sin(atan2(y, x))), x / (2 * r * sin(atan2(x, y)))), 8))))
defun( DE_Rad2deg (radians) radians * 90.0 / asin(1))
defun( DE_Rndp (x, dec), "nx"), round(x * expt(10, dec)) / float(expt(10, dec)))
Note that, if you are using 16.6 you can use the new function axlRadToDeg.
Hopefully the parameters are self explanatory.
In reply to eDave:
That was a fast answer, thanks a lot for this.
I'll try them when I get back to work tomorrow morning :)
I'm using 16.6 and have to applause for the amount of new skill functions that I've wished for.
Brand new Excel integration, axlSetVariableFile, axlFormSetMouseActive and much more - can't wait to get started using them.
Especially the axlFormSetMouseActive where you can get the field the mouse is placed above in a form and then write help about that field to an info field.
Thanks for the tip on axlRadToDeg - I did not pay attention to that one :-)
Have a great day
This seems to work well so far, but just a minor note, theres a ) to much after "nx" :-)