Troubleshooting¶
cobra Command Not Found¶
- Activate your virtual environment.
- Reinstall in editable mode:
Xyce Execution Fails¶
- Verify
Xyceis installed and inPATH. - Check your netlist compatibility.
- Confirm generated include/subcircuit files exist in the run output folder.
Component Mapping Errors¶
If COBRA reports missing model files for components:
- Ensure every parsed component name has an entry in
component_onnx_mapping. - Match exact instance names from the netlist (for example
X1,X2).
Frequency Range Errors¶
If goal range parsing fails:
- Use format similar to
125-135ghz. - Avoid malformed ranges like trailing separators.
ORCA Geometry Import Errors¶
- Ensure ORCA is installed in the same Python environment.
- Validate import path used in your script.
Palace Fine-Tuning Errors¶
- Verify Palace command is valid and executable.
- Confirm geometry/mesh prerequisites are available.
Large Runtime or Slow Progress¶
- Reduce
max_iterationsduring early debugging. - Narrow parameter search ranges.
- Start with fewer design goals, then add constraints incrementally.