load_systemverilog
Elaborate local SystemVerilog RTL sources into the active design session, enabling hierarchical, post-elaboration design queries.
Instructions
Elaborate local SystemVerilog sources into the active design session.
Use this for SystemVerilog RTL; use load_vhdl for VHDL (beta), or
load_verilog with load_liberty/load_primitives for a
structural gate netlist. Requires at least files or flist and changes
the in-memory design session.
Anonymous lowered objects are addressable by #. defines are
preprocessor -D entries ("NAME" or "NAME=VALUE"). allow_unknown_designs=True
blackboxes any module still undefined instead of failing (e.g. undelivered
hard macros in a partly-open-source design). blackbox_multi_writer_memories
does the same for modules whose multi-writer memories naja cannot infer.
intent=True retains naja's in-engine SNL↔slang link for get_intent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "load_systemverilog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Top module name; omit to use najaeda's inferred top. | |
| files | No | Local SystemVerilog source file paths; optional when flist is provided. | |
| flist | No | Path to a simulator-style file list; optional when files are provided. | |
| intent | No | Retain the live SNL-to-slang link required by get_intent; uses more memory. | |
| defines | No | Preprocessor definitions as "NAME" or "NAME=VALUE" entries. | |
| keep_assigns | No | Preserve continuous assignments as explicit lowered objects. | |
| default_timescale | No | Fallback time scale for modules without an explicit time unit, e.g. 1ns/1ps; omit to use the frontend default. | |
| allow_unknown_designs | No | Black-box unresolved module definitions instead of failing elaboration. | |
| blackbox_multi_writer_memories | No | Black-box whole modules whose memories have unsupported multiple writers instead of failing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |