Skip to content

feat(sv): hierarchical references in SV modules under a Veryl top #1899

Open

Description

@tignear

Follow-up to #1856 / #1893.

#1893 resolves SystemVerilog hierarchical references (IEEE 1800-2023 23.6, 23.8) in the SV specialization loop (schedule_sources_collecting in crates/celox-frontend-sv/src/lowering.rs). The external-hierarchy paths that elaborate SV modules beneath a Veryl top (prepare_external_hierarchy*) still call specialize_module with HierarchicalNames::default() and have no declarations-only fallback. An SV module in such a design that uses a hierarchical name is therefore rejected with unresolved hierarchical reference ...``.

Expected: the same resolution as in pure SV designs, for names that stay within the SV subtree, plus a defined answer (support or reject by name) for names that cross into Veryl instances.

Found in review of #1893.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions