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.
I am running Ocean script from the unix terminal. I have several for loops inside so that I can perform multiple runs. If i have a loop that changes some variables (say from 1 to 1000), then after 300 runs, the script stops with "St9bad_alloc" error. How should I debug this?
You probably should take note of the Forum Guidelines before posting, because otherwise I can only give a very general suggestion.
It might be that you're running out of memory due to loading lots of simulation results - but I have no way of telling without seeing your OCEAN script and without knowing the version you're using. If you check the process to see if it's near the 32 bit limit (a bit less than 4Gbytes) in IC5141 - could be run 64 bit if in IC614 or later. It may be the problem goes away with a later hotfix or a later version - who knows? As I said, I'm having to guess.
Perhaps if you provide this somebody else can answer (I'm away for a couple of weeks).
In reply to Andrew Beckett:
Hi Andrew & Team,
As per your suggestion, I am attaching here more details about my cadence version and the OCEAN script that I am using. I have also listed my problem below again. Please let me know if I can provide any more details that would help debug this issue.
VERSION INFO: IC5141ISR0624
SubVersion: 220.127.116.110.6.143 (32-bit address)
PROBLEM: When i run this script, it stops with the following error after around 305 runs. And depending on how many equations I compute, it stops at different runs. The more the equations, it stops earlier.
*Error* Exception: St9bad_alloc - nil
*Error* load: error while loading file - "kumar.ocn"
envSetVal("spectre.envOpts" "controlMode" 'string "batch")
designFile = "**/netlist"
resultsDirect = "**/spectre/schematic"
oceanScrptFile = "**/kumar.ocn"
dataFile = "**/kumar.dat"
code_length = 500
loop_count = code_length
step = 0
simulator( 'spectre )
design( designFile )
resultsDir( resultsDirect )
modelFile('("Model File Path Defined Here"))
for(NOS 1 code_length
RIN = 500 - step
desVar( "R1" 255)
desVar( "R2" 255)
desVar( "R3" 63)
desVar( "R4" 255)
desVar( "RINS" RIN)
** I HAVE FEW MORE VARIABLES THAT ARE SET TO CONSTANT VALUE **
step = step + 1
loop_count = loop_count - 1
analysis('sp ?ports list("/PORT0" "/PORT1") ?start "10M" ?stop "100M"
?dec "40" ?values list("50M") ?donoise "yes" ?oprobe "/PORT1"
?iprobe "/PORT0" )
analysis('dc ?saveOppoint t )
option( 'vabstol "1e-8" 'reltol "1e-5")
temp( 27 )
**MY EQUATIONS **
Gain_10M = value(db10(gt(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp"))) 10000000)
** I HAVE FEW MORE EQUATIONS AT DIFFERENT FREQUENCY **
dfKey = outfile(dataFile "a")
fprintf(dfKey "| %-5.3d | %-5.3d | %-5.3d | %-5.3d | %-5.3d | %-5.3f | %-5.3f | %-5.3f | %-5.3f |\n"
RINS R1 R2 R3 R4 Gain_10M Gain_15M Gain_20M Gain_30M)
Regards & Thanks