This document records the stable-now contract for svlens metrics output.
The schema defines deterministic, quantitative guardrails for RTL complexity
based on backward transformation cones and repeated bit-lane normalization.
roots[]ordering:root_kindascending, thenroot_idascendingnormalization.groups[]ordering:signature,representative_width,multiplicityff_paths[]ordering:source_ff,dest_ff- Same input + same options => identical JSON output
version(schema version, e.g."1.1")tool_version(svlens version, e.g."0.3.2")topsummaryanalysisrootsff_pathsnormalizationunsupported
outputs_analyzedff_d_roots_analyzedcones_analyzedapproximate_conesunsupported_count
raw_transform_countnormalized_transform_countrepeated_lane_groupsff_to_ff_pathsmax_output_conemax_ffd_cone
root_idroot_kind(output|ff_d)raw_node_countlogic_depth_estnormalized_transform_countrepeated_lane_group_countsource_inputssource_ffsapproximate
source_ffdest_ffhas_comb_logiccomb_signal_countnormalized_comb_countsync_typepathapproximateprovenance_level(hint_only|partial_slice|provenance_backed)
enabledlane_min_widthgroups[*]signaturemultiplicityrepresentative_widthcollapsed_from
kindcount- optional
examples
| Level | Meaning |
|---|---|
hint_only |
Path derived from CDC FFEdge/fanin hints only; no provenance extraction performed |
partial_slice |
Some transforms extracted, but cone is incomplete due to unsupported constructs |
provenance_backed |
Full backward cone extracted with provenance-preserving transform graph |
- per-module aggregate scoring / CI threshold profiles
- full procedural semantics (general
always_combblocks beyond case/for)