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 everybody! I'm writting a skill to count number of via of net in a list nets. before I show my problem, please see my code below:
;========Declare Subclasses==========subclasses = '( "VP24", "VP2" );========Check input file==========if(isFile("listnet.txt") thennetlist=nilinPort = infile( "listnet.txt" )when( inPortwhile( gets( nextline inPort )nextline = car(parseString(nextline, "\n"))nextline = car(parseString(nextline, " "))netlist=cons(concat(nextline),netlist));end whileclose( inPort )netlist=reverse(netlist);========== Write out file=============================================== writeOutFile = outfile( "./Count_via_report.csv" ) ;========== Format Intro for outfile ====================================intro="Net_name,"foreach(subclass, subclasses sprintf(intro,strcat(intro, " Layer_", subclass,"," )));end foreachfprintf(writeOutFile, "%s\n\n",intro);==========format what to do for each layer and caculateing them=============================foreach(subclass, subclasses axlVisibleDesign(nil)axlVisibleLayer(strcat("via class/", subclass) t)axlVisibleUpdate(t)axlSetFindFilter(?enabled '(noall vias) ?onButtons '(noall vias))allViasInSubclass = axlGetSelSet(axlAddSelectAll())axlClearSelSet();========Create for each net in each layer a symbol in order to count number vias of that net=========foreach(net, netlist sum_net = concat(net, "_", subclass) set(sum_net , nil) sum_net = setof(via, allViasInSubclass, via->net->name == get_pname(net)));end foreach net);end foreach subclass;===========Format output data for outfile =============================foreach(net, netlistline = "" foreach(subclass, subclasses sum_net = concat(net, "_", subclass) sprintf(line, "%-30s, %-6L",line, length(eval(sum_net)) ) );end foreach subclassfprintf(writeOutFile, "%s %s\n", net, line));end foreach net of netlistfprintf(writeOutFile "END OF FILE")close(writeOutFile)........................
my problem is: When i get number vias for each net by command "setof(...... ) " , sum_net is a list and having values in it. But when I recall them to display in output file , It become a symbol.
How can i fix it? Please help me.
A few things to try:
It looks like "net" is just text whereas get_pname() is looking for a symbol. This may be causing the error.Try: sum_net = setof(via, allViasInSubclass, via->net->name == net)Then you can use length(sum_net) to get the number of vias.
Notes: It looks like you'll only get the vias from the last subclass in subclasses. Check your loops and consider how you want to get this information to the output data section. Also, your output data section will probably need some changes.
Hope this helps.
In reply to Randy R:
Hi Randy R!
Thank for your reply, I don't know why but when I replace command setof(....) by below code, my skill works OK.
here is my replace code :
foreach(net, netlist sumnet = concat(net, "_", subclass) set(sumnet, nil) foreach(via allViasInSubclass when(via->net->name == get_pname(net) set(sumnet, cons(via, eval(sumnet))) );end when ); end foreach via);end foreach net
my output code still works without problems, I only want to try to use command setof for this. Who can help me fix it ?