Skip to content

Omit container name from child identifiers (name-prefix: false) #84

Description

@aranzaba

Purpose

x-hdl: name-prefix: false lets a block, repeat, or submap group addresses without putting its own name into generated HDL, doc, or C identifiers. Unlike block-prefix / reg-prefix, it is not inherited — it only applies to the node where you set it.

Why it’s needed

Some blocks exist only for layout/organization. Their names should not pollute signal/register names (e.g. you want ctrl, not grouping_blk_ctrl).

Example

- block:
    name: grouping_blk
    x-hdl:
      name-prefix: false
    children:
    - reg:
        name: ctrl
        access: rw
        width: 32
Default With name-prefix: false
grouping_blk_ctrl ctrl

Additional fixes

Updated doc goldens to match intentional generator changes:

  • HTML summary links only on REG rows (removed dead BLOCK/SUBMAP/MEMORY links)
  • Repeat containers labeled REPEAT instead of BLOCK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions