lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.49k stars 742 forks source link

[doc] Self-reference register in hjson description #18253

Open marnovandermaas opened 1 year ago

marnovandermaas commented 1 year ago

Description

In the hjson files in the hw/ip/*/data/ directories, descriptions sometimes refer to other registers, but they may also reference themselves. Should we remove these or shall we support adding the link?

Example: https://github.com/lowRISC/opentitan/blob/319d32e45b1d72bb98990bdff83653a90410e9a5/hw/ip/spi_host/data/spi_host.hjson#L419

marnovandermaas commented 1 year ago

Updated this issue since it is already working for referencing other registers, but not for self references.