najaeda documentation
najaeda is the Python interface to Naja’s structured netlist model.
It is designed for scripts and tools that load Verilog, elaborate
SystemVerilog RTL, browse hierarchy and connectivity, compute design metrics,
and make controlled ECO-style edits.
The package has two Python API levels:
najaeda.netlistis the recommended public API. It wraps the native SNL objects with Pythonic, hierarchy-aware classes such asnajaeda.netlist.Instance,najaeda.netlist.Net, andnajaeda.netlist.Term.najaeda.najais the raw compiled extension module. It exposes the underlying SNL objects almost directly and is intended for experts, debugging, and features that have not yet been wrapped bynajaeda.netlist.
Most users should start with the high-level API and drop to the raw API only
when they need exact SNL semantics or access to a native feature not yet
available through najaeda.netlist.
User guide:
API reference:
- High-Level API Reference
AttributeEquipotentialInstanceNetSourceRangeSystemVerilogConfigTermVerilogConfigVerilogDumpConfigapply_constant_propagation()apply_dle()consistent_hash()create_top()dump_naja_if()get_instance_by_path()get_max_fanout()get_max_logic_level()get_model_name()get_primitives_library()get_snl_instance_from_id_list()get_snl_path_from_id_list()get_snl_term_for_ids_with_path()get_top()load_liberty()load_naja_if()load_primitives()load_primitives_from_file()load_system_verilog()load_verilog()reset()
- Expert Raw API