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.
In the rodCreatePath function, it contains subrectangle arguments. I tried to write a program to make a path with variable-number of subrectangles shown as below:
for(i 0 cnt_num-1list(?layer buildCnts_info->layer3?width buildCnts_info->width3?length buildCnts_info->length3?endOffset buildCnts_info->offset?sep buildCnts_info->sep+(buildCnts_info->width3)*i?justification "center"?space buildCnts_info->sp) ; end list);end for) ;end of subRect lists
But when I run the procedure ,there is always error "The last argument of subrectangle can only be a list".
I don't know how to solve this problem, or maybe I should try to use rodCreateRect instead.
I'd really appreciated if someone could help me on this problem.
The return value of the for loop is t. Thus, it is as if you are passing the following to subRect:
?subRect list( t)
You will need to build your list of subRectangles prior to calling the rodCreatePath routine:
subRectList = nilfor(i 0 cnt_num-1 subRectList = cons(list(?layer ...?space...) subRectList))
In reply to dmay:
I added subRectList to my procedure, but there are some errors and a warning.
*WARNING* Cancelling function, exceeds nestability limit of 5. (It is werid that when I re-run the procedure without editting my program, this warning disappeared. What does this warning mean?)
*Error* fprintf/sprintf : format spec. incompatible with data ((?layer "Contact" ?width 0.36 ?length...) (?layer "Contact" ?width 0.36 ?length...)
Does this error indicate that I misused the fprintf/sprintf functions? Indeed, I printed some results to test the program, but I've already comment them out with semicolon after this print error, however, this action did not solve the problem.
*Error* load, error while loading file -"*loadstring"
"loadstring"? what doed this variable mean?
Many thanks in advance.
In reply to Renee:
Since you didn't send any code, I can only comment on what the error messages mean.
The warning about the nestability limit of 5 is related to doing interactive functions in your layout window. For example, if you begin creating a rectangle in Virtuoso and have started the command but not finished it, you are in the middle of an "enterFunction". If, before you finish the rectangle, you start a ruler, then you have just "nested" two enter functions. Cadence has a setting where you can change the number of levels of nestability to be greater than five, but this is probably not what you need (it is on the CIW->Options->User Preferences form). What I suspect is happening is that you are creating an enterFunction to call your code for drawing your path with your variable number of sub rectangles. My guess is that your "enterPath" (or some enterFunction) is in the middle of a loop and thus causing your nesting problem. Move it out of the loop to solve the problem.
I can't explain why you have an fprintf/sprintf error when you claim that line is commented out. However, if you are using one of the printf commands and you want to print out a list, you need to use the format spec %L rather than %s. This will allow you to print out a list. If it is for debugging purposes, you can always just use println(myvar).
I don't know why you are getting the loadstring error either. It is likely that there is a syntax error in the skill code that you are loading that is causing this. What you should do is turn on some debugging features that will allow you to get more details about your errors. You can enable a deeper stack trace that shows you where your failure was and you can also see the values of variables when the failure happens.
sstatus(stacktraceDump t)sstatus(stacktrace 10)
I hope this helps.
I found where I was wrong.
I built the subRectList the way you told me, but when it is referenced in the ?subRect argument, I wrote the code as below:
not ?subRect subRectList
I checked the ROD user guide, and found out that in this ?subRect argument, the format of list-of-lists is required, which is already realized within subRectList.
Thus when I used list(subRectList), the form looked like list-of-list-of-lists. But I am confused this format caused fprintf/sprintf problem, or maybe it was just imcompatible the required format of "list-of-list".
By the way, the debugging commands are really helpful.
Thank you very much!