The ERROR (ADE-6029) during netlisting in Cadence ADE-XL typically occurs when parameter sweeps on pcells trigger unhandled callback errors. This issue stems from how ADE-XL manages parameter sweeps and pcell initialization:
Root Cause
- PCell Parameter Sweep Limitations
ADE-XL struggles with parameters that alter a pcell's schematic structure (e.g., resistor segments). Sweeping such parameters requires regenerating the netlist for each point, which ADE-XL does not support natively[1][2].
- Callback Initialization Failure
The error eval: unbound variable - ATS_CB_VALUES indicates the callback function (e.g., ats130resCB) lacks proper initialization. ADE-XL’s parameter sweep process skips calling formInitProc, which initializes critical variables for the callback[1][3].
Workaround
To resolve this, add the following code to your .cdsinit file to force initialization of the formInitProc before callbacks execute:
; Trigger formInitProc before parameter callbacks
defineParamCheckTrigger()
let((cellView geGetEditCellView())
(libName geGetEditLibName())
(cellName geGetEditCellName())
(viewName geGetEditViewName()))
when (axlGetParamCheckTrigger() == nil
axlSetParamCheckTrigger(
proc((paramName)
; Check if formInitProc exists and call it
when (axlGetFormInitProc() != nil
axlGetFormInitProc()
)
t
)
)
)
)
defineParamCheckTrigger()
This ensures the formInitProc initializes variables required by the callback before parameter sweeps[1][3].
Additional Considerations
- Parameter Type: Avoid sweeping parameters that change schematic connectivity. For non-structural parameters (e.g., resistor length), the workaround may still be necessary if callbacks depend on initialization[1][2].
- PDK Compatibility: Verify that your PDK’s pcell code properly handles parameter sweeps. Some PDKs require custom initialization logic[3][4].
- Alternative Approaches: For structural parameters, consider using ADE-L or other tools that support dynamic netlist regeneration[1][2].
If the error persists, contact Cadence support to confirm whether the parameter sweep is fundamentally unsupported for your pcell type[1][2].